-
Notifications
You must be signed in to change notification settings - Fork 1
/
DESCRIPTION
35 lines (35 loc) · 1.21 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
Package: mockthat
Title: Function Mocking for Unit Testing
Version: 0.2.8
Authors@R:
person(given = "Nicolas",
family = "Bennett",
role = c("aut", "cre"),
email = "[email protected]")
Description: With the deprecation of mocking capabilities shipped with
'testthat' as of 'edition 3' it is left to third-party packages to replace
this functionality, which in some test-scenarios is essential in order to
run unit tests in limited environments (such as no Internet connection).
Mocking in this setting means temporarily substituting a function with a
stub that acts in some sense like the original function (for example by
serving a HTTP response that has been cached as a file). The only exported
function 'with_mock()' is modeled after the eponymous 'testthat' function
with the intention of providing a drop-in replacement.
License: MIT + file LICENSE
URL: https://nbenn.github.io/mockthat/
BugReports: https://github.com/nbenn/mockthat/issues
Depends:
R (>= 3.3.0)
Imports:
utils,
rlang
Suggests:
testthat,
pkgload,
curl,
jsonlite,
withr
Encoding: UTF-8
Language: en-US
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.1