I noticed, that if I have opened an umbrella project, and I'm in the root of it, then tests are launched using not full paths.
Let's say we have the following structure:
It must be because it detects the mix.exs of the child app as the root. I don't work with umbrella projects, so I hadn't noticed. Should be possible to detect the root properly.
I noticed, that if I have opened an umbrella project, and I'm in the root of it, then tests are launched using not full paths. Let's say we have the following structure:
and when I ask to run tests for
foo_test.exs
, then the following command is executed:and mix tries to find the file in all the projects and reports these messages for every umbrella project:
it would be great if for umbrella projects the following command is executed:
Such approach would increase the speed of running tests.