Is anyone else seeing this behaviour? I wonder if it’s desired behaviour or a bug…
I have an umbrella
/app/
app1/
app2/ # phoenix app, depending on phoenix_html and app1
When I cd into /app/app1 and mix test, I get
** (Mix) Could not start application phoenix_html: could not find application file: phoenix_html.app
I cd to /app/app2, run mix test there to ensure phoenix_html is present. Then I cd back, but the problem still exists…
Each umbrella app must declare it’s own dependencies properly. Only if you start things from the root folder all apps and their respective dependencies are started. If you run mix test only for one app, only this apps dependencies are started. So if aap1 depends on phoenix_html, then you should decplade that in it’s mix.exs.