For integration tests, you can take a look at Hound , which is similar to Capybara for Elixir. They have some nice examples to get you started.
Phoenix has no standard way to load lights like Rails, as far as I know. My personal opinion is that it is best to have a minimum setting for each test case, rather than complex global fixtures. This greatly simplifies viewing what you are actually testing and which fixtures are really relevant for the current test case. I would say that it is better to spend your time creating some helpers that will allow you to easily create recordings for testing. You can also find Blacksmith and Faker projects useful for creating test data.
source share