Test-Driven Development (TDD)

Test-Driven Development (TDD) is a software development process invented by Ken Beck in the 12 original Extreme Programming practices. The process is as follows:

  1. The developer writes a failing automated test case that defines a desired improvement or new function.
  2. They then produce code to pass that test.
  3. They refactor the new code to acceptable standards.