raniejade/spek-idea-plugin

IntelliJ should show "<Click to see difference>" in stack trace

Opened this issue · 2 comments

When running JUnit tests I get those neat "" links in the console window if a test has failed. This is very, very valuable because I am comparing large files (JSON, XML) with each other.

Unfortunately that link is not created when running a Spek test.

The thrown exception is the same ("org.junit.ComparisonFailure"). Just the link is missing.
I am not sure who creates these links, I just want them ;-)

I have no idea either, but will investigate :) Thanks!

Did some poking around and found that what is needed is creating and appending the IDEA's DiffHyperlink in there somewhere.