Add diff section to report of AssertionFailedError failures#3397
Add diff section to report of AssertionFailedError failures#3397
Conversation
c75bb85 to
4560a27
Compare
With this commit, a dependency to https://github.com/java-diff-utils/java-diff-utils is introduced. java-diff-utils is used to create a diff from the expected and the actual result and report it. See #3139
4560a27 to
6daf44e
Compare
|
Hi Stefan, thanks for the PR.
Yes, please.
Let's go with same length for the tags (fixed for the time being): It would be also cool, if the theme of the console launcher could be supported:
Once the layout is settled, all printing listeners should support this new diff feature. Or do you see problems with rendering the diff in other printers than the |
|
@bechte Do you have time to continue on this? |
|
Superseded by #4017 |
Overview
With this commit, a dependency to https://github.com/java-diff-utils/java-diff-utils is introduced. java-diff-utils is used to create a diff from the expected and the actual result and report it.
See #3139
Open questions:
DetailsPrintingListeners or is it already sufficient for theFlatPrintingListener(I started with this in the sense of a small PoC)?I hereby agree to the terms of the JUnit Contributor License Agreement.
Definition of Done
@APIannotations