Dependencies for the test environment

Posted . Visible to the public.

When I updated to Elixir 0.12.3, I found the dependency behaviour changed for the test environment. Running

mix deps.get

Gets dependencies for production(?), so I'm able to compile with

mix

However

mix test

Fails with Unchecked dependencies for environment test:.

Get test dependencies with

MIX_ENV=test mix deps.get
Paul Wilson
Posted by Paul Wilson to elixir tips (2014-02-03 23:14)