Skip to content

Commit

Permalink
New option to skip the initial test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
duncan3dc committed Feb 14, 2020
1 parent 1942db9 commit 99dbe4a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/guide/command-line-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ vendor/bin/phpunit --coverage-xml=build/coverage/coverage-xml --log-junit=build/
infection.phar --coverage=build/coverage
```

### `--skip-initial-test-suite`

If you have already run the test suite to ensure it is passing, and you are providing coverage using `--coverage` then you can use this option to increase performance by not running the entire test suite again.

Note that is it extremely important that you ensure the test suite is passing when using this option, otherwise test failures would appear like caught mutations and those mutations may be reported incorrectly.

### `--only-covered`

Run the mutation testing only for covered by tests files.
Expand Down

0 comments on commit 99dbe4a

Please sign in to comment.