4 ms·
This is not how TDD is generally practiced, though. The test is written first because it serves as an interface specification. Just as in traditional developm
by diolpah 15y ago
This is not how TDD is generally practiced, though. The test is written first because it serves as an interface specification. Just as in traditional development, the specification comes before implementation.
- MostAwesomeDude 15y agoWhy can't there be an interface specification beyond the testing layer? Why can't the API be specified, then the code written, and then the tests written once the initial API is implemented?