3 ms·
> I still haven't seen a test that can prove even an identity function is correct. As with any hypothesis (empirical) testing, software testing is not about pr
by dragonwriter 6y ago
> I still haven't seen a test that can prove even an identity function is correct.
As with any hypothesis (empirical) testing, software testing is not about proving code is correct, but about striving to falsify that claim by poking at ways it would be likely to fail if it wasn't.
(There are formal analytical methods for proving code correct as opposed to empirical methods of falsifying it, as well, but those aren't tests.)