3 ms·
In the Bitcoin project we found and reported several bugs in OpenSSL based on similar harsnesses that compared our code with similar functions in OpenSSL (where
by nullc 7y ago
In the Bitcoin project we found and reported several bugs in OpenSSL based on similar harsnesses that compared our code with similar functions in OpenSSL (where they exist).
It's a pretty powerful technique at least in problem domains where fully specified behavior is a realistic expectation.
Mutation testing-- where you break the code and confirm that your tests fail-- is also pretty powerful in those same domains.
- nullc 7y ago(in particular: mutate the code, if the tests pass, test random cases differential with the original, if any discrepancies are found then you just found a missing test case.)