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.

Total

575

Last month

314

Last week

96

Average per day

10

Daily downloads

Total downloads

Description file content

Package
vcr
Title
Record 'HTTP' Calls to Disk
Description
Record test suite 'HTTP' requests and replays them during future runs. A port of the Ruby gem of the same name (). 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.
Version
0.1.0
URL
BugReports
https://github.com/ropensci/vcr/issues
License
MIT + file LICENSE
LazyData
true
VignetteBuilder
knitr
Imports
crul (>= 0.5.2), webmockr (>= 0.2.4), urltools, yaml, R6, lazyeval, base64enc
Suggests
jsonlite, testthat, knitr, rmarkdown
RoxygenNote
6.0.1
X-schema.org-applicationCategory
Web
X-schema.org-keywords
http, https, API, web-services, curl, mock, mocking, http-mocking, testing, testing-tools, tdd
X-schema.org-isPartOf
https://ropensci.org
NeedsCompilation
no
Packaged
2018-05-11 17:13:33 UTC; sacmac
Author
Scott Chamberlain [aut, cre] ()
Maintainer
Scott Chamberlain
Repository
CRAN
Date/Publication
2018-05-14 15:43:45 UTC

install.packages('vcr')

0.1.0

2 months ago

https://github.com/ropensci/vcr/

Scott Chamberlain

MIT + file LICENSE

Imports

crul (>= 0.5.2), webmockr (>= 0.2.4), urltools, yaml, R6, lazyeval, base64enc

Suggests

jsonlite, testthat, knitr, rmarkdown

Discussions