zeegin / OpenSubsystemsLibrary

Open Subsystems Library provide what you don't want to do — no more, no less.
MIT License
77 stars 13 forks source link

Prettify assert actual and expected values #12

Open zeegin opened 4 years ago

zeegin commented 4 years ago

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.

astrizhachuk commented 4 years ago

Maybe like in java?

zeegin commented 4 years ago

I found only one example

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