We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36da99b commit a92f92eCopy full SHA for a92f92e
lib/mix/lib/mix/tasks/test.ex
@@ -199,8 +199,11 @@ defmodule Mix.Tasks.Test do
199
Note that in trace mode test timeouts will be ignored as timeout is set to `:infinity`
200
201
* `--warnings-as-errors` *(since v1.12.0)* - treats warnings as errors and returns a non-zero
202
- exit status. This option only applies to test files. To treat warnings as errors during
203
- compilation and during tests, run:
+ exit status if the test suite would otherwise pass. Note that failures reported by
+ `--warnings-as-errors` cannot be retried with the `--failed` flag.
204
+
205
+ This option only applies to test files. To treat warnings as errors during compilation and
206
+ during tests, run:
207
MIX_ENV=test mix do compile --warnings-as-errors + test --warnings-as-errors
208
209
## Configuration
0 commit comments