dummy v1.0.0 Dummy

Documentation for Dummy.

Link to this section Summary

Functions

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

Link to this section Functions

Link to this function

apply_options(module, options)

Link to this macro

called(arg) (macro)

Link to this macro

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

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

Link to this function

replace_method(module, method)