Content deleted Content added
Rescuing 1 sources and tagging 0 as dead. #IABot (v1.5.3) |
|||
Line 119:
* Write [[unit test]]: The programmers write a minimal test that should fail because the functionality hasn't been fully implemented in the production code.
* Watch the new test fail: The programmers verify the test does indeed fail. While it may seem like a waste of time, this step is critical because it verifies that your belief about the state of the production code
* Write code: The programmers write just enough production code so the new test will pass.
* Run test: The unit tests are executed to verify that the new production code passes the new test, and that no other tests are failing.
|