Reduce output of Constraint failure descriptions, when asserting against trivial data types #5810
Labels
feature/assertion
Issues related to assertions and expectations
type/enhancement
A new idea that should be implemented
When I write a test, that expects a boolean as return value, but - for some reason - does not get a boolean from the tested code, but a big array or an object, the whole object is dumped into the failure description. This potentially is a big waste of memory and makes reading the output quite hard.
Examples:
My feature request would be:
The text was updated successfully, but these errors were encountered: