ropenscilabs/vcr: Record 'HTTP' Calls to Disk

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.

Getting started

Package details

Maintainer
LicenseMIT + file LICENSE
Version0.2.6.9100
URL https://github.com/ropensci/vcr/ (devel) https://ropensci.github.io/http-testing-book/ (user manual)
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("devtools")
library(devtools)
install_github("ropenscilabs/vcr")
ropenscilabs/vcr documentation built on Feb. 16, 2019, 4:42 a.m.