Benutzer-Werkzeuge

Webseiten-Werkzeuge


se:tdd

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
se:tdd [2009-06-16 15:59]
stefan
se:tdd [2014-04-05 11:42] (aktuell)
Zeile 1: Zeile 1:
 ====== Test Driven Development ====== ====== Test Driven Development ======
-{[quellen:​Beck2003|S. ix]} In TDD, we+\cite[S. ix]{Beck2003} In TDD, we
   * write new code only if an automated test has failed   * write new code only if an automated test has failed
   * eliminate duplication.   * eliminate duplication.
  
-The TDD mantra ​{[quellen:​Beck2003|S. x]}+The TDD mantra ​\cite[S. x]{Beck2003}
   - red: write a little test that doesn'​t work, and perhaps doesn'​t even compile at first.   - 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.   - 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.   - refactor: eliminate all of the duplication created in merely getting the test to work.
  
-The rhythm of TDD {[quellen:​Beck2003|S. 1]}+The rhythm of TDD \cite[S. 1]{Beck2003}
   - quickly add a test   - quickly add a test
   - run all tests and see the new one fail   - run all tests and see the new one fail
se/tdd.1245160780.txt.gz · Zuletzt geändert: 2014-04-05 11:42 (Externe Bearbeitung)