jfiksel/mockery: Mocking Library for R
Version 0.4.1

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.

Getting started

Package details

Maintainer
LicenseMIT + file LICENSE
Version0.4.1
URL https://github.com/jfiksel/mockery
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("devtools")
library(devtools)
install_github("jfiksel/mockery")
jfiksel/mockery documentation built on July 28, 2018, 1:44 p.m.