vcr

From MaRDI portal
Software:89086



CRANvcrMaRDI QIDQ89086

Record 'HTTP' Calls to Disk

Scott Chamberlain, Jed Long, Scott Chamberlain, Daniel Possenriede

Last update: 25 June 2023

Software version identifier: 1.2.0, 0.1.0, 0.2.0, 0.2.2, 0.2.6, 0.3.0, 0.4.0, 0.5.0, 0.5.4, 0.6.0, 1.0.0, 1.0.2, 1.1.0, 1.2.2


Copyright license: MIT license, File License

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.