How to show diff of failures? #3644
Unanswered
gaborbernat
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Not really something AssertJ can control since what you get comes from opentest4j and the capabilities of your IDE. The IDE could inspect the AssertionFailedError, which has the actual and expected values and if these are strings show a better diff |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using junit 5 with assertj, but when a failure happens (for a 100 line string comparision) all I get is:
Is there a way to get something like git diff does?
Beta Was this translation helpful? Give feedback.
All reactions