SpectoLabs / hoverfly

Lightweight service virtualization/ API simulation / API mocking tool for developers and testers
https://hoverfly.io
Apache License 2.0
2.33k stars 204 forks source link

Add negation matcher to hoverfly #1117

Closed kapishmalik closed 3 months ago

kapishmalik commented 3 months ago

resolves => #1101

tommysitu commented 3 months ago

Thanks, I will test it, is this how you use it?

{
   "matcher": "negate", 
   "value": "something else"
}
kapishmalik commented 3 months ago

Hey @tommysitu yes, that is way we can test it. I have added integration tests as well for reference. Also, I will add documentation once approach looks fine.