= Test-driven development
{wiki=Test-driven_development}
Test-Driven Development (TDD) is a software development practice that emphasizes writing tests before writing the corresponding code that implements the functionality. The TDD process typically follows a repetitive cycle known as "Red-Green-Refactor," which consists of the following steps: 1. **Red**: Write a test for a new function or feature that you want to implement. This test should initially fail since the feature hasn't been implemented yet.
Back to article page