dnaeon / go-vcr

Record and replay your HTTP interactions for fast, deterministic and accurate tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Verify HTTP request was issued

diegosanchez opened this issue · comments

Is there a way to verify that each recorded request is reproduced during the playing phase?

The use case:

  1. I write a test and record the http requests.
  2. Re-run the test and it passes
  3. I refactor the code and introduce a bug which prevents issuing a specific request.
  4. Re-run the test, it passes. It shouldn't.