question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

<Click to see difference>

See original GitHub issue

When I run tests with JUnit and a test fails, there’s a clickable line <Click to see difference>, it opens Comparison Failure window. I miss that when work with your plugin, would be cool to have it.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
orange-buffalocommented, Sep 27, 2022

I am also facing this issue. For instance, when a test has JSON assertion:

"{}".shouldMatchJsonResource("/my/json/resource");

It fails without “Click to see difference”:

expected:<{}> but was:<{"context_of_resource"}>

It makes it extremely hard to work with larger strings like JSON.

@sksamuel, would you like me to prepare a full-fledged reproducer project or is the problem clear?

0reactions
stale[bot]commented, Feb 16, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Formatting output so that Intellij Idea shows diffs for two texts
The <Click to see difference> entry is actually displayed as a link in the output window of the Intellij Idea. When you click...
Read more >
JUnit "<Click to see difference>" link doesn't appear for long ...
JUnit "<Click to see difference>" link doesn't appear for long output because of an arbitrary limit. The following two failing tests differ only...
Read more >
IDEA <Click to see difference> is unavailable in junit 5.5.2
Hi! jupiter tests didn't show "<Click to see difference>" reference. It's working for junit:junit:4.12. @Test void ok() { var expected ...
Read more >
Compare document differences using the legal blackline option
Click Compare two versions of a document (legal blackline). Under Original document, browse for the document that you want to use as the...
Read more >
Compare PDF & Word Documents Online - Draftable
Click here to see a sample comparison. What Types of Documents Can I Compare? Using our online diff checker software, you can compare...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found