Tltdd: Difference between revisions

From Linux User Groups Australia
Tobin (talk | contribs)
Blanked the page
Tobin (talk | contribs)
Undo revision 21 by Tobin (talk)
 
Line 1: Line 1:
The Three Laws of Test Driven Development


1. You may not write production code until you have written a failing test.
2. You may not write more of a unit test than is sufficient to fail.
3. You may not write more production code than is sifficient to pass the currently failing test.

Latest revision as of 16:16, 12 June 2016

The Three Laws of Test Driven Development

1. You may not write production code until you have written a failing test.

2. You may not write more of a unit test than is sufficient to fail.

3. You may not write more production code than is sifficient to pass the currently failing test.