Softwarefun
Fun in Softwareland
Sea Wind Nature Wind Night Wind

Theme Option

  • Home Page Home
  • About
Subscibe to RSS Feed

DevDays 2009 day 1 TDD and S.O.L.I.D

Uncategorized Add comments

A small introduction for these posts you can find here. My third session was a wildcard session by Dennis Doomen on TDD and S.O.L.I.D. Even though the room wasn’t on the map and the session wasn’t on the session overview the room was packed.

People who didn’t know what inheritance is, were asked to leave.

Dennis uses a definition by Michael Feathers to define quality. You must be able to write a unit test of your code within five minutes. There are multiple principles you can use, Dennis is going to focus on some of them:

  • TDD
  • S.O.L.I.D

TDD is a design process, tests are your first users, tests can be documentation. If TDD hurts you are doing it wrong.

For S.O.L.I.D I say read the book by Uncle Bob Martin. Dennis gives an introduction.

In the demo Dennis an aaa template for creating unit tests.( Arrange, Act, Assert) For naming he follows a Should_When naming convention. During the demo, Resharper and RhinoMocks prove their usefulness. Make unit tests intention revealing.

An extra tip from Dennis, it is possible to decorate your unit tests with the workitem attribute, this will couple the unit test with a workitem in TFS.

The samples are posted on Dennis’s blog.

It was a nice session with enough interaction. I would like to see this talk held in a room full of none believers though but then with enough time to discuss. For a nice simple introduction to S.O.L.I.D watch the dimecast screencasts.

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

May 29th, 2009 |

One Response to “DevDays 2009 day 1 TDD and S.O.L.I.D”

  1. Blog » Blog Archive » DevDays 2009 Introduction
    May 29th, 2009 at 2:53 am

    [...] TDD and S.O.L.I.D [...]


Leave a Reply

  • Pages

    • About
  •  

    September 2010
    M T W T F S S
    « Nov    
     12345
    6789101112
    13141516171819
    20212223242526
    27282930  
  • Archives

    • November 2009
    • October 2009
    • May 2009
    • February 2009
    • December 2008
    • November 2008
    • March 2008
  • Tags

    Architecture blogging C# Conference Development Devnology Domain specific languages Express Editions links MVC SharpDevelop Twitter
  • Blogroll

    • Clemens Reijnen
    • CodeBetter
    • InfoQ
    • Medelt Siebenge
    • Open Space Code
    • Sidarok
    • StackOverflow
  • MyBlogLog

  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
Get Adobe Flash playerPlugin by wpburn.com wordpress themes
Copyright © 2010 Softwarefun All Rights Reserved
XHTML CSS Log in
Wp Theme by i Software Reviews
Proudly Powered by Wordpress