|
|
|
|
|
by hitchstory
495 days ago
|
|
Not the only value though. Red-green-refactor can also provides live feedback about whether your code is behaving correctly as you write it. Requiring the test before writing the code also ensures you dont forget to write a test to match the scenario. So what is gained by test after... is that it is almost as good? I still dont get it. |
|
This order also helps verify I didn't typo something in the test itself and end up TDD-ing myself into broken code.