Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lib/mix/lib/mix/tasks/test.ex
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ defmodule Mix.Tasks.Test do

This task will preload the `test/test_helper.exs` which
should do all testing setup and then require all files
that matches the given `test_pattern` in parallel.
that match the given `test_pattern` in parallel.

Before running tests, it invokes the prepare task
Before running tests, it invokes the `App.Start` task
which defaults to compile and load your project.

A list of files can be given after the task name in
order to select the files to compile.

## Command line options

* `--trace` - run tests with detailed reporting. Automatically set max cases to 1;
* `--trace` - run tests with detailed reporting. Automatically sets `max-cases` to 1;
* `--max-cases` - set the maximum number of cases running async;
* `--cover` - the directory to include coverage results;
* `--force` - forces compilation regardless of module times;
Expand All @@ -29,7 +29,7 @@ defmodule Mix.Tasks.Test do

## Configuration

* `:test_paths` - path containing tests.
* `:test_paths` - list of paths containing test files.
Defaults to `["test"]`.

* `:test_pattern` - a pattern to load test files.
Expand All @@ -39,7 +39,7 @@ defmodule Mix.Tasks.Test do
for testing. Defaults to `test/test_helper.exs`.

* `:test_coverage` - the directory to include test coverage results.
Defaults to nil.
Defaults to `nil`.

"""

Expand Down