forked from udacity/create-your-own-adventure
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Bill
committed
Feb 1, 2016
1 parent
624787a
commit a6b7410
Showing
2 changed files
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 7 additions & 4 deletions
11
english/test-driven-development-rules/AccordingToUncleBob.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
Over the years I have come to describe Test Driven Development in terms of three simple rules. They are: | ||
Test Driven Development in terms of three simple rules. They are: | ||
|
||
|
||
1) You are not allowed to write any production code unless it is to make a failing unit test pass. | ||
1) You are not allowed to write any production code | ||
unless it is to make a failing unit test pass. | ||
|
||
2) You are not allowed to write any more of a unit test than is sufficient to fail; and compilation failures are failures. | ||
2) You are not allowed to write any more of a unit test | ||
than is sufficient to fail; and compilation failures are failures. | ||
|
||
3) You are not allowed to write any more production code than is sufficient to pass the one failing unit test. | ||
3) You are not allowed to write any more production code | ||
than is sufficient to pass the one failing unit test. |