mockcpp: Mocking in C++ with 'testthat'

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.

Version: 0.0.1
Imports: testthat (≥ 2.1.0)
LinkingTo: testthat
Suggests: knitr, rmarkdown, Rcpp, cpp11, pkgload, decor
Published: 2021-04-01
Author: Giovanni Charles [aut, cre], Imperial College of Science, Technology and Medicine [cph], Björn Fahller [cph]
Maintainer: Giovanni Charles <giovanni.charles at gmail.com>
License: MIT + file LICENSE | BSL-1.0
NeedsCompilation: yes
Materials: README
CRAN checks: mockcpp results

Downloads:

Reference manual: mockcpp.pdf
Vignettes: Examples
Package source: mockcpp_0.0.1.tar.gz
Windows binaries: r-devel: mockcpp_0.0.1.zip, r-release: mockcpp_0.0.1.zip, r-oldrel: mockcpp_0.0.1.zip
macOS binaries: r-release: mockcpp_0.0.1.tgz, r-oldrel: mockcpp_0.0.1.tgz

Linking:

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