GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: move --test-coverage-{ex,in}clude to proper location · nodejs/node@139c62e

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • cli.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/cli.md‎

Copy file name to clipboardExpand all lines: doc/api/cli.md
+34Lines changed: 34 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -2008,6 +2008,40 @@ added: v20.10.0
20082008
The maximum number of test files that the test runner CLI will execute
20092009
concurrently. The default value is `os.availableParallelism() - 1`.
20102010

2011+
### `--test-coverage-exclude`
2012+
2013+
<!-- YAML
2014+
added:
2015+
- v22.5.0
2016+
-->
2017+
2018+
> Stability: 1 - Experimental
2019+
2020+
Excludes specific files from code coverage using a glob pattern, which can match
2021+
both absolute and relative file paths.
2022+
2023+
This option may be specified multiple times to exclude multiple glob patterns.
2024+
2025+
If both `--test-coverage-exclude` and `--test-coverage-include` are provided,
2026+
files must meet **both** criteria to be included in the coverage report.
2027+
2028+
### `--test-coverage-include`
2029+
2030+
<!-- YAML
2031+
added:
2032+
- v22.5.0
2033+
-->
2034+
2035+
> Stability: 1 - Experimental
2036+
2037+
Includes specific files in code coverage using a glob pattern, which can match
2038+
both absolute and relative file paths.
2039+
2040+
This option may be specified multiple times to include multiple glob patterns.
2041+
2042+
If both `--test-coverage-exclude` and `--test-coverage-include` are provided,
2043+
files must meet **both** criteria to be included in the coverage report.
2044+
20112045
### `--test-force-exit`
20122046

20132047
<!-- YAML

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.