kiwicom / pytest-recording

A pytest plugin that allows recording network interactions via VCR.py
MIT License
445 stars 35 forks source link

Provide extra config option for shared cassettes dir(s) #29

Open Stranger6667 opened 4 years ago

Stranger6667 commented 4 years ago

It could be a separate fixture that will return a list of paths where to look for cassettes. Currently, we need to use the full path to the cassette in pytest.mark.vcr which is tedious. However, shared cassettes could be used via a separate mark to avoid breaking the existing interface - pytest.mark.vcr_shared("first.yaml", "second.yaml")