ropensci / rredlist

IUCN Red List API Client
https://docs.ropensci.org/rredlist
Other
48 stars 13 forks source link

How exactly were the vcr cassettes generated? #36

Closed maelle closed 5 years ago

maelle commented 5 years ago

I think I'm looking for info about how to set up testing with vcr, do you create each cassette by hand etc.

sckott commented 5 years ago

no, cassettes are created by running tests with vcr in use. so you never touch the cassette files unless you want to delete them - and if you delete they will be re-created when you run tests again

maelle commented 5 years ago

aaaah ok like `vdiffr does (for testing plots, nothing to do with it, but now I see).

sckott commented 5 years ago

right