kevin1024 / vcrpy

Automatically mock your HTTP interactions to simplify and speed up testing
MIT License
2.72k stars 389 forks source link

Record cassettes in memory #604

Open thedrow opened 3 years ago

thedrow commented 3 years ago

Is there a built-in way to avoid saving the cassette YAML file? There's an integration test I'd like to inspect the responses for but I don't need to record them forever. Currently, I just rewrite them.

lesmo commented 3 years ago

You may find this PR useful: https://github.com/kevin1024/vcrpy/pull/576

fiendish commented 8 months ago

The docs have this covered: https://vcrpy.readthedocs.io/en/latest/advanced.html#register-your-own-cassette-persister