Christian, husband, father, and software engineer. I write code for the web. When you test an Elixir app that uses Ecto, you will find yourself needing a way to insert test data into the database. There are many different approaches to doing this, and I thought I'd cover a few, and then describe what I think the best approach is for Elixir. Global Fixtures By default, Rails solves this problem by