testy
testy copied to clipboard
[refactoring] Improve expectSuccess and expectFailure assertions feedback
Problem
When one of these assertions fail, we get an expected true to be false or expected false to be true without additional feedback about the actual result, not just the status.
Proposed solution
Compare results and provide detailed feedback about what the expected value was, and the actual type of result (and failure reason in case it is a failure)