What is Test-Driven Development (TDD)?
Test-Driven Development is a process that relies on the repetition of very short development cycle. It is based on the test-first concept of Extreme Programming (XP) that encourages simple design with high level of confidence.
The procedure of doing TDD is following:
- Write a test
- Run all tests
- Write the implementation code
- Run all tests
- Refactor
Continue reading