test_runner: exclude test files from code coverage by default #57867
Annotations
3 errors and 1 notice
Test:
test/parallel/test-runner-coverage.js#L400
--- stdout ---
βΆ test coverage report
β handles the inspector not being available (0.407667ms)
β test coverage report (0.760875ms)
βΆ test tap coverage reporter
β coverage is reported and dumped to NODE_V8_COVERAGE if present (138.9365ms)
::debug::starting to run test coverage report
::debug::starting to run handles the inspector not being available
::debug::completed running handles the inspector not being available
::debug::completed running test coverage report
::debug::starting to run test tap coverage reporter
::debug::starting to run coverage is reported and dumped to NODE_V8_COVERAGE if present
::debug::completed running coverage is reported and dumped to NODE_V8_COVERAGE if present
β coverage is reported without NODE_V8_COVERAGE present (133.390792ms)
β test tap coverage reporter (272.566417ms)
βΆ test spec coverage reporter
β coverage is reported and dumped to NODE_V8_COVERAGE if present (78.830625ms)
::debug::starting to run coverage is reported without NODE_V8_COVERAGE present
::debug::completed running coverage is reported without NODE_V8_COVERAGE present
::debug::completed running test tap coverage reporter
::debug::starting to run test spec coverage reporter
::debug::starting to run coverage is reported and dumped to NODE_V8_COVERAGE if present
::debug::completed running coverage is reported and dumped to NODE_V8_COVERAGE if present
β coverage is reported without NODE_V8_COVERAGE present (96.094125ms)
β test spec coverage reporter (175.143333ms)
β single process coverage is the same with --test (206.648ms)
β coverage is combined for multiple processes (197.38675ms)
::debug::starting to run coverage is reported without NODE_V8_COVERAGE present
::debug::completed running coverage is reported without NODE_V8_COVERAGE present
::debug::completed running test spec coverage reporter
::debug::starting to run single process coverage is the same with --test
::debug::completed running single process coverage is the same with --test
::debug::starting to run coverage is combined for multiple processes
::debug::completed running coverage is combined for multiple processes
οΉ£ coverage works with isolation=none (0.120875ms) # SKIP
βΆ coverage reports on lines, functions, and branches
β does not include node_modules (0.183791ms)
β reports on function coverage (0.068334ms)
::debug::starting to run coverage works with isolation=none
::debug::completed running coverage works with isolation=none
::debug::starting to run coverage reports on lines, functions, and branches
::debug::starting to run does not include node_modules
::debug::completed running does not include node_modules
::debug::starting to run reports on function coverage
::debug::completed running reports on function coverage
β reports on branch coverage (0.060375ms)
β reports on line coverage (0.139625ms)
β coverage reports on lines, functions, and branches (139.080167ms)
β coverage with ESM hook - source irrelevant (184.939916ms)
::debug::starting to run reports on branch coverage
::debug::completed running reports on branch coverage
::debug::starting to run reports on line coverage
::debug::completed running reports on line coverage
::debug::completed running coverage reports on lines, functions, and branches
::debug::starting to run coverage with ESM hook - source irrelevant
::debug::completed running coverage with ESM hook - source irrelevant
β coverage with ESM hook - source transpiled (169.959417ms)
β coverage with excluded files (71.792875ms)
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert(result.stdout.toString().includes(report))
at TestContext.<anonymous> (/Users/runner/work/node/node/test/parallel/test-runner-coverage.js:400:3)
at Test.runInAsyncScope (node:async_hooks:211:14)
at Test.run (node:internal/test_runner/test:934:25)
at Test.processPendingSubtests (node:internal/test_runner/test:633:18)
at Test.postRun (node:internal/test_runner/test:1045:19)
at Test.run (node:internal/test_runner/test:973:12)
at async Test.processPendingSubtests (node:interna
|
Test:
test/parallel/test-runner-output.mjs#L296
--- stdout ---
βΆ test runner output
β test-runner/output/abort.js (1103.130666ms)
β test-runner/output/abort-runs-after-hook.js (1095.18625ms)
::debug::starting to run test runner output
::debug::starting to run test-runner/output/abort.js
::debug::completed running test-runner/output/abort.js
::debug::starting to run test-runner/output/abort-runs-after-hook.js
::debug::completed running test-runner/output/abort-runs-after-hook.js
β test-runner/output/abort_suite.js (1127.896166ms)
β test-runner/output/abort_hooks.js (1089.656833ms)
β test-runner/output/describe_it.js (1091.350375ms)
β test-runner/output/describe_nested.js (1080.199417ms)
β test-runner/output/eval_dot.js (1075.686125ms)
β test-runner/output/eval_spec.js (1067.233291ms)
β test-runner/output/eval_tap.js (1048.08ms)
::debug::starting to run test-runner/output/abort_suite.js
::debug::completed running test-runner/output/abort_suite.js
::debug::starting to run test-runner/output/abort_hooks.js
::debug::completed running test-runner/output/abort_hooks.js
::debug::starting to run test-runner/output/describe_it.js
::debug::completed running test-runner/output/describe_it.js
::debug::starting to run test-runner/output/describe_nested.js
::debug::completed running test-runner/output/describe_nested.js
::debug::starting to run test-runner/output/eval_dot.js
::debug::completed running test-runner/output/eval_dot.js
::debug::starting to run test-runner/output/eval_spec.js
::debug::completed running test-runner/output/eval_spec.js
::debug::starting to run test-runner/output/eval_tap.js
::debug::completed running test-runner/output/eval_tap.js
::debug::starting to run test-runner/output/filtered-suite-delayed-build.js
β test-runner/output/filtered-suite-delayed-build.js (910.721417ms)
β test-runner/output/filtered-suite-order.mjs (903.719417ms)
β test-runner/output/filtered-suite-throws.js (896.848125ms)
::debug::completed running test-runner/output/filtered-suite-delayed-build.js
::debug::starting to run test-runner/output/filtered-suite-order.mjs
::debug::completed running test-runner/output/filtered-suite-order.mjs
::debug::starting to run test-runner/output/filtered-suite-throws.js
::debug::completed running test-runner/output/filtered-suite-throws.js
β test-runner/output/hooks.js (1075.469791ms)
::debug::starting to run test-runner/output/hooks.js
::debug::completed running test-runner/output/hooks.js
β test-runner/output/hooks_spec_reporter.js (1163.19675ms)
β test-runner/output/skip-each-hooks.js (858.311584ms)
β test-runner/output/suite-skip-hooks.js (842.918667ms)
::debug::starting to run test-runner/output/hooks_spec_reporter.js
::debug::completed running test-runner/output/hooks_spec_reporter.js
::debug::starting to run test-runner/output/skip-each-hooks.js
::debug::completed running test-runner/output/skip-each-hooks.js
::debug::starting to run test-runner/output/suite-skip-hooks.js
::debug::completed running test-runner/output/suite-skip-hooks.js
β test-runner/output/timeout_in_before_each_should_not_affect_further_tests.js (1533.129292ms)
β test-runner/output/hooks-with-no-global-test.js (807.159667ms)
β test-runner/output/global-hooks-with-no-tests.js (824.409417ms)
β test-runner/output/before-and-after-each-too-many-listeners.js (795.427791ms)
β test-runner/output/before-and-after-each-with-timeout-too-many-listeners.js (737.327333ms)
β test-runner/output/force_exit.js (734.567542ms)
β test-runner/output/global_after_should_fail_the_test.js (732.328ms)
::debug::starting to run test-runner/output/timeout_in_before_each_should_not_affect_further_tests.js
::debug::completed running test-runner/output/timeout_in_before_each_should_not_affect_further_tests.js
::debug::starting to run test-runner/output/hooks-with-no-global-test.js
::debug::completed running test-runner/output/hooks-with-no-global-test.js
::debug::starting to run test-runner/output/global-hooks-with-no-tests.js
::debug::completed running test-runner/output/global-hooks-with-no-tests.js
::debug::starting to run test-runner/output/before-and-after-e
|
Test
Process completed with exit code 2.
|
Post Set up sccache
0% - 0 hits, 0 misses, 0 errors
|
Loading