- Warn if global is used with async mode
- Fix compilation warnings
- Add
:skip_optional_callbacks
option todefmock/2
that allows you to optionally skip the definition of optional callbacks. - Include arguments in
UnexpectedCallError
exceptions
- Use
$callers
to automatically use expectations defined in the calling process ($callers
is set automatically by tasks in Elixir v1.8 onwards) - Creating an allowance in global mode is now a no-op for convenience
- Support registered process names for allowances