Overview

Test-Driven Development (TDD) is a method for developing control code in which tests are written to verify the functions of the control code before the implementation of those functions takes place. Therefore, the chosen implementation does not affect the creation of test cases. After the control code has been implemented, the test cases are run repeatedly until they no longer fail, thereby confirming that the system functions as intended. The goal of this approach is to improve code quality.

TDD is often used in conjunction with other agile software development methods, such as continuous integration, to improve not only code quality but also the speed at which code can be changed, and to reduce the time it takes to deliver new functions to end customers.