File: tap-tests-stdout.tap

package info (click to toggle)
node-tap-parser 11.0.2%2B~cs2.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,820 kB
  • sloc: javascript: 8,015; makefile: 36; sh: 26
file content (658 lines) | stat: -rw-r--r-- 16,897 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
TAP version 13
# buffer_compare.js
# TAP version 13
# same buffers
ok 1 should be equivalent
# not same buffers
ok 2 should not be equivalent
# tests 2
# pass  2
# ok
ok 3 test/buffer_compare.js

# common.js
ok 4 just setup, nothing relevant
ok 5 test/common.js

# consumer.js
# TAP version 13
# basic.tap
ok 6 should be equivalent
# indent.tap
ok 7 should be equivalent
# missing.tap
ok 8 should be equivalent
# skip-all.tap
ok 9 should be equivalent
# tap-tests.tap
ok 10 should be equivalent
# yamlish.tap
ok 11 should be equivalent
# tests 6
# pass  6
# ok
ok 12 test/consumer.js

# debug-test.js
# TAP version 13
# debug test
ok 13 Should output debugger message
# tests 1
# pass  1
# ok
ok 14 test/debug-test.js

# deep-strict.js
# TAP version 13
# strictDeepEquals shouldn't care about key order
ok 15 should be strictly equal
# strictDeepEquals shouldn't care about key order recursively
ok 16 should be strictly equal
# strictDeepEquals shoudn't care about key order (but still might)
ok 17 should be strictly equal
# tests 3
# pass  3
# ok
ok 18 test/deep-strict.js

# deep.js
# TAP version 13
# deepEquals shouldn't care about key order and types
ok 19 should be equivalent
# deepEquals shouldn't care about key order recursively and types
ok 20 should be equivalent
# deepEquals shoudn't care about key order (but still might) and types
ok 21 should be equivalent
# tests 3
# pass  3
# ok
ok 22 test/deep.js

# executed.sh
ok 23 File with executable bit should be executed
ok 24 test/executed.sh

# exit-code.js
# TAP version 13
# exit code 1 when tap results show failure
# test exits 0, has failures
ok 25 should be equal
ok 26 should be equal
# test exits 1, has failures
ok 27 should be equal
ok 28 should be equal
# test exits 1, has no failures
ok 29 should be equal
ok 30 should be equal
# successes exit 0
# test that does nothing, but exits 0
ok 31 should be equal
ok 32 should be equal
# test that succeeds, and exits 0
ok 33 should be equal
ok 34 should be equal
# tests 10
# pass  10
# ok
ok 35 test/exit-code.js

# expose-gc-test.js
# TAP version 13
# gc test when the gc isn't there
ok 36 should be equal
# gc test when the gc should be there
# test for gc using --gc
ok 37 should be equal
# test for gc using --expose-gc
ok 38 should be equal
# cleanup
# tests 3
# pass  3
# ok
ok 39 test/expose-gc-test.js

# global-harness-async.js
# TAP version 13
# outer
# inner 1
ok 40 1-1
# inner 2
ok 41 2-1
# inner 3
ok 42 3-1
ok 43 test/global-harness-async.js

# independent-timeouts.js
# TAP version 13
# finishes in time
# finishes in time too
# tests 0
# ok
ok 44 test/independent-timeouts.js

# isolated-conf-test.js
# TAP version 13
# one
ok 45 should be equal
ok 46 should be equal
# two
ok 47 should be equal
ok 48 should be equal
# tests 4
# pass  4
# ok
ok 49 test/isolated-conf-test.js

# meta-test.js
# TAP version 13
# meta test
ok 50 sanity check
ok 51 not ok
ok 52 total test count
ok 53 tests passed
ok 54 tests failed
ok 55 ok is boolean
ok 56 skip is number
ok 57 results isa Results
ok 58 test isa Test
ok 59 test isa Harness
# tests 10
# pass  10
# ok
ok 60 test/meta-test.js

# nested-async.js
# TAP version 13
# Harness async test support
ok 61 sync child A
# sync child B
# async grandchild A
ok 62 (unnamed assert)
# async grandchild B
ok 63 (unnamed assert)
# async child
ok 64 sync grandchild in async child A
# sync grandchild in async child B
ok 65 (unnamed assert)
# tests 5
# pass  5
# ok
ok 66 test/nested-async.js

