GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — test_runner: print coverage and diagnostic info with dot reporter by mag123c · Pull Request #61423 · nodejs/node Conversation
| ||||||||||||||||||||||||||||||||||||||||||
|
Review requested:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
83840c7 to
313a274
Compare
There was an error while loading. Please reload this page.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@ ## main #61423 +/- ## ========================================== - Coverage 90.14% 90.13% -0.02% ========================================== Files 743 743 Lines 242415 242438 +23 Branches 45651 45655 +4 ========================================== - Hits 218531 218517 -14 - Misses 15386 15424 +38 + Partials 8498 8497 -1
🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Hey @mag123c, could you please add some tests? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| @@ -170,4 +170,25 @@ for (const coverage of coverages) { | |||
| assert.strictEqual(result.status, 1); | |||
| assert(!findCoverageFileForPid(result.pid)); | |||
| }); | |||
|
|
|||
| test(`test failing ${coverage.flag} with dot reporter`, () => { | |||
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
NIT: I would suggest adding a snapshot test too, like as we have done in test/test-runner/test-output-coverage-width-100-uncovered-lines.mjs 👀
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
@pmarchini Thanks! I did!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
When using the dot reporter with coverage enabled, coverage threshold failures and coverage reports were not printed, only an exit code was returned. This made it impossible to know why the test run failed. This change adds handling for test:diagnostic and test:coverage events to the dot reporter, matching the behavior of the spec reporter. Fixes: nodejs#60884 Signed-off-by: mag123c <[email protected]>
Signed-off-by: mag123c <[email protected]>
Signed-off-by: mag123c <[email protected]>
1f59f26 to
f27934e
Compare
There was an error while loading. Please reload this page.
|
One thing worth flagging for whoever picks this up: several newer PRs now touch the same handler in |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Failed to start CI- Validating Jenkins credentials ✔ Jenkins credentials valid - Querying data for job/node-test-pull-request/71552/ [SyntaxError: Unexpected token '<', ..." https://github.com/nodejs/node/actions/runs/30192660637 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Failed to start CI- Validating Jenkins credentials ✔ Jenkins credentials valid - Querying data for job/node-test-pull-request/71552/ [SyntaxError: Unexpected token '<', ..." https://github.com/nodejs/node/actions/runs/30195826270 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Commit Queue failedThe pull request was removed from the Commit Queue and labeled
commit-queue-failed
Full Commit Queue output |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
When using the dot reporter with coverage enabled, coverage threshold failures and coverage reports were not printed, only an exit code was returned. This made it impossible to know why the test run failed. This change adds handling for test:diagnostic and test:coverage events to the dot reporter, matching the behavior of the spec reporter. Fixes: #60884 Signed-off-by: mag123c <[email protected]> PR-URL: #61423 Reviewed-By: Chemi Atlow <[email protected]> Reviewed-By: Xuguang Mei <[email protected]> Reviewed-By: Aviv Keller <[email protected]>
|
Landed in 2858f34 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
When using the dot reporter with coverage enabled, coverage threshold failures and coverage reports were not printed, only an exit code was returned. This made it impossible to know why the test run failed. This change adds handling for test:diagnostic and test:coverage events to the dot reporter, matching the behavior of the spec reporter. Fixes: #60884 Signed-off-by: mag123c <[email protected]> PR-URL: #61423 Reviewed-By: Chemi Atlow <[email protected]> Reviewed-By: Xuguang Mei <[email protected]> Reviewed-By: Aviv Keller <[email protected]>
When using the dot reporter with coverage enabled, coverage threshold failures and coverage reports were not printed, only an exit code was returned. This made it impossible to know why the test run failed. This change adds handling for test:diagnostic and test:coverage events to the dot reporter, matching the behavior of the spec reporter. Fixes: #60884 Signed-off-by: mag123c <[email protected]> PR-URL: #61423 Reviewed-By: Chemi Atlow <[email protected]> Reviewed-By: Xuguang Mei <[email protected]> Reviewed-By: Aviv Keller <[email protected]>
When using the dot reporter with coverage enabled, coverage threshold failures and coverage reports were not printed, only an exit code was returned. This made it impossible to know why the test run failed. This change adds handling for test:diagnostic and test:coverage events to the dot reporter, matching the behavior of the spec reporter. Fixes: #60884 Signed-off-by: mag123c <[email protected]> PR-URL: #61423 Reviewed-By: Chemi Atlow <[email protected]> Reviewed-By: Xuguang Mei <[email protected]> Reviewed-By: Aviv Keller <[email protected]>
When using the dot reporter with coverage enabled, coverage threshold failures and coverage reports were not printed, only an exit code was returned. This made it impossible to know why the test run failed. This change adds handling for test:diagnostic and test:coverage events to the dot reporter, matching the behavior of the spec reporter. Fixes: #60884 Signed-off-by: mag123c <[email protected]> PR-URL: #61423 Reviewed-By: Chemi Atlow <[email protected]> Reviewed-By: Xuguang Mei <[email protected]> Reviewed-By: Aviv Keller <[email protected]>
When using the dot reporter with coverage enabled, coverage threshold failures and coverage reports were not printed, only an exit code was returned. This made it impossible to know why the test run failed. This change adds handling for test:diagnostic and test:coverage events to the dot reporter, matching the behavior of the spec reporter. Fixes: #60884 Signed-off-by: mag123c <[email protected]> PR-URL: #61423 Reviewed-By: Chemi Atlow <[email protected]> Reviewed-By: Xuguang Mei <[email protected]> Reviewed-By: Aviv Keller <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
test_runner: print failed coverage reports with dot runner
There was an error while loading. Please reload this page.