mockcpp
0.0.1Mocking in C++ with 'testthat'
Overview
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.
Install
Health
CRAN check results are not tracked yet.
Documentation
- Examples that run
- not tracked
- Documented parameters
- not tracked
- Return-value docs
- not tracked
- References docs
- not tracked
Downloads
Dependencies
Nothing depends on this yet.
Code & Tests
People & History
1 release. R releases are shown for context.
- RR 4.1.0 released · 2021-05-18
- archivedRemoved from CRAN2021-04-17check problems were not corrected in time
- 0.0.12021-04-01
- RR 4.0.0 released · 2020-04-24
Package metadata
- Total releases
- 1
- License
- MIT + file LICENSE | BSL-1.0 OSI
- Download size
- not tracked yet
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("mockcpp")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-11, which the citation names so these numbers can be found later. More on citing and the projects behind them.