OpenSubsystemsLibrary icon indicating copy to clipboard operation
OpenSubsystemsLibrary copied to clipboard

Prettify assert actual and expected values

Open zeegin opened this issue 5 years ago • 2 comments

When unit tests raise assert error we shuld pass actual and expected values. But this values can be non primitive. It include some references or collections. To better marge-view in JUnit panel is shuld be full printed values, including types, collection items or structure properties. Open question is how prettify nested collections? Maybe we must convert it to json.

zeegin avatar Nov 12 '19 00:11 zeegin

Maybe like in java?

astrizhachuk avatar Nov 12 '19 07:11 astrizhachuk

I found only one example

But I don't understand how this properties contains in junit json.

zeegin avatar Nov 12 '19 08:11 zeegin