Skip to content

test_runner: print failed coverage reports with dot runner - #65628

Open
saitejabandaru-in wants to merge 1 commit into
nodejs:mainfrom
saitejabandaru-in:fix-60884-dot-reporter-coverage
Open

test_runner: print failed coverage reports with dot runner#65628
saitejabandaru-in wants to merge 1 commit into
nodejs:mainfrom
saitejabandaru-in:fix-60884-dot-reporter-coverage

Conversation

@saitejabandaru-in

Copy link
Copy Markdown

Fixes #60884

When the coverage threshold is not met, the test runner emits a test:diagnostic event with level = "error". Previously, the dot reporter was suppressing this entirely, leading to silent failures on coverage if there were no standard test failures.
This change pushes a synthetic test failure on this condition to failedTests and increments the dot counter with an X, so it reports gracefully at the end.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/test_runner

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test_runner Issues and PRs related to the test runner subsystem. labels Aug 28, 2026
@MikeMcC399

MikeMcC399 commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

You have opened a PR that claims to fix issue #60884 which is already closed because it is resolved through PR #61423.

Your PR branch is also 523 commits behind the main branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ci PRs that need a full CI run. test_runner Issues and PRs related to the test runner subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test_runner: print failed coverage reports with dot runner

3 participants