Reputation: 481
Before , when I was working with JUnit under eclipse I used to double click on somewhere in JUnit view and then a comparison window popped up. Which showed exact differences(like version controle systems do, e.g git diff tools) between actual and expected.
And now I am not able find it again. Where is it? Or Is it removed from new versions?
Upvotes: 6
Views: 2177
Reputation: 24306
You double-click on the failure in the JUnit view. Note that the diff is only available if the test fails with a ComparisonFailure
Upvotes: 8