Visualisation of Elixir Supervision Tree Strategies Cloud Foundry buildpack for Elixir supports anynines

Mocks in Elixir

For a long time I haven’t been able to figure out “the way”(tm) to do mocks in Elixir.

I have explored different suggested patterns and found the one I prefer.

I wrote a blog post about it here: https://medium.com/@lasseebert/mocks-in-elixir-7204f8cc9d0f#.3k5oolwkg