Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (40 sloc) 1.46 KB
Package: httptest
Type: Package
Title: A Test Environment for HTTP Requests
Description: Testing and documenting code that communicates with remote servers
can be painful. Dealing with authentication, server state,
and other complications can make testing seem too costly to
bother with. But it doesn't need to be that hard. This package enables one
to test all of the logic on the R sides of the API in your package without
requiring access to the remote service. Importantly, it provides three
contexts that mock the network connection in different ways, as well as
testing functions to assert that HTTP requests were---or were
not---made. It also allows one to safely record real API responses to use as
test fixtures. The ability to save responses and load them offline also
enables one to write vignettes and other dynamic documents that can be
distributed without access to a live server.
Version: 3.2.3
Authors@R: person("Neal", "Richardson", role=c("aut", "cre"), email="neal.p.richardson@gmail.com")
URL: https://enpiar.com/r/httptest, https://github.com/nealrichardson/httptest
BugReports: https://github.com/nealrichardson/httptest/issues
License: MIT + file LICENSE
Depends:
R (>= 3.0.0),
testthat
Imports:
digest,
httr,
jsonlite,
stats,
utils
Suggests:
covr,
knitr,
pkgload,
rmarkdown,
spelling,
xml2
Language: en-US
RoxygenNote: 6.1.1
Roxygen: list(markdown = TRUE)
VignetteBuilder: knitr
You can’t perform that action at this time.