mix.el icon indicating copy to clipboard operation
mix.el copied to clipboard

Wrong path given to mix test in umbrella app

Open spacebat opened this issue 5 months ago • 1 comments

Hi, I have an umbrella app, when running tests for an app within the umbrella, mix-test-current-buffer runs all the tests in the app, not just that file. After the test runs mix prints:

Paths given to "mix test" did not match any directory/file: test/path/to/file_test.exs

That's because it's missing the path prefix to go from the umbrella root to the sub-app in question.

When I find time I intend to look into this issue but I figured it's good to raise it here. Ah, I see this seems to be supported in apprentice: https://github.com/Sasanidas/Apprentice/blob/master/apprentice-mix.el#L52

Perhaps I should give that a go.

Thanks for this package BTW!

spacebat avatar Jan 29 '24 23:01 spacebat