mock

Configurable functions to test impure code
README

This package provides "mocks", fake functions that can be configured to return
values or raise exception. It is possible to inspect their arguments after their
execution. The API is greatly inspired by unittest.mock in Python.

There is no magic under the hood, it is "just" a reference to a function, but
it makes it possible to have pleasant output like this in your tests:

A wrapper for OUnit2 is available as mock-ounit.

Install
Published
16 Mar 2018
Sources
mock-0.1.0.tbz
md5=f5a6529d2df5aa1789846c902028cd1c
Dependencies
jbuilder
>= "1.0+beta10"
Reverse Dependencies