ExStub v0.2.0 API Reference

Modules

Function info

ExStub provides an easy way to stub a module to facilitate writing clean, isolated unit tests

This module provides the assert_called that can be used to assert functions calls on your stubs. This module is already required and imported when using use ExStub

Provide functions to generate a forwarding function, and the stub module

ExStub.Recorder Provides methods to record the function calls and provides a set of functions to query the recorded executions

ExStub utilitie class