Showing 2 of total 2 results (show query)
ropensci
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.
Maintained by Scott Chamberlain. Last updated 27 days ago.
httphttpsapiweb-servicescurlmockmockinghttp-mockingtestingtesting-toolstddunit-testingvcr
11.0 match 77 stars 10.06 score 165 scriptsropensci
webmockr:Stubbing and Setting Expectations on 'HTTP' Requests
Stubbing and setting expectations on 'HTTP' requests. Includes tools for stubbing 'HTTP' requests, including expected request conditions and response conditions. Match on 'HTTP' method, query parameters, request body, headers and more. Can be used for unit tests or outside of a testing context.
Maintained by Scott Chamberlain. Last updated 2 months ago.
httphttpsapiweb-servicescurlmockmockingfakewebhttp-mockingtestingtesting-toolstddhttp-mock
11.0 match 49 stars 8.29 score 141 scripts 1 dependents