mockery: Mocking Library for R

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.

Version: 0.4.1
Imports: testthat
Suggests: knitr, rmarkdown (≥ 1.0)
Published: 2017-11-10
Author: Noam Finkelstein [aut, cre], Lukasz Bartnik [aut]
Maintainer: Noam Finkelstein <noam.finkelstein at>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README NEWS
CRAN checks: mockery results


Reference manual: mockery.pdf
Vignettes: Mocks: Integrating with testthat
Package source: mockery_0.4.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X El Capitan binaries: r-release: mockery_0.4.1.tgz
OS X Mavericks binaries: r-oldrel: mockery_0.4.1.tgz
Old sources: mockery archive

Reverse dependencies:

Reverse imports: githubinstall
Reverse suggests: AlphaVantageClient, AzureML, checkpoint, civis, cli, covr, cranlike, crayon, debugme, dwapi, evaluator, keyring, lintr, miniCRAN, prettycode, remotes, rGoodData, sankey, secret, sessioninfo, subprocess, tracer, whoami


Please use the canonical form to link to this page.