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.

Package details

AuthorScott Chamberlain [aut, cre] (<https://orcid.org/0000-0003-1444-9135>), rOpenSci [fnd] (https://ropensci.org)
MaintainerScott Chamberlain <[email protected]>
LicenseMIT + file LICENSE
Version0.3.0
URL https://github.com/ropensci/webmockr (devel) https://ropensci.github.io/http-testing-book/ (user manual)
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("webmockr")

Try the webmockr package in your browser

Any scripts or data that you put into this service are public.

webmockr documentation built on Jan. 10, 2019, 1:07 a.m.