Hide warning ExUnit

Hello,

I’m using the ExUnit module to run some test on a project I’m currently developing. I’m still in the early phase of writing the code and defined a bunch that is not used for now but will be. My problem is that is really flood the test output. Isn’t it some sort of settings that I could use to turn off the warning?

I know that I can add an underscore to the unused variable but I don’t want to as those will later be used.

I feel like it’s a pretty easy question, but I wasn’t able to find a clean solution on the web.

Thank you,

Softtransistor

1 Like

You can try putting this inside your test module:

@compile :nowarn_unused_vars
1 Like