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.

Total

11,175

Last month

1,056

Last week

205

Average per day

35

Daily downloads

Total downloads

Description file content

Package
webmockr
Title
Stubbing and Setting Expectations on 'HTTP' Requests
Description
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.
Version
0.3.4
License
MIT + file LICENSE
URL
BugReports
https://github.com/ropensci/webmockr/issues
LazyData
true
Encoding
UTF-8
Imports
curl, jsonlite, magrittr (>= 1.5), R6 (>= 2.1.3), urltools (>= 1.6.0), fauxpas, crul (>= 0.7.0)
Suggests
roxygen2 (>= 6.1.1), testthat, xml2, vcr, httr
RoxygenNote
6.1.1
X-schema.org-applicationCategory
Web
X-schema.org-keywords
http, https, API, web-services, curl, mock, mocking, fakeweb, http-mocking, testing, testing-tools, tdd
X-schema.org-isPartOf
https://ropensci.org
NeedsCompilation
no
Packaged
2019-02-09 03:57:10 UTC; sckott
Author
Scott Chamberlain [aut, cre] (), rOpenSci [fnd] (https://ropensci.org)
Maintainer
Scott Chamberlain
Repository
CRAN
Date/Publication
2019-02-09 05:40:03 UTC

install.packages('webmockr')

0.3.4

a month ago

https://github.com/ropensci/webmockr

Scott Chamberlain

MIT + file LICENSE

Imports

curl, jsonlite, magrittr (>= 1.5), R6 (>= 2.1.3), urltools (>= 1.6.0), fauxpas, crul (>= 0.7.0)

Suggests

roxygen2 (>= 6.1.1), testthat, xml2, vcr, httr

Discussions