Improve assertion error messages by adding mismatch descriptions#461
Improve assertion error messages by adding mismatch descriptions#461angusholder wants to merge 3 commits intoAdevintaSpain:masterfrom
Conversation
3ef9719 to
36b77c7
Compare
|
Hi @angusholder Any example on how error messages looked before this PR and how it looks with this change? |
|
Weren't there some tests for the assertion messages? I don't know what's the current status of CI |
For
Now it displays what
|
|
Look much better! Is there any way, btw, to avoid this ñart?
|
What do you want it to say instead? I think that part is created by JUnit and Hamcrest |
I added overrides for TypeSafeMatcher.describeMismatchSafely() to improve the error messages that Barista gives when the assertion fails