vcr (Q89086)
From MaRDI portal
Record 'HTTP' Calls to Disk
Language | Label | Description | Also known as |
---|---|---|---|
English | vcr |
Record 'HTTP' Calls to Disk |
Statements
25 June 2023
0 references
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.
0 references