Benutzer-Werkzeuge

Webseiten-Werkzeuge


se:tdd

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

se:tdd [2009-06-16 15:59]
stefan
se:tdd [2014-04-05 11:42]
Zeile 1: Zeile 1:
-====== Test Driven Development ====== 
-{[quellen:​Beck2003|S. ix]} In TDD, we 
-  * write new code only if an automated test has failed 
-  * eliminate duplication. 
  
-The TDD mantra {[quellen:​Beck2003|S. x]} 
-  - red: write a little test that doesn'​t work, and perhaps doesn'​t even compile at first. 
-  - green: make the test work quickly, committing whatever sins necessary in the process. 
-  - refactor: eliminate all of the duplication created in merely getting the test to work. 
- 
-The rhythm of TDD {[quellen:​Beck2003|S. 1]} 
-  - quickly add a test 
-  - run all tests and see the new one fail 
-  - make a little change 
-  - run all tests and see them all succeed 
-  - refactor to remove duplication 
se/tdd.txt · Zuletzt geändert: 2014-04-05 11:42 (Externe Bearbeitung)