Simplify Your Phoenix Controllers with action_fallback ExAws.CloudSearch: CloudSearch Service Module for ExAws (0.2)

How to mock HTTPoison in Elixir?

In this article, I’m showing how to use MOX library to simulate HTTPoison behavior and how properly mock HTTP client in your tests.

Shameless plug: Check out @elixirstatus' other community project:

Credo, a new static code analysis tool that acts as a code linter, but also focusses on teaching coding practices and code consistency.