We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45734fe commit 32082d1Copy full SHA for 32082d1
1 file changed
lib/mix/lib/mix/tasks/test.ex
@@ -267,8 +267,19 @@ defmodule Mix.Tasks.Test do
267
ignored will emit a warning.
268
269
Mix ignores files ending in `_helper.exs` by default, as well as any file
270
- included in the project's `:elixirc_paths`. You may choose to disable all
271
- warnings by ignoring all files with `[fn _ -> true end]`.
+ included in the project's `:elixirc_paths`.
+
272
+ For example, to ignore all files in a `test/support/` folder:
273
274
+ def project do
275
+ [
276
+ ...,
277
+ test_ignore_filters: [&String.starts_with?(&1, "test/support/")]
278
+ ]
279
+ end
280
281
+ You may choose to disable all warnings by ignoring all files with
282
+ `[fn _ -> true end]`.
283
284
Paths are relative to the project root and separated by `/`, even on Windows.
285
0 commit comments