3 ms·
This doesn’t really make sense? If I can’t trust the code it writes, why should I trust that it can write a comprehensive test suite?
by what 2y ago
This doesn’t really make sense? If I can’t trust the code it writes, why should I trust that it can write a comprehensive test suite?
- josephg 2y agoBecause the bugs in its code and the bugs in its test suites usually don't line up and cancel each other out.
- simonw 2y agoBecause you can read the test suite to check what it's testing, then break the implementation and run the tests and check they fail, then break a test and run them and check that fails too. You have to review the code these thing write for you, just like code from any other collaborator.