# nested-test.js
# TAP version 13
# parent
ok 67 p test
# subtest
ok 68 ch test
# nested subtest
ok 69 grch test
# another subtest
ok 70 ch test 2
# tests 4
# pass  4
# ok
ok 71 test/nested-test.js

# non-tap-output.js
# everything is fine
# there are no errors
# this output is not haiku.
# is 8 ok?
ok 72 , 8 can stay.
# but: nevertheless, here we are
# this: is indented
# and: it
# might: ~
# be: yaml?
ok 73 might be confusing
ok 74 done now, exiting
ok 75 test/non-tap-output.js

# not-executed.sh
# output-childtest-description.js
# /Users/isaacs/dev/js/tap/test/nested-tests-fixture.js
# TAP version 13
# nested tests, parent and child pass
ok 76 outputs parent description
ok 77 outputs child description
ok 78 outputs parent description before parent result
ok 79 outputs parent result before child description
ok 80 outputs child description before child result
# tests 5
# pass  5
# ok
ok 81 test/output-childtest-description.js

# result-trap.js
# TAP version 13
# trap result
ok 82 should be equal
ok 83 should be equal
# tests 2
# pass  2
# ok
ok 84 test/result-trap.js

# segv.js
# TAP version 13
# setup
ok 85 compiled seg faulter
# segv
ok 86 should be equivalent
ok 87 should be equivalent
ok 88 should be equivalent
ok 89 should be equivalent
ok 90 should be equivalent
ok 91 should be equal
# cleanup
ok 92 cleaned up
# tests 8
# pass  8
# ok
ok 93 test/segv.js

# simple-harness-test-with-plan.js
# TAP version 13
# trivial success
ok 94 it works
# two tests
ok 95 math should work
ok 96 false should not be ok
# tests 3
# pass  3
# ok
ok 97 test/simple-harness-test-with-plan.js

# simple-harness-test.js
# TAP version 13
# trivial success
ok 98 it works
# two tests
ok 99 math should work
ok 100 false should not be ok
# tests 3
# pass  3
# ok
ok 101 test/simple-harness-test.js

# test-assert-todo-skip.js
# TAP version 13
# not much
ok 102 always passes # SKIP skip it good
ok 103 false # SKIP always fails
ok 104 bonus # TODO remove todo directive
ok 105 expected # TODO implement a thing
ok 106 always passes without explanation # SKIP 
ok 107 false without explanation # SKIP 
ok 108 bonus without explanation # TODO 
ok 109 expected without explanation # TODO 
# tests 8
# skip  4
# todo  4
ok 110 test/test-assert-todo-skip.js

# test-descriptions.js
# TAP version 13
# captures test descriptions
ok 111 exit cleanly
ok 112 captures SKIP description
ok 113 skip summary is not from file
ok 114 todo summary is not from file
not ok 115 captures TODO description
  ---
    file:   child_process.js
    line:   707
    column: 7
    stack:  
      - |
        getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)
      - |
        Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)
      - |
        Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)
      - |
        /Users/isaacs/dev/js/tap/test/test-descriptions.js:32:7
      - |
        ChildProcess.exithandler (child_process.js:707:7)
      - |
        emitTwo (events.js:87:13)
      - |
        ChildProcess.emit (events.js:169:7)
      - |
        maybeClose (child_process.js:984:16)
      - |
        Socket.<anonymous> (child_process.js:1153:11)
      - |
        emitOne (events.js:77:13)
  ...
ok 116 exit cleanly
ok 117 captures SKIP description
ok 118 skip summary is not in TAP output
ok 119 todo summary is not in TAP output
not ok 120 captures TODO description
  ---
    file:   child_process.js
    line:   707
    column: 7
    stack:  
      - |
        getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)
      - |
        Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)
      - |
        Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)
      - |
        /Users/isaacs/dev/js/tap/test/test-descriptions.js:18:7
      - |
        ChildProcess.exithandler (child_process.js:707:7)
      - |
        emitTwo (events.js:87:13)
      - |
        ChildProcess.emit (events.js:169:7)
      - |
        maybeClose (child_process.js:984:16)
      - |
        Process.ChildProcess._handle.onexit (child_process.js:1057:5)
  ...
