Content deleted Content added
→Steering phase: wikilink |
|||
Line 116:
[[Unit testing|Unit tests]] are automated tests that test the functionality of pieces of the code (e.g. classes, methods). Within XP, unit tests are written before the eventual code is coded. This approach is intended to stimulate the programmer to think about conditions in which his or her code could fail. XP says that the programmer is finished with a certain piece of code when he or she cannot come up with any further condition on which the code may fail.
Test driven
* Write [[unit test]]: The programmers write a minimal test that should break the code because the functionality hasn't been fully implemented.
|