Record 'HTTP' Calls to Disk
vcr: Record 'HTTP' Calls to Disk
The response of an HTTPInteraction
Coerce names, etc. to cassettes
Cassette handler
List cassettes, get current cassette, etc.
Check cassette names
Eject a cassette
File system persister
Hooks class
Get the http interactions of the current cassette
HTTPInteraction class
HTTPInteractionList class
Insert a cassette to record HTTP requests
The JSON serializer
Turn vcr on and off, check on/off status, and turn off for a given htt...
Cassette persisters
Are real http connections allowed?
vcr recording options
request and response summary methods
vcr request matching
The request of an HTTPInteraction
RequestHandler
RequestHandlerCrul
RequestHandlerHttr
RequestHandlerHttr2
Request ignorer
RequestMatcherRegistry
Serializer class - base class for JSON/YAML serializers
Cassette serializers
Skip tests if vcr is off
split string every N characters
UnhandledHTTPRequestError
Use a cassette to record HTTP requests
Setup vcr for a package
Global Configuration Options
vcr log file setup
Locate file in tests directory
The YAML serializer
Record test suite 'HTTP' requests and replays them during future runs. A port of the Ruby gem of the same name (<https://github.com/vcr/vcr/>). Works by hooking into the 'webmockr' R package for matching 'HTTP' requests by various rules ('HTTP' method, 'URL', query parameters, headers, body, etc.), and then caching real 'HTTP' responses on disk in 'cassettes'. Subsequent 'HTTP' requests matching any previous requests in the same 'cassette' use a cached 'HTTP' response.
Useful links