Skip to content

fix: Do not evaluate all matcher when the first is false#8

Merged
skwasjer merged 1 commit intoskwasjer:mainfrom
swoog:main
Jan 15, 2022
Merged

fix: Do not evaluate all matcher when the first is false#8
skwasjer merged 1 commit intoskwasjer:mainfrom
swoog:main

Conversation

@swoog
Copy link
Contributor

@swoog swoog commented Jan 14, 2022

I have this use case in my code :

  • A call to API with url encoded string content
  • A call to API with a Json content

I wan to verify/mock the API with Json. And I have an exception on the json deserializer. But my second API have not the same uri.
Why to evaluate other matcher ? If the first is false ?

@skwasjer skwasjer merged commit da47fd8 into skwasjer:main Jan 15, 2022
@skwasjer
Copy link
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants