I am using groovy, assertj, junit and gradle. I have a test that contains assertion like that
assertThat(actualLongList).isEqualTo(expectedLongList)
When I run gradle test
and those lists are not equal, it generates a test report with an exception like that
org.junit.ComparisonFailure: expected:<...ent2",
"element3",
"element4",
"element5]"]> but was:<...ent2",
"element4,
"element5",
"element6]"]>
Can I somehow configure exception output format so it will fully output both lists?
org.junit.ComparisonFailure: expected:
<["element1",
"element2",
"element3",
"element3",
"element4",]> but was:,
<["element1",
"element2",
"element4",
"element5",
"element6",]>