Mocky
It's a library to mock and stub your Elixir module.
It basically works using Agent and switch to real or fake module using the configuration file.
Installation
If available in Hex, the package can be installed
by adding mocky to your list of dependencies in mix.exs:
def deps do
[{:mocky, "~> 0.1.0"}]
endDocumentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/mock.