A mechanism to render values in test reports

6 views
Skip to first unread message

Jean-Marie Gaillourdet

unread,
Jan 25, 2021, 7:09:15 AM1/25/21
to scalatest-users
Dear scalatest users,

is there a meachnism to override the rendering of objects appearting in
test reports/error messages other than overriding the `.toString()'
method?

I would like to change the appearance of some complicated object
structures just for test purposes. Not in production code. This often
comes up with scalacheck generated testdata but also in classical
non-generated tests.

Any ideas how to achieve that would be helpful.

Regards, Jean


-- Bunkyo-Ku-Straße 1a 67663 Kaiserslautern j...@gaillourdet.net +49 176
10 6321 04
Reply all
Reply to author
Forward
0 new messages