3 ms·
That's not how TDD works. You test the whole chain and all the components with tests and you can move from top to bottom with TDD, it's actually how you should
by mrsmrtss 4mo ago
That's not how TDD works. You test the whole chain and all the components with tests and you can move from top to bottom with TDD, it's actually how you should do it.
- dboreham 4mo agoIt is however how most software testing is done.
- junon 4mo ago"Most" is a gross exaggeration.
- deleted 4mo ago[deleted]
- SAI_Peregrinus 4mo agoThere's a disconnect between TDD using all sorts of tests (unit, integration, hardware-in-the-loop, in-field, etc.) and TDD using unit tests only. Unit tests provide the least value/line of test code of all types of tests. They're important, since they can catch bugs earlier than other sorts of tests that can't be caught by a type system, but not sufficient to catch most bugs.