[Podcast] Elixir Wizards S12E02 "Discovery Discoveries" with Alicia Brindisi and Bri LaVorgna Optimum Elixir CI with GitHub Actions

SeedFactory - a toolkit for test data generation

GitHub, Docs

The main idea of SeedFactory is to generate data in tests according to your application business logic (read as context functions if you use Phoenix Contexts) whenever it is possible and avoid direct inserts to the database (as opposed to ex_machina). This approach allows you to minimize testing of invalid states, as you’re not forced to keep complex database structure in your head in order to prepare test data.