Hello, When using JUnit assertions, Intellij adds ...
# strikt
a
Hello, When using JUnit assertions, Intellij adds "see difference" button to check the expected and actual values, but when using strikt it does not, which is annoying for long values. Is there a way to make Intellij add the "see difference" button when using strikt?
c
for me it shows a see differences link for
isEqualTo
a
It does not for me. It works with JUnit or Kotest though. I am using Intellij Idea Community Edition 2021.3.2
r
AFAIK it comes down to the presence of particular properties in the exception class, which Strikt is providing
c
do you run tests via gradle or idea? maybe only one of those works
a
I run them using the Gradle task in the IDE
I just tested, and the "click to see difference" is indeed available when launching the test with the JUnit configuration.
r
huh, I'll do some digging and see if I can figure out what's required to get that working with the Gradle runner
🙏 1