TDD Chronicle

by Jesse 6. October 2009 14:14

I just started a new feature and I've seen a lot of questions surrounding "how do I _START_ with tdd?" because, well, sometimes its not straight forward.  So this will be a hot and loose blog post full of screw ups and how it all plays out.  No really, if it don't work the first time ...theeennn it doesn't work.  Anyway, here we go.

My first thought was break out notepad, write out what it should do and how I think it should work.  Here's what I wrote ...

Scheduling Service

When given a schedule and a room
 adding a list of events to that room should occur

and I stopped.  There's more than one type of schedule -- say the user does a one off, and then does a list of 50 (something that recurs) ... so already I need to go back and change stuff as such and had to stop myself again More...

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Methods

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen

About the author

Like the description says, at my core, I'm a scientist and engineer.  I came from humble beginnings on a 486DX2 Packard Hell playing doom2 on IPX to in a small time retail shop and got into hardware (ISO layers FTW!) and it was all downhill from there.  I'm infinitely curious about almost everything and always wanting to know.

According to personality tests (real ones) I classify under "Rational" more specifically, a Fieldmarshal.  I think there's something to that.

Some of the stuff I'm currently into/researching...

Sitefinity

Ninject

Subsonic 

Currently working on ...
i did the hundred


and some extra stuff

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's, their brother, their dog, cat, ferret nor gold fish's view in anyway.  At all.  Ever.

© Copyright 2007-2009