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

6,659

Last month

1,012

Last week

327

Average per day

34

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.9
License
MIT + file LICENSE
URL
BugReports
https://github.com/ropensci/webmockr/issues
LazyData
true
Encoding
UTF-8
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, httr
RoxygenNote
6.1.0
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-11-05 23:36:03 UTC; sckott
Author
Scott Chamberlain [aut, cre] (), rOpenSci [fnd] (https://ropensci.org)
Maintainer
Scott Chamberlain
Repository
CRAN
Date/Publication
2018-11-06 00:10:03 UTC

install.packages('webmockr')

0.2.9

8 days 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, httr

Discussions