parroty / exvcr

HTTP request/response recording library for elixir, inspired by VCR.
MIT License
714 stars 133 forks source link

Add additional information to the InvalidRequestError message. #188

Closed sh41 closed 1 year ago

sh41 commented 1 year ago

When using additional match criteria via the :match_requests_on option this InvalidRequestError message will now report the components that were matched against. The aim is to improve the developer experience. 🧑‍💻

It allows the developer to immediately see the data in the request's query, request body or headers that ExVcr is using to match.

coveralls commented 1 year ago

Coverage Status

Coverage decreased (-0.02%) to 88.748% when pulling 333c53bcc3330a727c9197631913bb2a7aa04b09 on sh41:add_extra_information_to_not_found_message into 69aaa49c83de34814dc66253e5819583077cf145 on parroty:master.

parroty commented 1 year ago

Thanks!