|
|
|
|
|
by tz18
1300 days ago
|
|
Yes, never. You are assuming that the implementation of all unit test cases are themselves correct (that they would fail if there was any error in the case they cover). In fact unit tests are often wrong. In that context a unit test can't even prove code incorrect, unless we know that the unit test is correct. IMO to prove that code is correct requires a proof; a unit test can only provide evidence suggestive of correctness. |
|
An exhaustive test is just one type of a machine verified proof.