Skip to content

test_runner: add support for --test-coverage-include-all - #64830

Open
avivkeller wants to merge 2 commits into
nodejs:mainfrom
avivkeller:test-coverage-include-all
Open

test_runner: add support for --test-coverage-include-all#64830
avivkeller wants to merge 2 commits into
nodejs:mainfrom
avivkeller:test-coverage-include-all

Conversation

@avivkeller

Copy link
Copy Markdown
Member

Add s a CLI option to include source files that were never loaded by the test run in the coverage
report, where they are reported as having zero coverage. Candidate files are searched for in the current working directory, and are subject to the same --test-coverage-include and --test-coverage-exclude filtering as the rest of the report.

As discussed during today's @nodejs/test_runner meeting with @ljharb and @JakobJingleheimer

Signed-off-by: avivkeller <me@aviv.sh>
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/config
  • @nodejs/test_runner

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. labels Jul 29, 2026
Comment thread doc/api/cli.md Outdated
Comment thread doc/node.1 Outdated
Co-authored-by: Aviv Keller <me@aviv.sh>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants