test-driven development

A software development technique in which the test cases are developed, automated and then the software is developed incrementally to pass those test cases.

In more detail

The cycle is short: write a failing test, write just enough code to pass it, then refactor both. Tests direct the coding instead of extensive up-front design. It is one of the test-first approaches in the CTFL syllabus, with ATDD and BDD.

Related terms

Taught in

References

Certification courses