You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_runner: print failed coverage reports with dot runner #60884
When running tests with both the dot reporter and coverage reports, if the coverage report fails there is no output (other than the dots) but the program exits with a failure status code.
What is the feature you are proposing to solve the problem?
Similar to this PR, it would be nice to display some sort of failure reason so its clear why the command failed.
I'd like to work on this. I'll follow the pattern established in #52655 (which added failed test output to the dot reporter) and extend it to handle coverage failures. Will start by reviewing the dot reporter implementation and the coverage subsystem to understand where coverage failures are detected and how to surface them.
Hi! I am looking to make my first open-source contribution and would love to work on this issue. Could you please let me know if it is still available and point me to the relevant files to get started?
Submitted a fix for this in PR #62234. The dot reporter now displays coverage threshold failure messages when coverage checks fail, making it clear why the test run failed instead of just printing dots.
I can look into this! The dot reporter (lib/internal/test_runner/reporter/dot.js) currently suppresses output for successful/passing states to keep the console clean. However, when coverage fails (e.g., threshold not met), it seems the reporter doesn't get the correct failure event or suppresses the coverage error message. We should ensure test:coverage failures emit a descriptive error in the dot reporter similar to how standard test failures are logged.
Activity
Add some more notes to README.md
Add some more notes to README.md
Add some more notes to README.md
Add some more notes to README.md
costajohnt commentedon Jan 24, 2026
I'd like to work on this. I'll follow the pattern established in #52655 (which added failed test output to the dot reporter) and extend it to handle coverage failures. Will start by reviewing the dot reporter implementation and the coverage subsystem to understand where coverage failures are detected and how to surface them.
zhanglinqian commentedon Feb 12, 2026
I'd like to work on this issue.
HeshanJayasekara18 commentedon Mar 2, 2026
Hi! I am looking to make my first open-source contribution and would love to work on this issue. Could you please let me know if it is still available and point me to the relevant files to get started?
3 remaining items
zakiscoding commentedon Mar 12, 2026
Submitted a fix for this in PR #62234. The dot reporter now displays coverage threshold failure messages when coverage checks fail, making it clear why the test run failed instead of just printing dots.
khalidsaidi commentedon Mar 25, 2026
test_runner: display warn/error diagnostics with the dot reporter
nirupam-06 commentedon Jul 21, 2026
Hi! I'd like to work on this issue. Could you please assign it to me? Thanks!
test_runner: print coverage and diagnostic info with dot reporter
WaghuleAsmita commentedon Jul 28, 2026
Hi! I'd like to work on this issue. Could you please assign it to me? Thanks!
saitejabandaru-in commentedon Jul 30, 2026
I can look into this! The dot reporter (
lib/internal/test_runner/reporter/dot.js) currently suppresses output for successful/passing states to keep the console clean. However, when coverage fails (e.g., threshold not met), it seems the reporter doesn't get the correct failure event or suppresses the coverage error message. We should ensuretest:coveragefailures emit a descriptive error in the dot reporter similar to how standard test failures are logged.test_runner: print coverage and diagnostic info with dot reporter
test_runner: print coverage and diagnostic info with dot reporter
test_runner: print coverage and diagnostic info with dot reporter
test_runner: print coverage and diagnostic info with dot reporter
test_runner: print coverage and diagnostic info with dot reporter
test_runner: print coverage and diagnostic info with dot reporter