Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show compiler warnings in own section of Mix ExUnit Task output #561

Open
Havvy opened this issue Dec 10, 2016 · 1 comment
Open

Show compiler warnings in own section of Mix ExUnit Task output #561

Havvy opened this issue Dec 10, 2016 · 1 comment

Comments

@Havvy
Copy link

Havvy commented Dec 10, 2016

Right now the only way to see those compiler warnings is to actually look at the full output. It'd be useful if they were in their own section, possibly as a failing test?

@KronicDeth
Copy link
Owner

KronicDeth commented Dec 11, 2016

In Java the build output would go to the Build pane because the compilation is a distinct command, so I could do that: MIX_ENV=test mix compile first, put that in the build tab, but the usual way of tests are written, I don't think will actually catch the *.exs build output in that since they are only built in-memory when mix test is run.

Comparing it to Ruby in Rubymine, any warnings are just hidden in the full output as the plugin currently works.

So, no real obvious pattern from Java or Ruby.

I can check if the output from @JakeBecker's formatter is distinct for the compilation steps and capture them and put it in some separate output, but I think I'd need to add an option (off by default) to show compilation warnings as failed tests as otherwise people that are expected clean tests, but allow warnings will wonder why the test suite is failing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants