Skip to content

Commit

Permalink
doc: move --test-coverage-{ex,in}clude to proper location
Browse files Browse the repository at this point in the history
This commit moves the documentation for two CLI flags to the
proper sorted location.

PR-URL: #53926
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Moshe Atlow <[email protected]>
  • Loading branch information
cjihrig authored and marco-ippolito committed Aug 19, 2024
1 parent be94e47 commit 139c62e
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -2008,6 +2008,40 @@ added: v20.10.0
The maximum number of test files that the test runner CLI will execute
concurrently. The default value is `os.availableParallelism() - 1`.

### `--test-coverage-exclude`

<!-- YAML
added:
- v22.5.0
-->

> Stability: 1 - Experimental
Excludes specific files from code coverage using a glob pattern, which can match
both absolute and relative file paths.

This option may be specified multiple times to exclude multiple glob patterns.

If both `--test-coverage-exclude` and `--test-coverage-include` are provided,
files must meet **both** criteria to be included in the coverage report.

### `--test-coverage-include`

<!-- YAML
added:
- v22.5.0
-->

> Stability: 1 - Experimental
Includes specific files in code coverage using a glob pattern, which can match
both absolute and relative file paths.

This option may be specified multiple times to include multiple glob patterns.

If both `--test-coverage-exclude` and `--test-coverage-include` are provided,
files must meet **both** criteria to be included in the coverage report.

### `--test-force-exit`

<!-- YAML
Expand Down

0 comments on commit 139c62e

Please sign in to comment.