Hey folks, I've just started using kotest and had a question:
• Has anyone been able to get the "<Click to see difference>" dialog with diff window to appear when an assertion fails using intellij?
This diff window is super helpful when doing a "foo" shouldBe "bar". This seems to work with the core kotlin.test assertEquals method but the shouldBe, etc all seem to throw a too generic AssertionError which intellij doesn't seem to be able to understand.
Any help would be much appreciated
s
sam
03/21/2020, 2:01 PM
Which version
s
Steve RB
03/23/2020, 8:44 AM
I have been testing version 3.4.2. @sam
s
sam
03/23/2020, 1:44 PM
Try 4.0.0. I fixed this after you posted.
s
Steve RB
03/23/2020, 7:10 PM
Hey @sam thanks for fixing that. I'm now trying to run my tests with the new version but intellij seems to hang on the test stage after printing the below: