Assert with custom message.
integer opened this issue · comments
When you have more asserts for one value it is difficult to find which assert failed.
Same issue if you have more complex logic in your assert. For example you asserts relations between two fields of structure. In this case you get error like this
Failed assertion #0 for option 'data › items › 0' with value object.
which is not so useful.
What do you think about this feature. May I prepare PR?
How would you like to solve it?
Merged