httptest2: Test Helpers for 'httr2'

Testing and documenting code that communicates with remote servers can be painful. This package helps with writing tests for packages that use 'httr2'. It enables testing all of the logic on the R sides of the API without requiring access to the remote service, and it also allows recording real API responses to use as test fixtures. The ability to save responses and load them offline also enables writing vignettes and other dynamic documents that can be distributed without access to a live server.

Version: 0.1.0
Imports: digest, httr2, jsonlite, rlang, stats, testthat, utils
Suggests: curl, knitr, pkgload, rmarkdown, spelling, xml2
Published: 2022-01-10
Author: Neal Richardson [aut, cre], Jonathan Keane [ctb], Maƫlle Salmon ORCID iD [ctb]
Maintainer: Neal Richardson <neal.p.richardson at gmail.com>
BugReports: https://github.com/nealrichardson/httptest2/issues
License: MIT + file LICENSE
URL: https://enpiar.com/httptest2/, https://github.com/nealrichardson/httptest2
NeedsCompilation: no
Language: en-US
Materials: README NEWS
CRAN checks: httptest2 results

Documentation:

Reference manual: httptest2.pdf
Vignettes: Frequently Asked Questions
httptest: A Test Environment for HTTP Requests in R
Redacting and Modifying Recorded Requests
Writing Vignettes with APIs

Downloads:

Package source: httptest2_0.1.0.tar.gz
Windows binaries: r-devel: httptest2_0.1.0.zip, r-release: httptest2_0.1.0.zip, r-oldrel: httptest2_0.1.0.zip
macOS binaries: r-release (arm64): httptest2_0.1.0.tgz, r-release (x86_64): httptest2_0.1.0.tgz, r-oldrel: httptest2_0.1.0.tgz

Reverse dependencies:

Reverse suggests: riem

Linking:

Please use the canonical form https://CRAN.R-project.org/package=httptest2 to link to this page.