How not to do TDD
Posted by: ISerializable,
on 28 Jul 2011 |
View original | Bookmarked: 0 time(s)
Here’s an excerpt from one of the first chapters of a new book about TDD in C# - what’s wrong with the following paragraph and following code?
The reason for the test failure (as shown by the highlighted text) is that you have not implemented the method. The next step is to write code to make this test pass:
Found it? I’ll highlight the offending sentence:
The reason for the test failure (as shown by the highlighted text) is that you have not implemented the...