ExDoubles is an opinionated mocking library for Elixir. It takes the stance that the easiest way to create loose coupling in your codebase is to follow the Dependency Inversion Principle (DIP).
This framework allows adhoc mocks so that you can emulate edge cases in your tests.