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
Also, move the code around a little bit so that it'll be more
straightforward to have yaml diagnostics ahead of buffered child test
output once that's supported by the parser.
Copy file name to clipboardExpand all lines: test/test/before-after-each-promise.tap
-9
Original file line number
Diff line number
Diff line change
@@ -17,26 +17,17 @@ after 2 undefined
17
17
1..2
18
18
# failed 1 of 2 tests
19
19
not ok 1 - grandchild ___/# time=[0-9.]+(ms)?/~~~
20
-
---
21
-
{"at":{"column":7,"file":"test/test/before-after-each-promise.js","line":35},"results":{"count":2,"fail":1,"ok":false,"pass":1,"plan":{"end":2,"start":1}},"source":"t.test('grandchild', function (t) {\n"}
22
-
...
23
20
24
21
after 2 undefined
25
22
after 1 child
26
23
1..1
27
24
# failed 1 of 1 tests
28
25
not ok 1 - child ___/# time=[0-9.]+(ms)?/~~~
29
-
---
30
-
{"at":{"column":5,"file":"test/test/before-after-each-promise.js","line":34},"results":{"count":1,"fail":1,"ok":false,"pass":0,"plan":{"end":1,"start":1}},"source":"t.test('child', function (t) {\n"}
31
-
...
32
26
33
27
after 1 parent
34
28
1..1
35
29
# failed 1 of 1 tests
36
30
not ok 1 - parent ___/# time=[0-9.]+(ms)?/~~~
37
-
---
38
-
{"at":{"column":3,"file":"test/test/before-after-each-promise.js","line":17},"results":{"count":1,"fail":1,"ok":false,"pass":0,"plan":{"end":1,"start":1}},"source":"t.test('parent', function (t) {\n"}
Copy file name to clipboardExpand all lines: test/test/before-after-each-raise.tap
-9
Original file line number
Diff line number
Diff line change
@@ -16,26 +16,17 @@ after 2 grandchild
16
16
1..2
17
17
# failed 1 of 2 tests
18
18
not ok 1 - grandchild ___/# time=[0-9.]+(ms)?/~~~
19
-
---
20
-
{"at":{"column":7,"file":"test/test/before-after-each-raise.js","line":28},"results":{"count":2,"fail":1,"ok":false,"pass":1,"plan":{"end":2,"start":1}},"source":"t.test('grandchild', function (t) {\n"}
21
-
...
22
19
23
20
after 2 child
24
21
after 1 child
25
22
1..1
26
23
# failed 1 of 1 tests
27
24
not ok 1 - child ___/# time=[0-9.]+(ms)?/~~~
28
-
---
29
-
{"at":{"column":5,"file":"test/test/before-after-each-raise.js","line":27},"results":{"count":1,"fail":1,"ok":false,"pass":0,"plan":{"end":1,"start":1}},"source":"t.test('child', function (t) {\n"}
30
-
...
31
25
32
26
after 1 parent
33
27
1..1
34
28
# failed 1 of 1 tests
35
29
not ok 1 - parent ___/# time=[0-9.]+(ms)?/~~~
36
-
---
37
-
{"at":{"column":3,"file":"test/test/before-after-each-raise.js","line":13},"results":{"count":1,"fail":1,"ok":false,"pass":0,"plan":{"end":1,"start":1}},"source":"t.test('parent', function (t) {\n"}
Copy file name to clipboardExpand all lines: test/test/before-after-each-throw.tap
-9
Original file line number
Diff line number
Diff line change
@@ -16,26 +16,17 @@ after 2 grandchild
16
16
1..2
17
17
# failed 1 of 2 tests
18
18
not ok 1 - grandchild ___/# time=[0-9.]+(ms)?/~~~
19
-
---
20
-
{"at":{"column":7,"file":"test/test/before-after-each-throw.js","line":30},"results":{"count":2,"fail":1,"ok":false,"pass":1,"plan":{"end":2,"start":1}},"source":"t.test('grandchild', function (t) {\n"}
21
-
...
22
19
23
20
after 2 child
24
21
after 1 child
25
22
1..1
26
23
# failed 1 of 1 tests
27
24
not ok 1 - child ___/# time=[0-9.]+(ms)?/~~~
28
-
---
29
-
{"at":{"column":5,"file":"test/test/before-after-each-throw.js","line":29},"results":{"count":1,"fail":1,"ok":false,"pass":0,"plan":{"end":1,"start":1}},"source":"t.test('child', function (t) {\n"}
30
-
...
31
25
32
26
after 1 parent
33
27
1..1
34
28
# failed 1 of 1 tests
35
29
not ok 1 - parent ___/# time=[0-9.]+(ms)?/~~~
36
-
---
37
-
{"at":{"column":3,"file":"test/test/before-after-each-throw.js","line":13},"results":{"count":1,"fail":1,"ok":false,"pass":0,"plan":{"end":1,"start":1}},"source":"t.test('parent', function (t) {\n"}
Copy file name to clipboardExpand all lines: test/test/equivalent.tap
-3
Original file line number
Diff line number
Diff line change
@@ -27,9 +27,6 @@ TAP version 13
27
27
1..6
28
28
# failed 6 of 6 tests
29
29
not ok 1 - child test ___/# time=[0-9.]+(ms)?/~~~
30
-
---
31
-
{"at":{"column":3,"file":"test/test/equivalent.js","line":2},"results":{"count":6,"fail":6,"ok":false,"pass":0,"plan":{"end":6,"start":1}},"source":"t.test('child test', function (t) {\n"}
Copy file name to clipboardExpand all lines: test/test/mochalike.tap
-15
Original file line number
Diff line number
Diff line change
@@ -52,9 +52,6 @@ ok 4 - reasonably indented things ___/# time=[0-9.]+(ms)?/~~~
52
52
# failed 1 of 2 tests
53
53
# todo: 2
54
54
not ok 1 - first subset ___/# time=[0-9.]+(ms)?/~~~
55
-
---
56
-
{"at":{"column":3,"file":"test/test/mochalike.js","line":52},"results":{"count":2,"fail":1,"ok":false,"pass":1,"plan":{"end":2,"start":1},"todo":2},"source":"describe('first subset', function () {\n"}
57
-
...
58
55
59
56
# Subtest: second subset
60
57
not ok 1 - AssertionError: objectify the truthiness
@@ -64,16 +61,10 @@ ok 4 - reasonably indented things ___/# time=[0-9.]+(ms)?/~~~
64
61
1..1
65
62
# failed 1 of 1 tests
66
63
not ok 2 - second subset ___/# time=[0-9.]+(ms)?/~~~
67
-
---
68
-
{"at":{"column":3,"file":"test/test/mochalike.js","line":59},"results":{"count":1,"fail":1,"ok":false,"pass":0,"plan":{"end":1,"start":1}},"source":"describe('second subset', function () {\n"}
69
-
...
70
64
71
65
1..2
72
66
# failed 2 of 2 tests
73
67
not ok 5 - failing indented things ___/# time=[0-9.]+(ms)?/~~~
74
-
---
75
-
{"at":{"column":1,"file":"test/test/mochalike.js","line":51},"results":{"count":2,"fail":2,"ok":false,"pass":0,"plan":{"end":2,"start":1}},"source":"describe('failing indented things', function () {\n"}
76
-
...
77
68
78
69
# Subtest: a test passing an error to done() callback
79
70
# Subtest: is marked as failed
@@ -84,16 +75,10 @@ not ok 5 - failing indented things ___/# time=[0-9.]+(ms)?/~~~
84
75
1..1
85
76
# failed 1 of 1 tests
86
77
not ok 1 - is marked as failed ___/# time=[0-9.]+(ms)?/~~~
87
-
---
88
-
{"at":{"column":3,"file":"test/test/mochalike.js","line":66},"results":{"count":1,"fail":1,"ok":false,"pass":0,"plan":{"end":1,"start":1}},"source":"it('is marked as failed', function (done) {\n"}
89
-
...
90
78
91
79
1..1
92
80
# failed 1 of 1 tests
93
81
not ok 6 - a test passing an error to done() callback ___/# time=[0-9.]+(ms)?/~~~
94
-
---
95
-
{"at":{"column":1,"file":"test/test/mochalike.js","line":65},"results":{"count":1,"fail":1,"ok":false,"pass":0,"plan":{"end":1,"start":1}},"source":"describe('a test passing an error to done() callback', function () {\n"}
Copy file name to clipboardExpand all lines: test/test/nesting.tap
-9
Original file line number
Diff line number
Diff line change
@@ -17,15 +17,9 @@ TAP version 13
17
17
1..3
18
18
# failed 1 of 3 tests
19
19
not ok 2 - second ___/# time=[0-9.]+(ms)?/~~~
20
-
---
21
-
{"at":{"column":5,"file":"test/test/nesting.js","line":10},"results":{"count":3,"fail":1,"ok":false,"pass":2,"plan":{"end":3,"start":1}},"source":"t.test('second', function (tt) {\n"}
22
-
...
23
20
24
21
# failed 1 of 2 tests
25
22
not ok 1 - nesting ___/# time=[0-9.]+(ms)?/~~~
26
-
---
27
-
{"at":{"column":3,"file":"test/test/nesting.js","line":3},"results":{"count":2,"fail":1,"ok":false,"pass":1,"plan":{"end":2,"start":1}},"source":"t.test('nesting', function (t) {\n"}
28
-
...
29
23
30
24
ok 2 - this passes
31
25
not ok 3 - this fails
@@ -41,9 +35,6 @@ not ok 3 - this fails
41
35
...
42
36
# failed 1 of 2 tests
43
37
not ok 4 - async kid ___/# time=[0-9.]+(ms)?/~~~
44
-
---
45
-
{"at":{"column":3,"file":"test/test/nesting.js","line":30},"results":{"count":2,"fail":1,"ok":false,"pass":1,"plan":{"end":2,"start":1}},"source":"t.test('async kid', function (t) {\n"}
Copy file name to clipboardExpand all lines: test/test/not-ok-nested.tap
-6
Original file line number
Diff line number
Diff line change
@@ -9,15 +9,9 @@ TAP version 13
9
9
...
10
10
# failed 1 of 1 tests
11
11
not ok 1 - parent ___/# time=[0-9.]+(ms)?/~~~
12
-
---
13
-
{"at":{"column":5,"file":"test/test/not-ok-nested.js","line":5},"results":{"count":1,"fail":1,"ok":false,"pass":0,"plan":{"end":1,"start":1}},"source":"t.test('parent', function (t) {\n"}
14
-
...
15
12
16
13
# failed 1 of 1 tests
17
14
not ok 1 - gp ___/# time=[0-9.]+(ms)?/~~~
18
-
---
19
-
{"at":{"column":3,"file":"test/test/not-ok-nested.js","line":3},"results":{"count":1,"fail":1,"ok":false,"pass":0,"plan":{"end":1,"start":1}},"source":"t.test('gp', function (t) {\n"}
0 commit comments