robertzk/rum: Mocha-inspired mocking and stubbing (http://github.com/robertzk/rum)

Have you ever wished to test whether a certain R function was called or not called? Or whether it was called with a given set of parameters? Inspired by Ruby's Mocha gem, rum aims to make it easy to write tests that ensure other package functions are or are not called. This is important because it eliminates messy stubbing that would have to be performed otherwise to achieve the same effect.

Getting started

Package details

AuthorRobert Krzyzanowski <[email protected]>
MaintainerRobert Krzyzanowski <[email protected]>
LicenseMIT + file LICENSE
Version0.1.0
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("robertzk/rum")
robertzk/rum documentation built on May 25, 2017, 6:37 a.m.