-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathDESCRIPTION
47 lines (47 loc) · 1.79 KB
/
DESCRIPTION
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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: 4.2.2.9000
Authors@R: c(
person("Neal", "Richardson", role=c("aut", "cre"), email="[email protected]", comment=c(ORCID="0009-0002-7992-3520")),
person("Jonathan", "Keane", role="ctb", email="[email protected]"),
person("Maëlle", "Salmon", role="ctb", email="[email protected]", comment=c(ORCID="0000-0002-2815-0399"))
)
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.5.0),
testthat
Imports:
curl,
digest,
httr,
jsonlite,
stats,
utils
Suggests:
knitr,
pkgload,
rmarkdown,
spelling,
xml2
Language: en-US
RoxygenNote: 7.2.3
Roxygen: list(markdown = TRUE)
Encoding: UTF-8
VignetteBuilder: knitr
Config/testthat/edition: 3
Config/Needs/coverage: covr