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

5,078

Last month

340

Last week

125

Average per day

11

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.2.6
License
MIT + file LICENSE
URL
BugReports
https://github.com/ropensci/webmockr/issues
LazyData
true
Imports
curl, jsonlite, magrittr (>= 1.5), lazyeval (>= 0.2.0), R6 (>= 2.1.3), urltools (>= 1.6.0), fauxpas, crul (>= 0.5.2)
Suggests
roxygen2 (>= 6.0.1), testthat, xml2, vcr
RoxygenNote
6.0.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
2018-05-17 18:45:53 UTC; sckott
Author
Scott Chamberlain [aut, cre] (), rOpenSci [fnd] (https://ropensci.org)
Maintainer
Scott Chamberlain
Repository
CRAN
Date/Publication
2018-05-17 22:27:56

install.packages('webmockr')

0.2.6

4 months ago

https://github.com/ropensci/webmockr

Scott Chamberlain

MIT + file LICENSE

Imports

curl, jsonlite, magrittr (>= 1.5), lazyeval (>= 0.2.0), R6 (>= 2.1.3), urltools (>= 1.6.0), fauxpas, crul (>= 0.5.2)

Suggests

roxygen2 (>= 6.0.1), testthat, xml2, vcr

Discussions