View Source Dummy (dummy v2.1.0)

Documentation for Dummy.

Summary

Functions

Link to this function

apply_options(module, options)

View Source
Link to this function

assert_called(module, f, expected_args)

View Source
Link to this macro

dummy(module_name, methods_list, options \\ [], list)

View Source (macro)

Mocks methods of a single module. Mocked methods return their first argument by default and non-mocked methods are passed through.

Link to this function

get_call_args(module, function)

View Source
Link to this function

is_called_function?(call_tuple, module, function)

View Source