4 ms·
The cognition overhead of 100% test coverage is probably absurd, as well.
by taeric 12y ago
The cognition overhead of 100% test coverage is probably absurd, as well.
- gcanti 12y agoProbably you are right, but for a library I think it should be an obligation to provide 100% coverage. For a generic program, maybe I sould provide 100% coverage at least of the "critical paths".
- taeric 12y agoMight also be worth it to emphasize the "intended paths." Of course, that is probably just saying that there should be documentation.
- cantankerous 12y agoEspecially given that you can't reasonably enforce the rigor of your test suite by way of your language.
- taeric 12y agoOddly, you could, in a way. Just treat your language and compiler as a tool in the toolchain. Add in a testing segment and you can set rules on it.