Running tests in an umbrella app
From the collection Elixir

mix task
tdd
elixir
umbrella apps

QR Code
Running tests in an umbrella app

You can show this QR Code to a friend or ask them to scan directly on your screen!

Thanks for sharing! 🫶

The url for this was also copied to your clipboard!
To run all tests

mix cmd --app child_app_name mix test --color

Specific file/line

mix cmd --app child_app_name mix test test/child_app_name_nice_test.exs:69 --color

We can also define a Mix task to make our life easier!

def aliases do
  [
    child_test: "cmd --app child_app_name mix test --color"
  ]
end

Then you call 
mix child_test
or
mix child_test test/child_app_name_nice_test.exs:69