You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @bieli . Yes, that would be nice to have better error reporting in such cases. It's not very easy, though: conditions just return true/false without providing information about the difference. It could be possible, though, for some conditions (e.g. ones that check for equality). But then again, I'm not sure if it is useful to see the log of all not satisfied conditions. There can be too many...
But let me ask you, what do withPostBodyContainingJson and asString do? They are not part of restito afaik. Is it your custom condition?
When I try to find bug in my JSON payload in integration tests using
restito
it doesn't support me with clear debug process.For example output for failed test:
I had wrong values in two JSON properties/fields and I think searching/debugging phase problems too longer than I expected.
Ideal solution it will be
suggest what is different or probably wrong
.It will be possible to add more clear output when test failed ?
The text was updated successfully, but these errors were encountered: