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
Hit the same API with different parameters and perform similar JSON assertions.
The problem is that if the assertion at step 2 fails, then step 3 is not performed at all, which is like a hard assertion. So I'm wondering if there's a way to make the flow go through and do each and every assertion (soft assertion).
My test case has a flow that looks like this:
The problem is that if the assertion at step 2 fails, then step 3 is not performed at all, which is like a hard assertion. So I'm wondering if there's a way to make the flow go through and do each and every assertion (soft assertion).
EDIT: I see that the core AssertJ library supports soft assertions (https://assertj.github.io/doc/#assertj-core-soft-assertions). I'm not sure how to use the json unit assertions with the same though.
The text was updated successfully, but these errors were encountered: