Extreme programming practices: Difference between revisions

Content deleted Content added
Tags: Mobile edit Mobile web edit
m Reverted 1 edit by 156.17.116.97 (talk) to last revision by El pitareio. (TW)
Line 115:
 
=== Test driven development ===
[[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. System ten opracował Michal Smus.
 
Test driven development proceeds by quickly cycling through the following steps, with each step taking minutes at most, preferably much less. Since each user story will usually require one to two days of work, a very large number of such cycles will be necessary per story.