4 ms·
If the logical construct is flawed, no amount of tests will ever catch it, only user testing would. The point I’m trying to make is that the verification of co
by chewbacha 9y ago
If the logical construct is flawed, no amount of tests will ever catch it, only user testing would.
The point I’m trying to make is that the verification of correctness is bidirectional. If I’m writing tests around existing code, I rely on the code to test my expectations. If I’m writing new code, I write tests to assert my new assumptions. All automated tests do are assert that I’ve written the same logic twice. Writing it a third time will also decrease the likelihood of transcription error again, but at diminished returns.