ExMachina for Elixir: Factories with a Functional Twist
ExMachina makes it easy to generate Elixir test data using factories. It works out of the box with Ecto associations and embeds, and can be easily composed to make creating data extremely flexible.
Read next Playing Poker with Elixir (part 2)