|
|
|
|
|
by simonw
496 days ago
|
|
"I especially dont see what is gained by writing the test after." The greatest value in tests is that they help prevent future changes from breaking existing functionality. Writing the test after you write the implementation is equally useful for achieving that as writing the test before you write the implementation. |
|
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.