Test-driven Development (TDD)
TDD test-driven tdd developmentTest-driven development (TDD) is a development technique where you must write a test that fails before you write new functional code.
Workflow
- Write a failing test
- Write code to make it pass.
- Repeat steps 1 and 2.
- Along the way, refactor aggressively.
- When you can’t think of any more tests, you must be done.
Source:
https://www.ibm.com/developerworks/library/j-eaed2/index.html
http://agiledata.org/essays/tdd.html
Written on March 3, 2018