ok 121 exit cleanly
not ok 122 summarizes skipped count
  ---
    file:   child_process.js
    line:   707
    column: 7
    stack:  
      - |
        getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)
      - |
        Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)
      - |
        Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)
      - |
        /Users/isaacs/dev/js/tap/test/test-descriptions.js:23:7
      - |
        ChildProcess.exithandler (child_process.js:707:7)
      - |
        emitTwo (events.js:87:13)
      - |
        ChildProcess.emit (events.js:169:7)
      - |
        maybeClose (child_process.js:984:16)
      - |
        Process.ChildProcess._handle.onexit (child_process.js:1057:5)
  ...
not ok 123 summarizes todo count
  ---
    file:   child_process.js
    line:   707
    column: 7
    stack:  
      - |
        getCaller (/Users/isaacs/dev/js/tap/lib/tap-assert.js:439:17)
      - |
        Function.assert (/Users/isaacs/dev/js/tap/lib/tap-assert.js:21:16)
      - |
        Test._testAssert (/Users/isaacs/dev/js/tap/lib/tap-test.js:87:16)
      - |
        /Users/isaacs/dev/js/tap/test/test-descriptions.js:24:7
      - |
        ChildProcess.exithandler (child_process.js:707:7)
      - |
        emitTwo (events.js:87:13)
      - |
        ChildProcess.emit (events.js:169:7)
      - |
        maybeClose (child_process.js:984:16)
      - |
        Process.ChildProcess._handle.onexit (child_process.js:1057:5)
  ...
# tests 13
# pass  9
# fail  4
not ok 124 test/test-descriptions.js
  ---
    exit:    1
    command: "/usr/local/bin/iojs test-descriptions.js"
  ...

# test-directives.js
# TAP version 13
# captures test descriptions
# raw TAP > TAP consumer > TAP producer
ok 125 overall result is PASS
ok 126 captures ok SKIP
ok 127 captures not ok SKIP
ok 128 skip summary not in TAP output
ok 129 captures ok TODO
ok 130 captures not ok TODO
ok 131 todo summary is not in TAP output
ok 132 no ugly "undefined" in output
# raw TAP > TAP consumer > summary
ok 133 overall result is PASS
ok 134 no SKIP in summary
ok 135 skip summary is not in TAP output
ok 136 no TODO in summary
ok 137 todo summary is not in TAP output
ok 138 no ugly "undefined" in output
# TAP producer via require("tap")
ok 139 overall result is PASS
ok 140 captures ok SKIP
ok 141 captures not ok SKIP
ok 142 skip summary not in TAP output
ok 143 captures ok TODO
ok 144 captures not ok TODO
ok 145 todo summary is not in TAP output
ok 146 no ugly "undefined" in output
# tests 22
# pass  22
# ok
ok 147 test/test-directives.js

# test-skip.js
# TAP version 13
ok 148 does not count as failure # SKIP 
# tests 1
# skip  1
ok 149 test/test-skip.js

