Hi, is there an assertion library that nicely high...
# test
s
Hi, is there an assertion library that nicely highlights diffs between expected and actual values? For instance when comparing two data classes
actual shouldEqual expected
. Currently I'm using Kluent but it just outputs the
toString()
values of both classes. If I want to find out which value(s) are actually different I have to do it manually.
👍 1
a
also curious about better diff i've been using reflection assert http://www.unitils.org/tutorial-reflectionassert.html forf comparing complex objects
m
AssertJ is an incredible library
d
#atrium or #strikt ?
👍 1
Assertj is a bit harder to use with kotlin (at least as much as I had tried then...)