tap-parser-regex-ll
12 removals
Lines | |
---|---|
Total | 95 |
Removed | -12.6%12 |
Words | |
Total | 240 |
Removed | -5.0%12 |
95 lines
13 additions
Lines | |
---|---|
Total | 96 |
Added | +13.5%13 |
Words | |
Total | 241 |
Added | +5.4%13 |
96 lines
TAP version 13
TAP version 13
# Subtest: test/fixtures/test-runner/index.test.js
# Subtest: test/fixtures/test-runner/index.test.js
# Subtest: this should pass
# Subtest: this should pass
ok 1 - this should pass
ok 1 - this should pass
---
---
duration_ms: 1.639609
duration_ms: 1.574948
...
...
1..1
ok 1 - test/fixtures/test-runner/index.test.js
ok 1 - test/fixtures/test-runner/index.test.js
---
---
duration_ms: 81.215845
duration_ms: 82.249418
...
...
# Subtest: test/fixtures/test-runner/invalid_tap.js
# Subtest: test/fixtures/test-runner/invalid_tap.js
# invalid tap output
# invalid tap output
ok 2 - test/fixtures/test-runner/invalid_tap.js
ok 2 - test/fixtures/test-runner/invalid_tap.js
---
---
duration_ms: 68.876911
duration_ms: 68.563033
...
...
# Subtest: test/fixtures/test-runner/nested.js
# Subtest: test/fixtures/test-runner/nested.js
# Subtest: level 0a
# Subtest: level 0a
# Subtest: level 1a
# Subtest: level 1a
ok 1 - level 1a
ok 1 - level 1a
---
---
duration_ms: 1.702677
duration_ms: 1.630412
...
...
# Subtest: level 1b
# Subtest: level 1b
not ok 2 - level 1b
not ok 2 - level 1b
---
---
duration_ms: 2.479356
duration_ms: 2.304008
failureType: 'testCodeFailure'
failureType: 'testCodeFailure'
error: 'level 1b error'
error: 'level 1b error'
code: 'ERR_TEST_FAILURE'
code: 'ERR_TEST_FAILURE'
stack: |-
stack: |-
TestContext.<anonymous> (test/fixtures/test-runner/nested.js:11:11)
TestContext.<anonymous> (test/fixtures/test-runner/nested.js:11:11)
Test.runInAsyncScope (node:async_hooks:203:9)
Test.runInAsyncScope (node:async_hooks:203:9)
Test.run (node:internal/test_runner/test:484:25)
Test.run (node:internal/test_runner/test:484:25)
Test.start (node:internal/test_runner/test:411:17)
Test.start (node:internal/test_runner/test:411:17)
TestContext.test (node:internal/test_runner/test:115:20)
TestContext.test (node:internal/test_runner/test:115:20)
TestContext.<anonymous> (test/fixtures/test-runner/nested.js:10:5)
TestContext.<anonymous> (test/fixtures/test-runner/nested.js:10:5)
Test.runInAsyncScope (node:async_hooks:203:9)
Test.runInAsyncScope (node:async_hooks:203:9)
Test.run (node:internal/test_runner/test:484:25)
Test.run (node:internal/test_runner/test:484:25)
Test.start (node:internal/test_runner/test:411:17)
Test.start (node:internal/test_runner/test:411:17)
test (node:internal/test_runner/harness:129:18)
test (node:internal/test_runner/harness:129:18)
...
...
# Subtest: level 1c
# Subtest: level 1c
ok 3 - level 1c # SKIP aaa
ok 3 - level 1c # SKIP aaa
---
---
duration_ms: 3.125822
duration_ms: 2.771241
...
...
# Subtest: level 1d
# Subtest: level 1d
ok 4 - level 1d
ok 4 - level 1d
---
---
duration_ms: 3.264731
duration_ms: 2.909418
...
...
# level 1d diagnostic
# level 1d diagnostic
1..4
1..4
not ok 1 - level 0a
not ok 1 - level 0a
---
---
duration_ms: 4.658301
duration_ms: 4.33076
failureType: 'subtestsFailed'
failureType: 'subtestsFailed'
error: '1 subtest failed'
error: '1 subtest failed'
code: 'ERR_TEST_FAILURE'
code: 'ERR_TEST_FAILURE'
...
...
# Subtest: level 0b
# Subtest: level 0b
not ok 2 - level 0b
not ok 2 - level 0b
---
---
duration_ms: 0.12879
duration_ms: 0.12352
failureType: 'testCodeFailure'
failureType: 'testCodeFailure'
error: 'level 0b error'
error: 'level 0b error'
code: 'ERR_TEST_FAILURE'
code: 'ERR_TEST_FAILURE'
stack: |-
stack: |-
TestContext.<anonymous> (test/fixtures/test-runner/nested.js:23:9)
TestContext.<anonymous> (test/fixtures/test-runner/nested.js:23:9)
Test.runInAsyncScope (node:async_hooks:203:9)
Test.runInAsyncScope (node:async_hooks:203:9)
Test.run (node:internal/test_runner/test:484:25)
Test.run (node:internal/test_runner/test:484:25)
Test.processPendingSubtests (node:internal/test_runner/test:250:27)
Test.processPendingSubtests (node:internal/test_runner/test:250:27)
Test.postRun (node:internal/test_runner/test:568:19)
Test.postRun (node:internal/test_runner/test:568:19)
Test.run (node:internal/test_runner/test:512:10)
Test.run (node:internal/test_runner/test:512:10)
process.processTicksAndRejections (node:internal/process/task_queues:95:5)
process.processTicksAndRejections (node:internal/process/task_queues:95:5)
...
...
1..2
1..2
not ok 3 - test/fixtures/test-runner/nested.js
not ok 3 - test/fixtures/test-runner/nested.js
---
---
duration_ms: 78.705572
duration_ms: 78.780388
failureType: 'subtestsFailed'
failureType: 'subtestsFailed'
exitCode: 1
exitCode: 1
error: '0 subtests failed'
error: '3 subtests failed'
code: 'ERR_TEST_FAILURE'
code: 'ERR_TEST_FAILURE'
...
...
1..3
1..3
# tests 3
# tests 3
# pass 2
# pass 2
# fail 1
# fail 1
# cancelled 0
# cancelled 0
# skipped 0
# skipped 0
# todo 0
# todo 0
# duration_ms 87.006138
# duration_ms 86.963968