# test-test.js
# TAP version 13
# testing the test object
ok 150 test object should be instanceof Test
ok 151 test object should be instanceof Harness
ok 152 test._Test should be the Test class
ok 153 should have isNotDeepEqual method
ok 154 isNotDeepEqual method should be a function
ok 155 should have equals method
ok 156 equals method should be a function
ok 157 should have inequivalent method
ok 158 inequivalent method should be a function
ok 159 should have threw method
ok 160 threw method should be a function
ok 161 should have strictEqual method
ok 162 strictEqual method should be a function
ok 163 should have emit method
ok 164 emit method should be a function
ok 165 should have fail method
ok 166 fail method should be a function
ok 167 should have strictEquals method
ok 168 strictEquals method should be a function
ok 169 should have notLike method
ok 170 notLike method should be a function
ok 171 should have dissimilar method
ok 172 dissimilar method should be a function
ok 173 should have true method
ok 174 true method should be a function
ok 175 should have assert method
ok 176 assert method should be a function
ok 177 should have is method
ok 178 is method should be a function
ok 179 should have ok method
ok 180 ok method should be a function
ok 181 should have isEqual method
ok 182 isEqual method should be a function
ok 183 should have isDeeply method
ok 184 isDeeply method should be a function
ok 185 should have deepEqual method
ok 186 deepEqual method should be a function
ok 187 should have deepEquals method
ok 188 deepEquals method should be a function
ok 189 should have pass method
ok 190 pass method should be a function
ok 191 should have length method
ok 192 length method should be a function
ok 193 should have skip method
ok 194 skip method should be a function
ok 195 should have isNotEqual method
ok 196 isNotEqual method should be a function
ok 197 should have looseEquals method
ok 198 looseEquals method should be a function
ok 199 should have false method
ok 200 false method should be a function
ok 201 should have notDeeply method
ok 202 notDeeply method should be a function
ok 203 should have ifErr method
ok 204 ifErr method should be a function
ok 205 should have hasFields method
ok 206 hasFields method should be a function
ok 207 should have isNotDeeply method
ok 208 isNotDeeply method should be a function
ok 209 should have like method
ok 210 like method should be a function
ok 211 should have similar method
ok 212 similar method should be a function
ok 213 should have notOk method
ok 214 notOk method should be a function
ok 215 should have isDissimilar method
ok 216 isDissimilar method should be a function
ok 217 should have isEquivalent method
ok 218 isEquivalent method should be a function
ok 219 should have doesNotEqual method
ok 220 doesNotEqual method should be a function
ok 221 should have isSimilar method
ok 222 isSimilar method should be a function
ok 223 should have notDeepEqual method
ok 224 notDeepEqual method should be a function
ok 225 should have type method
ok 226 type method should be a function
ok 227 should have notok method
ok 228 notok method should be a function
ok 229 should have isInequivalent method
ok 230 isInequivalent method should be a function
ok 231 should have isNot method
ok 232 isNot method should be a function
ok 233 should have same method
ok 234 same method should be a function
ok 235 should have isInequal method
ok 236 isInequal method should be a function
ok 237 should have _endNice method
ok 238 _endNice method should be a function
ok 239 should have ifError method
ok 240 ifError method should be a function
ok 241 should have iferror method
ok 242 iferror method should be a function
ok 243 should have clear method
ok 244 clear method should be a function
ok 245 should have has method
ok 246 has method should be a function
ok 247 should have not method
ok 248 not method should be a function
ok 249 should have timeout method
ok 250 timeout method should be a function
ok 251 should have notSimilar method
ok 252 notSimilar method should be a function
ok 253 should have isUnlike method
ok 254 isUnlike method should be a function
ok 255 should have notEquals method
ok 256 notEquals method should be a function
ok 257 should have unsimilar method
ok 258 unsimilar method should be a function
ok 259 should have result method
ok 260 result method should be a function
ok 261 should have doesNotThrow method
ok 262 doesNotThrow method should be a function
ok 263 should have error method
ok 264 error method should be a function
ok 265 should have constructor method
ok 266 constructor method should be a function
ok 267 should have notEqual method
ok 268 notEqual method should be a function
ok 269 should have throws method
ok 270 throws method should be a function
ok 271 should have isLike method
ok 272 isLike method should be a function
ok 273 should have isNotSimilar method
ok 274 isNotSimilar method should be a function
ok 275 should have isNotEquivalent method
ok 276 isNotEquivalent method should be a function
ok 277 should have inequal method
ok 278 inequal method should be a function
ok 279 should have notEquivalent method
ok 280 notEquivalent method should be a function
ok 281 should have isNotLike method
ok 282 isNotLike method should be a function
ok 283 should have equivalent method
ok 284 equivalent method should be a function
ok 285 should have looseEqual method
ok 286 looseEqual method should be a function
ok 287 should have equal method
ok 288 equal method should be a function
ok 289 should have unlike method
ok 290 unlike method should be a function
ok 291 should have doesNotHave method
ok 292 doesNotHave method should be a function
ok 293 should have comment method
ok 294 comment method should be a function
ok 295 should have isa method
ok 296 isa method should be a function
# tests 147
# pass  147
# ok
ok 297 test/test-test.js

# timeout.js
# TAP version 13
# timeout test with plan only
ok 298 a
ok 299 b
# timeout test with plan and end
ok 300 a
ok 301 b
# tests 4
# pass  4
# ok
ok 302 test/timeout.js

# trivial-success.js
ok 303 test/trivial-success.js

# undefined_indented.js
# TAP version 13
# consume yaml
ok 304 should be equivalent
# tests 1
# pass  1
# ok
ok 305 test/undefined_indented.js

# valid-command.js
# TAP version 13
# valid command
ok 306 should be equivalent
ok 307 should be equivalent
ok 308 should be equivalent
ok 309 should be equivalent
ok 310 should be equivalent
ok 311 should be equal
# tests 6
# pass  6
# ok
ok 312 test/valid-command.js


1..312
# tests 312
# pass  298
# fail  5
# skip  5
# todo  4