Test-driven development: Difference between revisions

Content deleted Content added
Line 8:
 
=== 1. Write the test ===
It first begins with writing a test. In order to write a test, the specification and requirements must be clearly understood.
 
=== 2. Write the code ===
The next step is to make the test pass by writing the code. This step forces the programmer to take the perspective of a client by seeing the code through its interfaces. This is the design driven part of TDD.