elixir_mock v0.2.2 ElixirMock

Documentation for ElixirMock.

TODO: We have too many public macros that are supposed to be private.

Move ast creation to functions as much as possible

Link to this section Summary

Link to this section Functions

Link to this macro assert_called(arg) (macro)
Link to this function build_call_string(fn_name, args)
Link to this function build_calls_string(calls)
Link to this macro create_mock(real_module, mock_module_name, call_through \\ false) (macro)
Link to this macro defmock_of(real_module, list) (macro)
Link to this macro defmock_of(real_module, context \\ {:%{}, [], []}, list) (macro)
Link to this macro inject_elixir_mock_utilities(context) (macro)
Link to this macro inject_monitored_real_functions(real_module, real_functions) (macro)
Link to this function mock_of(real_module, call_through \\ false)
Link to this macro refute_called(arg) (macro)
Link to this function verify_mock_structure(mock_fns, real_module)
Link to this macro with_mock(mock_var_name) (macro)