webmockr: Stubbing and Setting Expectations on 'HTTP' Requests (original) (raw)
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: | 2.2.0 |
|---|---|
| Depends: | R (≥ 4.1.0) |
| Imports: | curl, jsonlite, magrittr (≥ 1.5), R6 (≥ 2.1.3), urltools (≥ 1.6.0), fauxpas, rlang, cli |
| Suggests: | testthat (≥ 3.0.0), xml2, crul, httr, httr2, diffobj, withr |
| Published: | 2025-07-21 |
| DOI: | 10.32614/CRAN.package.webmockr |
| Author: | Scott Chamberlain |
| Maintainer: | Scott Chamberlain <myrmecocystus+r at gmail.com> |
| BugReports: | https://github.com/ropensci/webmockr/issues |
| License: | MIT + file |
| URL: | https://github.com/ropensci/webmockr,https://books.ropensci.org/http-testing/,https://docs.ropensci.org/webmockr/ |
| NeedsCompilation: | no |
| Language: | en-US |
| Materials: | NEWS |
| In views: | WebTechnologies |
| CRAN checks: | webmockr results |
Documentation:
Downloads:
Reverse dependencies:
| Reverse suggests: | archiveRetriever, citecorp, connectwidgets, crul, lambdr, magmaR, MolgenisArmadillo, polite, qualtRics, rATTAINS, readapra, riskmetric, ritis, rredlist, RTD, sixtyfour, zoltr |
|---|
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=webmockrto link to this page.