3 ms·
Only if you generate infinite tests, then your coverage approaches 0%. But 100% covered code + 0% covered tests = ~50% total coverage. Also, the obvious soluti
by Cpoll 5y ago
Only if you generate infinite tests, then your coverage approaches 0%. But 100% covered code + 0% covered tests = ~50% total coverage.
Also, the obvious solution is self-testing code. (Jokes aside, structures like code contracts attempt something like this).