Skip to content
#

test-driven-development

Test-driven development (TDD) is a software development process relying on software requirements being converted to test cases before software is fully developed, and tracking all software development by repeatedly testing the software against all test cases. This is as opposed to software being developed first and test cases created later. Programmers also apply the concept to improving and debugging legacy code developed with older techniques.

Process

  1. Add a test
  1. Run all tests. The new test should fail for expected reasons
  1. Write the simplest code that passes the new test
  1. All tests should now pass
  1. Refactor as needed, using tests after each refactor to ensure that functionality is preserved

Repeat.

Here are 1,921 public repositories matching this topic...

Created by Kent Beck, D.D. McCracken

Released 1957

Followers
50 followers
Wikipedia
Wikipedia

Related Topics

atdd bdd continuous-testing extreme-programming testing