Skip to content

Commit

Permalink
Add a note about line filter for a file with multiple test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
lexmag committed Mar 20, 2016
1 parent d70b61e commit 3f9ea58
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/mix/lib/mix/tasks/test.ex
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@ defmodule Mix.Tasks.Test do
mix test --only line:12 test/some/particular/file_test.exs
Note that line filter takes the closest test on or before the given line number.
In the case a single file contains more than one test module (test case),
line filter applies to every test case before the given line number, thus more
than one test might be taken for the run.
## Configuration
* `:test_paths` - list of paths containing test files, defaults to
Expand Down

0 comments on commit 3f9ea58

Please sign in to comment.