|
|
|
|
|
by Spivak
1407 days ago
|
|
Odd, I was taught TDD as 1. Write test, see that it fails the way you expect. 2. Write code that makes the test pass. 3. Write test... and be secure that you can fearlessly refactor and not backslide while you play with different ideas so long as all your tests stay green. I would get overwhelmed so fast if I just had 50 failing tests and no implementation. |
|
One of the above comments mentions BDD as a close cousin to TDD, but that is wrong as TDD is actually BDD as you should only be testing behaviours, which allow you to "fearlessly refactor"