↓ Skip to main content
  1. Glossary/

Test Driven Development

·71 words·1 min·
小钰大主宰
Author
小钰大主宰
建站工程师

Test-Driven Development (TDD) is a technique for building software that guides software development by writing tests. It was developed by Kent Beck in the late 1990’s as part of Extreme Programming. In essence we follow three simple steps repeatedly:

  • Write a test for the next bit of functionality you want to add.
  • Write the functional code until the test passes.
  • Refactor both new and old code to make it well structured.