cursive
cursive copied to clipboard
Sometimes unable to view diff on test failure
Hi,
The docs suggest that it should be possible to view the reason for a test assertion failing by hovering over the error line:
and then view a diff:
In previous versions this used to work as advertised, but recently I don't predictably see details of test errors. For example in this testing
block titled 'some behaviour' I see:
There's no option to compare the diff, and the error message is of no help understanding what the issue is.
I note that if I compare two strings then I do get the option to view the diff by hitting Alt-Shift-Enter
:
In short there are some unexpected values that can be diffed, and some that can't, and I'd love to be able to see an 'Expected' / 'Actual' for all test errors. What am I doing wrong please?
Cursive version: 1.12.4-2022.1
Intellij version: IC-221.5787.3
This feature was working for me great, but then just stopped working, and I have the same behavior as described above. I'm also on the same Cursive version: 1.12.4-2022.1, maybe I was auto-updated to a non-working version, not sure.
I too used this feature a lot. Unfortunately working with tests without this context does make things more difficult than they need to be (see examples below). It have since rolled back to an older version of IntelliJ + Cursive to get this feature back as it does appear to be an issue with 1.12.4
(possible with the addition of https://github.com/cursive-ide/cursive/issues/2387 ?).
Intellij: 2022.2.3
Cursive: 1.12.4-2022.2
Intellij: 2021.3.3
Cursive: 1.12.3-2021.3
I can confirm this was also previously working with Intellij: 2022.1.4
, Cursive: 1.12.3-2022.1
+1 to getting this fixed. I'm experiencing the behaviour describe above with Cursive version 1.12.4-2022.2
(Personal licence).
@cursive-ide, would it be possible to create a 1.12.3-2022.2(.4) release which could be used in the meantime? Not being able to see the diff has a substantial workflow impact (at least for me). Thanks!