Description: A header only library integrating 'testthat' with 'trompeoeil' to
provide mocking for C++ code in R packages. Mocking is a technique for
making a fake version of a software service. You can mock services to
test that your code interacts correctly with external interfaces, to make
your tests deterministic, or to break your tests down into smaller units.
'testthat' provides a testing framework for R and C++ code in R packages.
'trompeoeil' is a C++ header only library for mocking.
Suggests: knitr, rmarkdown, Rcpp, cpp11, pkgload, decor
Imperial College of Science, Technology and Medicine [cph],

The two main functionalities of this package are creating mock
objects (functions) and selectively intercepting calls to a given
function that originate in some other function. It can be used
with any testing framework available for R. Mock objects can
be injected with either this package's own stub() function or a
similar with_mock() facility present in the testthat package.
person("Noam", "Finkelstein", role = c("aut", "cre"),
person("Lukasz", "Bartnik", rol = c("aut"),

Collate: 'expectations.R' 'mockery.R' 'mock-object.R' 'stub.R'

similar with_mock() facility present in the 'testthat' package.
person("Noam", "Finkelstein", role = c("aut")),
person("Lukasz", "Bartnik", role = c("aut")),
person("Jim", "Hester", role = c("cre"),

person("Noam", "Finkelstein", role = "aut"),
person("Lukasz", "Bartnik", role = "aut"),
person("Hadley", "Wickham", , "hadley@rstudio.com", role = c("aut", "cre"))
Description: The two main functionalities of this package are creating
mock objects (functions) and selectively intercepting calls to a given
function that originate in some other function. It can be used with
any testing framework available for R. Mock objects can be injected
with either this package's own stub() function or a similar
with_mock() facility present in the 'testthat' package.
Packaged: 2022-02-19 14:18:34 UTC; hadleywickham

Description: Provides a means to mock a package function, i.e., temporarily substitute it for testing. Designed as a drop-in replacement for 'testthat::with_mock()', which may break in R 3.4.0 and later.