Lines Matching +full:- +full:- +full:coverage
16 const pattern = `^coverage\\-${pid}\\-(\\d{13})\\-(\\d+)\\.json$`;
26 '# start of coverage report',
28 '# test/fixtures/test-runner/coverage.js | 78.65 | 38.46 | 60.00 | 12, ' +
30 '# test/fixtures/test-runner/invalid-tap.js | 100.00 | 100.00 | 100.00 | ',
31 '# test/fixtures/v8-coverage/throw.js | 71.43 | 50.00 | 100.00 | 5, 6',
33 '# end of coverage report',
44 /* eslint-disable max-len */
46 '\u2139 start of coverage report',
47 …'\u2139 ------------------------------------------------------------------------------------------…
49 …'\u2139 ------------------------------------------------------------------------------------------…
50 …'\u2139 test/fixtures/test-runner/coverage.js | 78.65 | 38.46 | 60.00 | 12-13 16-22 27 39…
51 '\u2139 test/fixtures/test-runner/invalid-tap.js | 100.00 | 100.00 | 100.00 | ',
52 '\u2139 test/fixtures/v8-coverage/throw.js | 71.43 | 50.00 | 100.00 | 5-6',
53 …'\u2139 ------------------------------------------------------------------------------------------…
55 …'\u2139 ------------------------------------------------------------------------------------------…
56 '\u2139 end of coverage report',
58 /* eslint-enable max-len */
67 test('test coverage report', async (t) => {
73 const fixture = fixtures.path('test-runner', 'coverage.js');
74 const args = ['--experimental-test-coverage', fixture];
77 assert(!result.stdout.toString().includes('# start of coverage report'));
78 assert(result.stderr.toString().includes('coverage could not be collected'));
84 test('test tap coverage reporter', skipIfNoInspector, async (t) => {
85 await t.test('coverage is reported and dumped to NODE_V8_COVERAGE if present', (t) => {
86 const fixture = fixtures.path('test-runner', 'coverage.js');
87 const args = ['--experimental-test-coverage', '--test-reporter', 'tap', fixture];
98 await t.test('coverage is reported without NODE_V8_COVERAGE present', (t) => {
99 const fixture = fixtures.path('test-runner', 'coverage.js');
100 const args = ['--experimental-test-coverage', '--test-reporter', 'tap', fixture];
111 test('test spec coverage reporter', skipIfNoInspector, async (t) => {
112 await t.test('coverage is reported and dumped to NODE_V8_COVERAGE if present', (t) => {
113 const fixture = fixtures.path('test-runner', 'coverage.js');
114 const args = ['--experimental-test-coverage', '--test-reporter', 'spec', fixture];
125 await t.test('coverage is reported without NODE_V8_COVERAGE present', (t) => {
126 const fixture = fixtures.path('test-runner', 'coverage.js');
127 const args = ['--experimental-test-coverage', '--test-reporter', 'spec', fixture];
138 test('single process coverage is the same with --test', skipIfNoInspector, () => {
139 const fixture = fixtures.path('test-runner', 'coverage.js');
141 '--test', '--experimental-test-coverage', '--test-reporter', 'tap', fixture,
152 test('coverage is combined for multiple processes', skipIfNoInspector, () => {
154 '# start of coverage report',
156 '# test/fixtures/v8-coverage/combined_coverage/common.js | 89.86 | ' +
158 '# test/fixtures/v8-coverage/combined_coverage/first.test.js | 83.33 | ' +
160 '# test/fixtures/v8-coverage/combined_coverage/second.test.js | 100.00 ' +
162 '# test/fixtures/v8-coverage/combined_coverage/third.test.js | 100.00 | ' +
165 '# end of coverage report',
172 const fixture = fixtures.path('v8-coverage', 'combined_coverage');
174 '--test', '--experimental-test-coverage', '--test-reporter', 'tap', fixture,