Test an Umbrella Project
Explore how to test Elixir umbrella projects, including running tests for all apps together and isolating individual apps for focused testing. Understand the use of mix commands with app selection and setting up aliases to simplify commands. This lesson helps you manage testing workflows efficiently in a multi-app Elixir project.
We'll cover the following...
We'll cover the following...
We’ve created our first umbrella app and the first app in our umbrella. Let’s see how we can test this in isolation.
Test the ensemble
First, let’s switch back to our umbrella project root. As set up, all the apps in an umbrella app are tested together using a single call as:
$ mix test
...