Why isn't this a good example of Test Driven Development?
Posted: Fri Feb 08, 2008 10:09 am
I'm taking my first steps into Unit Testing and the like so I've just been reading up on some of the recommended links here and doing some simple tutorials. The following linked tutorial is in C# but ignore that, its the principles I'm interested in.
http://www.nunit.org/index.php?p=quickStart&r=2.4.6
The introduction says "it's been pointed out that this isn't a good example of Test-Driven Development". Can someone tell me what's up with it, cos it fails to follow up on that statement. I have been through this Quick Start and think I've started to understand what TDD is all about but I worry I'm going to get it all wrong if I start writing my own basic tests based on what I did here!
http://www.nunit.org/index.php?p=quickStart&r=2.4.6
The introduction says "it's been pointed out that this isn't a good example of Test-Driven Development". Can someone tell me what's up with it, cos it fails to follow up on that statement. I have been through this Quick Start and think I've started to understand what TDD is all about but I worry I'm going to get it all wrong if I start writing my own basic tests based on what I did here!