testy icon indicating copy to clipboard operation
testy copied to clipboard

[refactoring] Improve expectSuccess and expectFailure assertions feedback

Open ngarbezza opened this issue 1 year ago • 0 comments

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)

ngarbezza avatar May 08 '24 12:05 ngarbezza