qunitx 0.5.0 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -1
- package/lib/boilerplates/setup/tsconfig.json +109 -0
- package/lib/boilerplates/test.js +1 -1
- package/lib/commands/init.js +11 -1
- package/package.json +1 -1
- package/test-output.log +289 -254
package/test-output.log
CHANGED
|
@@ -3,7 +3,7 @@ TAP version 13
|
|
|
3
3
|
# Subtest: $ qunitx -> prints help text
|
|
4
4
|
not ok 1 - $ qunitx -> prints help text
|
|
5
5
|
---
|
|
6
|
-
duration_ms:
|
|
6
|
+
duration_ms: 324.513951
|
|
7
7
|
failureType: 'testCodeFailure'
|
|
8
8
|
error: |-
|
|
9
9
|
Command failed: deno run --allow-read /home/izelnakri/Github/qunitx/cli.js
|
|
@@ -31,7 +31,7 @@ TAP version 13
|
|
|
31
31
|
# Subtest: $ qunitx print -> prints help text
|
|
32
32
|
not ok 2 - $ qunitx print -> prints help text
|
|
33
33
|
---
|
|
34
|
-
duration_ms:
|
|
34
|
+
duration_ms: 353.983061
|
|
35
35
|
failureType: 'testCodeFailure'
|
|
36
36
|
error: |-
|
|
37
37
|
Command failed: deno run --allow-read /home/izelnakri/Github/qunitx/cli.js print
|
|
@@ -54,14 +54,12 @@ TAP version 13
|
|
|
54
54
|
ChildProcess.exithandler (node:child_process:419:12)
|
|
55
55
|
ChildProcess.emit (node:events:511:28)
|
|
56
56
|
maybeClose (node:internal/child_process:1098:16)
|
|
57
|
-
|
|
58
|
-
Socket.emit (node:events:511:28)
|
|
59
|
-
Pipe.<anonymous> (node:net:334:12)
|
|
57
|
+
ChildProcess._handle.onexit (node:internal/child_process:304:5)
|
|
60
58
|
...
|
|
61
59
|
# Subtest: $ qunitx p -> prints help text
|
|
62
60
|
not ok 3 - $ qunitx p -> prints help text
|
|
63
61
|
---
|
|
64
|
-
duration_ms:
|
|
62
|
+
duration_ms: 359.464602
|
|
65
63
|
failureType: 'testCodeFailure'
|
|
66
64
|
error: |-
|
|
67
65
|
Command failed: deno run --allow-read /home/izelnakri/Github/qunitx/cli.js p
|
|
@@ -89,7 +87,7 @@ TAP version 13
|
|
|
89
87
|
# Subtest: $ qunitx help -> prints help text
|
|
90
88
|
not ok 4 - $ qunitx help -> prints help text
|
|
91
89
|
---
|
|
92
|
-
duration_ms:
|
|
90
|
+
duration_ms: 346.180344
|
|
93
91
|
failureType: 'testCodeFailure'
|
|
94
92
|
error: |-
|
|
95
93
|
Command failed: deno run --allow-read /home/izelnakri/Github/qunitx/cli.js help
|
|
@@ -112,14 +110,12 @@ TAP version 13
|
|
|
112
110
|
ChildProcess.exithandler (node:child_process:419:12)
|
|
113
111
|
ChildProcess.emit (node:events:511:28)
|
|
114
112
|
maybeClose (node:internal/child_process:1098:16)
|
|
115
|
-
|
|
116
|
-
Socket.emit (node:events:511:28)
|
|
117
|
-
Pipe.<anonymous> (node:net:334:12)
|
|
113
|
+
ChildProcess._handle.onexit (node:internal/child_process:304:5)
|
|
118
114
|
...
|
|
119
115
|
# Subtest: $ qunitx h -> prints help text
|
|
120
116
|
not ok 5 - $ qunitx h -> prints help text
|
|
121
117
|
---
|
|
122
|
-
duration_ms:
|
|
118
|
+
duration_ms: 339.01292
|
|
123
119
|
failureType: 'testCodeFailure'
|
|
124
120
|
error: |-
|
|
125
121
|
Command failed: deno run --allow-read /home/izelnakri/Github/qunitx/cli.js h
|
|
@@ -147,15 +143,15 @@ TAP version 13
|
|
|
147
143
|
1..5
|
|
148
144
|
not ok 1 - Commands | Help tests
|
|
149
145
|
---
|
|
150
|
-
duration_ms:
|
|
146
|
+
duration_ms: 365.616093
|
|
151
147
|
type: 'suite'
|
|
152
148
|
failureType: 'subtestsFailed'
|
|
153
149
|
error: '5 subtests failed'
|
|
154
150
|
code: 'ERR_TEST_FAILURE'
|
|
155
151
|
...
|
|
156
152
|
# Trace:
|
|
157
|
-
# TEST NAME: --after script tests | --after works it
|
|
158
|
-
# TEST COMMAND: node cli.js test/helpers/passing-tests.js --after=test/helpers/after-script-
|
|
153
|
+
# TEST NAME: --after script tests | --after works when it doesnt need to be awaited
|
|
154
|
+
# TEST COMMAND: node cli.js test/helpers/passing-tests.js --after=test/helpers/after-script-basic.js
|
|
159
155
|
# 0: \# QUnitX running: /home/izelnakri/Github/qunitx/test/helpers/passing-tests.js
|
|
160
156
|
# 1: TAP version 13
|
|
161
157
|
# 2: calling assert true test case
|
|
@@ -166,9 +162,9 @@ not ok 1 - Commands | Help tests
|
|
|
166
162
|
# 7: placeholder: 1000,
|
|
167
163
|
# 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
168
164
|
# 9: }
|
|
169
|
-
# 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (
|
|
165
|
+
# 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (54 ms)
|
|
170
166
|
# 11: calling deepEqual test case
|
|
171
|
-
# 12: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (
|
|
167
|
+
# 12: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
|
|
172
168
|
# 13:
|
|
173
169
|
# 14: 1..3
|
|
174
170
|
# 15: \# tests 3
|
|
@@ -178,26 +174,25 @@ not ok 1 - Commands | Help tests
|
|
|
178
174
|
# 19: \# duration 57
|
|
179
175
|
# 20:
|
|
180
176
|
# 21: This is running from after script!!
|
|
181
|
-
# 22:
|
|
182
|
-
# 23: {
|
|
183
|
-
# 24: "testCount": 3,
|
|
184
|
-
# 25: "failCount": 0,
|
|
185
|
-
# 26: "skipCount": 0,
|
|
186
|
-
# 27: "passCount": 3
|
|
187
|
-
# 28: }
|
|
188
|
-
# 29:
|
|
177
|
+
# 22:
|
|
189
178
|
#
|
|
190
179
|
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
191
180
|
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
192
|
-
# at async file:///home/izelnakri/Github/qunitx/test/flags/after-test.js:
|
|
181
|
+
# at async file:///home/izelnakri/Github/qunitx/test/flags/after-test.js:7:24
|
|
193
182
|
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
194
183
|
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
195
|
-
# at async Promise.all (index
|
|
184
|
+
# at async Promise.all (index 0)
|
|
196
185
|
# at async Suite.run (node:internal/test_runner/test:806:7)
|
|
197
186
|
# at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
187
|
+
# Subtest: --after script tests
|
|
188
|
+
# Subtest: --after works when it doesnt need to be awaited
|
|
189
|
+
ok 1 - --after works when it doesnt need to be awaited
|
|
190
|
+
---
|
|
191
|
+
duration_ms: 1778.822588
|
|
192
|
+
...
|
|
198
193
|
# Trace:
|
|
199
|
-
# TEST NAME: --after script tests | --after works
|
|
200
|
-
# TEST COMMAND: node cli.js test/helpers/passing-tests.js --after=test/helpers/after-script-
|
|
194
|
+
# TEST NAME: --after script tests | --after works it needs to be awaited
|
|
195
|
+
# TEST COMMAND: node cli.js test/helpers/passing-tests.js --after=test/helpers/after-script-async.js
|
|
201
196
|
# 0: \# QUnitX running: /home/izelnakri/Github/qunitx/test/helpers/passing-tests.js
|
|
202
197
|
# 1: TAP version 13
|
|
203
198
|
# 2: calling assert true test case
|
|
@@ -208,41 +203,42 @@ not ok 1 - Commands | Help tests
|
|
|
208
203
|
# 7: placeholder: 1000,
|
|
209
204
|
# 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
210
205
|
# 9: }
|
|
211
|
-
# 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (
|
|
206
|
+
# 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (56 ms)
|
|
212
207
|
# 11: calling deepEqual test case
|
|
213
|
-
# 12: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (
|
|
208
|
+
# 12: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
|
|
214
209
|
# 13:
|
|
215
210
|
# 14: 1..3
|
|
216
211
|
# 15: \# tests 3
|
|
217
212
|
# 16: \# pass 3
|
|
218
213
|
# 17: \# skip 0
|
|
219
214
|
# 18: \# fail 0
|
|
220
|
-
# 19: \# duration
|
|
215
|
+
# 19: \# duration 59
|
|
221
216
|
# 20:
|
|
222
217
|
# 21: This is running from after script!!
|
|
223
|
-
# 22:
|
|
218
|
+
# 22: After script result is written:
|
|
219
|
+
# 23: {
|
|
220
|
+
# 24: "testCount": 3,
|
|
221
|
+
# 25: "failCount": 0,
|
|
222
|
+
# 26: "skipCount": 0,
|
|
223
|
+
# 27: "passCount": 3
|
|
224
|
+
# 28: }
|
|
225
|
+
# 29:
|
|
224
226
|
#
|
|
225
227
|
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
226
228
|
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
227
|
-
# at async file:///home/izelnakri/Github/qunitx/test/flags/after-test.js:
|
|
229
|
+
# at async file:///home/izelnakri/Github/qunitx/test/flags/after-test.js:23:24
|
|
228
230
|
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
229
231
|
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
230
|
-
# at async Promise.all (index
|
|
232
|
+
# at async Promise.all (index 2)
|
|
231
233
|
# at async Suite.run (node:internal/test_runner/test:806:7)
|
|
232
234
|
# at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
233
|
-
# Subtest: --after script tests
|
|
234
|
-
# Subtest: --after works when it doesnt need to be awaited
|
|
235
|
-
ok 1 - --after works when it doesnt need to be awaited
|
|
236
|
-
---
|
|
237
|
-
duration_ms: 864.436916
|
|
238
|
-
...
|
|
239
235
|
# Trace:
|
|
240
|
-
# TEST NAME: --after script tests | --after works for --browser mode it
|
|
241
|
-
# TEST COMMAND: node cli.js test/helpers/passing-tests.js --browser --after=test/helpers/after-script-
|
|
242
|
-
# 0: \# QUnitX running: http://localhost:
|
|
236
|
+
# TEST NAME: --after script tests | --after works for --browser mode when it doesnt need to be awaited
|
|
237
|
+
# TEST COMMAND: node cli.js test/helpers/passing-tests.js --browser --after=test/helpers/after-script-basic.js
|
|
238
|
+
# 0: \# QUnitX running: http://localhost:1234/
|
|
243
239
|
# 1: TAP version 13
|
|
244
240
|
# 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
245
|
-
# 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (
|
|
241
|
+
# 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (60 ms)
|
|
246
242
|
# 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
|
|
247
243
|
# 5:
|
|
248
244
|
# 6: 1..3
|
|
@@ -250,32 +246,35 @@ not ok 1 - Commands | Help tests
|
|
|
250
246
|
# 8: \# pass 3
|
|
251
247
|
# 9: \# skip 0
|
|
252
248
|
# 10: \# fail 0
|
|
253
|
-
# 11: \# duration
|
|
249
|
+
# 11: \# duration 726
|
|
254
250
|
# 12:
|
|
255
251
|
# 13: This is running from after script!!
|
|
256
|
-
# 14:
|
|
257
|
-
# 15: {
|
|
258
|
-
# 16: "testCount": 3,
|
|
259
|
-
# 17: "failCount": 0,
|
|
260
|
-
# 18: "skipCount": 0,
|
|
261
|
-
# 19: "passCount": 3
|
|
262
|
-
# 20: }
|
|
263
|
-
# 21:
|
|
252
|
+
# 14:
|
|
264
253
|
#
|
|
265
254
|
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
266
|
-
# at async file:///home/izelnakri/Github/qunitx/test/flags/after-test.js:
|
|
255
|
+
# at async file:///home/izelnakri/Github/qunitx/test/flags/after-test.js:15:24
|
|
267
256
|
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
268
257
|
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
269
|
-
# at async Promise.all (index
|
|
258
|
+
# at async Promise.all (index 1)
|
|
270
259
|
# at async Suite.run (node:internal/test_runner/test:806:7)
|
|
271
260
|
# at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
261
|
+
# Subtest: --after works for --browser mode when it doesnt need to be awaited
|
|
262
|
+
ok 2 - --after works for --browser mode when it doesnt need to be awaited
|
|
263
|
+
---
|
|
264
|
+
duration_ms: 3170.935916
|
|
265
|
+
...
|
|
266
|
+
# Subtest: --after works it needs to be awaited
|
|
267
|
+
ok 3 - --after works it needs to be awaited
|
|
268
|
+
---
|
|
269
|
+
duration_ms: 1797.491692
|
|
270
|
+
...
|
|
272
271
|
# Trace:
|
|
273
|
-
# TEST NAME: --after script tests | --after works for --browser mode
|
|
274
|
-
# TEST COMMAND: node cli.js test/helpers/passing-tests.js --browser --after=test/helpers/after-script-
|
|
275
|
-
# 0: \# QUnitX running: http://localhost:
|
|
272
|
+
# TEST NAME: --after script tests | --after works for --browser mode it needs to be awaited
|
|
273
|
+
# TEST COMMAND: node cli.js test/helpers/passing-tests.js --browser --after=test/helpers/after-script-async.js
|
|
274
|
+
# 0: \# QUnitX running: http://localhost:1235/
|
|
276
275
|
# 1: TAP version 13
|
|
277
|
-
# 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (
|
|
278
|
-
# 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (
|
|
276
|
+
# 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
277
|
+
# 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (60 ms)
|
|
279
278
|
# 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
|
|
280
279
|
# 5:
|
|
281
280
|
# 6: 1..3
|
|
@@ -283,37 +282,34 @@ not ok 1 - Commands | Help tests
|
|
|
283
282
|
# 8: \# pass 3
|
|
284
283
|
# 9: \# skip 0
|
|
285
284
|
# 10: \# fail 0
|
|
286
|
-
# 11: \# duration
|
|
285
|
+
# 11: \# duration 712
|
|
287
286
|
# 12:
|
|
288
287
|
# 13: This is running from after script!!
|
|
289
|
-
# 14:
|
|
288
|
+
# 14: After script result is written:
|
|
289
|
+
# 15: {
|
|
290
|
+
# 16: "testCount": 3,
|
|
291
|
+
# 17: "failCount": 0,
|
|
292
|
+
# 18: "skipCount": 0,
|
|
293
|
+
# 19: "passCount": 3
|
|
294
|
+
# 20: }
|
|
295
|
+
# 21:
|
|
290
296
|
#
|
|
291
297
|
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
292
|
-
# at async file:///home/izelnakri/Github/qunitx/test/flags/after-test.js:
|
|
298
|
+
# at async file:///home/izelnakri/Github/qunitx/test/flags/after-test.js:33:24
|
|
293
299
|
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
294
300
|
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
295
|
-
# at async Promise.all (index
|
|
301
|
+
# at async Promise.all (index 3)
|
|
296
302
|
# at async Suite.run (node:internal/test_runner/test:806:7)
|
|
297
303
|
# at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
298
|
-
# Subtest: --after works for --browser mode when it doesnt need to be awaited
|
|
299
|
-
ok 2 - --after works for --browser mode when it doesnt need to be awaited
|
|
300
|
-
---
|
|
301
|
-
duration_ms: 1967.380628
|
|
302
|
-
...
|
|
303
|
-
# Subtest: --after works it needs to be awaited
|
|
304
|
-
ok 3 - --after works it needs to be awaited
|
|
305
|
-
---
|
|
306
|
-
duration_ms: 823.008656
|
|
307
|
-
...
|
|
308
304
|
# Subtest: --after works for --browser mode it needs to be awaited
|
|
309
305
|
ok 4 - --after works for --browser mode it needs to be awaited
|
|
310
306
|
---
|
|
311
|
-
duration_ms:
|
|
307
|
+
duration_ms: 3178.985835
|
|
312
308
|
...
|
|
313
309
|
1..4
|
|
314
310
|
ok 2 - --after script tests
|
|
315
311
|
---
|
|
316
|
-
duration_ms:
|
|
312
|
+
duration_ms: 3189.238384
|
|
317
313
|
type: 'suite'
|
|
318
314
|
...
|
|
319
315
|
# Trace:
|
|
@@ -330,7 +326,7 @@ ok 2 - --after script tests
|
|
|
330
326
|
# 8: placeholder: 1000,
|
|
331
327
|
# 9: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
332
328
|
# 10: }
|
|
333
|
-
# 11: ok 2 {{moduleName}} Passing Tests | async test finishes \# (
|
|
329
|
+
# 11: ok 2 {{moduleName}} Passing Tests | async test finishes \# (54 ms)
|
|
334
330
|
# 12: calling deepEqual test case
|
|
335
331
|
# 13: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (0 ms)
|
|
336
332
|
# 14:
|
|
@@ -339,7 +335,7 @@ ok 2 - --after script tests
|
|
|
339
335
|
# 17: \# pass 3
|
|
340
336
|
# 18: \# skip 0
|
|
341
337
|
# 19: \# fail 0
|
|
342
|
-
# 20: \# duration
|
|
338
|
+
# 20: \# duration 58
|
|
343
339
|
# 21:
|
|
344
340
|
# 22:
|
|
345
341
|
#
|
|
@@ -355,7 +351,74 @@ ok 2 - --after script tests
|
|
|
355
351
|
# Subtest: --before works when it doesnt need to be awaited
|
|
356
352
|
ok 1 - --before works when it doesnt need to be awaited
|
|
357
353
|
---
|
|
358
|
-
duration_ms:
|
|
354
|
+
duration_ms: 834.355697
|
|
355
|
+
...
|
|
356
|
+
# Trace:
|
|
357
|
+
# ERROR TEST Name: --before script tests | --before works for --browser mode when it doesnt need to be awaited
|
|
358
|
+
# ERROR TEST COMMAND: node cli.js test/helpers/passing-tests.js --browser --before=test/helpers/before-script-basic.js
|
|
359
|
+
# Error: Command failed: node cli.js test/helpers/passing-tests.js --browser --before=test/helpers/before-script-basic.js
|
|
360
|
+
# file:///home/izelnakri/Github/qunitx/lib/setup/bind-server-to-port.js:12
|
|
361
|
+
# return await bindServerToPort(server, Object.assign(config, { port: config.port + 1 }));
|
|
362
|
+
# ^
|
|
363
|
+
# TypeError: Cannot set property port of \#<App> which has only a getter
|
|
364
|
+
# at Function.assign (<anonymous>)
|
|
365
|
+
# at bindServerToPort (file:///home/izelnakri/Github/qunitx/lib/setup/bind-server-to-port.js:12:50)
|
|
366
|
+
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
367
|
+
# at async bindServerToPort (file:///home/izelnakri/Github/qunitx/lib/setup/bind-server-to-port.js:12:12)
|
|
368
|
+
# at async Promise.all (index 1)
|
|
369
|
+
# at async setupBrowser (file:///home/izelnakri/Github/qunitx/lib/setup/browser.js:19:22)
|
|
370
|
+
# at async Promise.all (index 0)
|
|
371
|
+
# at async default (file:///home/izelnakri/Github/qunitx/lib/commands/run.js:20:28)
|
|
372
|
+
# at async file:///home/izelnakri/Github/qunitx/cli.js:23:10
|
|
373
|
+
# Node.js v20.3.1
|
|
374
|
+
#
|
|
375
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
376
|
+
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
377
|
+
# at async file:///home/izelnakri/Github/qunitx/test/flags/before-test.js:15:24
|
|
378
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
379
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
380
|
+
# at async Promise.all (index 1)
|
|
381
|
+
# at async Suite.run (node:internal/test_runner/test:806:7)
|
|
382
|
+
# at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
383
|
+
# Subtest: --before works for --browser mode when it doesnt need to be awaited
|
|
384
|
+
not ok 2 - --before works for --browser mode when it doesnt need to be awaited
|
|
385
|
+
---
|
|
386
|
+
duration_ms: 969.457488
|
|
387
|
+
failureType: 'testCodeFailure'
|
|
388
|
+
error: |-
|
|
389
|
+
Command failed: node cli.js test/helpers/passing-tests.js --browser --before=test/helpers/before-script-basic.js
|
|
390
|
+
file:///home/izelnakri/Github/qunitx/lib/setup/bind-server-to-port.js:12
|
|
391
|
+
return await bindServerToPort(server, Object.assign(config, { port: config.port + 1 }));
|
|
392
|
+
^
|
|
393
|
+
|
|
394
|
+
TypeError: Cannot set property port of #<App> which has only a getter
|
|
395
|
+
at Function.assign (<anonymous>)
|
|
396
|
+
at bindServerToPort (file:///home/izelnakri/Github/qunitx/lib/setup/bind-server-to-port.js:12:50)
|
|
397
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
398
|
+
at async bindServerToPort (file:///home/izelnakri/Github/qunitx/lib/setup/bind-server-to-port.js:12:12)
|
|
399
|
+
at async Promise.all (index 1)
|
|
400
|
+
at async setupBrowser (file:///home/izelnakri/Github/qunitx/lib/setup/browser.js:19:22)
|
|
401
|
+
at async Promise.all (index 0)
|
|
402
|
+
at async default (file:///home/izelnakri/Github/qunitx/lib/commands/run.js:20:28)
|
|
403
|
+
at async file:///home/izelnakri/Github/qunitx/cli.js:23:10
|
|
404
|
+
|
|
405
|
+
Node.js v20.3.1
|
|
406
|
+
|
|
407
|
+
code: 1
|
|
408
|
+
stack: |-
|
|
409
|
+
Function.assign (<anonymous>)
|
|
410
|
+
bindServerToPort (file:///home/izelnakri/Github/qunitx/lib/setup/bind-server-to-port.js:12:50)
|
|
411
|
+
process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
412
|
+
async bindServerToPort (file:///home/izelnakri/Github/qunitx/lib/setup/bind-server-to-port.js:12:12)
|
|
413
|
+
async Promise.all (index 1)
|
|
414
|
+
async setupBrowser (file:///home/izelnakri/Github/qunitx/lib/setup/browser.js:19:22)
|
|
415
|
+
async Promise.all (index 0)
|
|
416
|
+
async default (file:///home/izelnakri/Github/qunitx/lib/commands/run.js:20:28)
|
|
417
|
+
async file:///home/izelnakri/Github/qunitx/cli.js:23:10
|
|
418
|
+
ChildProcess.exithandler (node:child_process:419:12)
|
|
419
|
+
ChildProcess.emit (node:events:511:28)
|
|
420
|
+
maybeClose (node:internal/child_process:1098:16)
|
|
421
|
+
ChildProcess._handle.onexit (node:internal/child_process:304:5)
|
|
359
422
|
...
|
|
360
423
|
# Trace:
|
|
361
424
|
# TEST NAME: --before script tests | --before works it needs to be awaited
|
|
@@ -363,7 +426,7 @@ ok 2 - --after script tests
|
|
|
363
426
|
# 0: This is running from before script!!
|
|
364
427
|
# 1: Starting before script with:
|
|
365
428
|
# 2: DOESNT HAVE SERVER RUNNING
|
|
366
|
-
# 3: \# HTTPServer [Server]: started successfully at [localhost:1234] in [
|
|
429
|
+
# 3: \# HTTPServer [Server]: started successfully at [localhost:1234] in [3ms]
|
|
367
430
|
# 4: Web server started on port 1234
|
|
368
431
|
# 5: \# QUnitX running: /home/izelnakri/Github/qunitx/test/helpers/passing-tests.js, /home/izelnakri/Github/qunitx/test/helpers/before-script-web-server-tests.js
|
|
369
432
|
# 6: TAP version 13
|
|
@@ -379,14 +442,14 @@ ok 2 - --after script tests
|
|
|
379
442
|
# 16: calling deepEqual test case
|
|
380
443
|
# 17: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (0 ms)
|
|
381
444
|
# 18: req received
|
|
382
|
-
# 19: ok 4 {{moduleName}} Before script web server tests | assert true works \# (
|
|
445
|
+
# 19: ok 4 {{moduleName}} Before script web server tests | assert true works \# (328 ms)
|
|
383
446
|
# 20:
|
|
384
447
|
# 21: 1..4
|
|
385
448
|
# 22: \# tests 4
|
|
386
449
|
# 23: \# pass 4
|
|
387
450
|
# 24: \# skip 0
|
|
388
451
|
# 25: \# fail 0
|
|
389
|
-
# 26: \# duration
|
|
452
|
+
# 26: \# duration 386
|
|
390
453
|
# 27:
|
|
391
454
|
# 28:
|
|
392
455
|
#
|
|
@@ -398,61 +461,30 @@ ok 2 - --after script tests
|
|
|
398
461
|
# at async Promise.all (index 2)
|
|
399
462
|
# at async Suite.run (node:internal/test_runner/test:806:7)
|
|
400
463
|
# at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
401
|
-
# Trace:
|
|
402
|
-
# TEST NAME: --before script tests | --before works for --browser mode when it doesnt need to be awaited
|
|
403
|
-
# TEST COMMAND: node cli.js test/helpers/passing-tests.js --browser --before=test/helpers/before-script-basic.js
|
|
404
|
-
# 0: This is running from before script!!
|
|
405
|
-
# 1: \# QUnitX running: http://localhost:1235/
|
|
406
|
-
# 2: TAP version 13
|
|
407
|
-
# 3: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
408
|
-
# 4: ok 2 {{moduleName}} Passing Tests | async test finishes \# (79 ms)
|
|
409
|
-
# 5: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
|
|
410
|
-
# 6:
|
|
411
|
-
# 7: 1..3
|
|
412
|
-
# 8: \# tests 3
|
|
413
|
-
# 9: \# pass 3
|
|
414
|
-
# 10: \# skip 0
|
|
415
|
-
# 11: \# fail 0
|
|
416
|
-
# 12: \# duration 735
|
|
417
|
-
# 13:
|
|
418
|
-
# 14:
|
|
419
|
-
#
|
|
420
|
-
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
421
|
-
# at async file:///home/izelnakri/Github/qunitx/test/flags/before-test.js:15:24
|
|
422
|
-
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
423
|
-
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
424
|
-
# at async Promise.all (index 1)
|
|
425
|
-
# at async Suite.run (node:internal/test_runner/test:806:7)
|
|
426
|
-
# at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
427
|
-
# Subtest: --before works for --browser mode when it doesnt need to be awaited
|
|
428
|
-
ok 2 - --before works for --browser mode when it doesnt need to be awaited
|
|
429
|
-
---
|
|
430
|
-
duration_ms: 1932.771859
|
|
431
|
-
...
|
|
432
464
|
# Subtest: --before works it needs to be awaited
|
|
433
465
|
ok 3 - --before works it needs to be awaited
|
|
434
466
|
---
|
|
435
|
-
duration_ms:
|
|
467
|
+
duration_ms: 1331.511854
|
|
436
468
|
...
|
|
437
469
|
# Trace:
|
|
438
470
|
# TEST NAME: --before script tests | --before works for --browser mode it needs to be awaited
|
|
439
471
|
# TEST COMMAND: node cli.js test/helpers/passing-tests.js test/helpers/before-script-web-server-tests.js --browser --before=test/helpers/before-script-async.js
|
|
440
472
|
# 0: This is running from before script!!
|
|
441
473
|
# 1: Starting before script with:
|
|
442
|
-
# 2: \# QUnitX running: http://localhost:
|
|
474
|
+
# 2: \# QUnitX running: http://localhost:1235/
|
|
443
475
|
# 3: TAP version 13
|
|
444
476
|
# 4: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
445
|
-
# 5: ok 2 {{moduleName}} Passing Tests | async test finishes \# (
|
|
477
|
+
# 5: ok 2 {{moduleName}} Passing Tests | async test finishes \# (55 ms)
|
|
446
478
|
# 6: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
|
|
447
479
|
# 7: req received
|
|
448
|
-
# 8: ok 4 {{moduleName}} Before script web server tests | assert true works \# (
|
|
480
|
+
# 8: ok 4 {{moduleName}} Before script web server tests | assert true works \# (269 ms)
|
|
449
481
|
# 9:
|
|
450
482
|
# 10: 1..4
|
|
451
483
|
# 11: \# tests 4
|
|
452
484
|
# 12: \# pass 4
|
|
453
485
|
# 13: \# skip 0
|
|
454
486
|
# 14: \# fail 0
|
|
455
|
-
# 15: \# duration
|
|
487
|
+
# 15: \# duration 992
|
|
456
488
|
# 16:
|
|
457
489
|
# 17:
|
|
458
490
|
#
|
|
@@ -466,48 +498,51 @@ ok 2 - --after script tests
|
|
|
466
498
|
# Subtest: --before works for --browser mode it needs to be awaited
|
|
467
499
|
ok 4 - --before works for --browser mode it needs to be awaited
|
|
468
500
|
---
|
|
469
|
-
duration_ms:
|
|
501
|
+
duration_ms: 2100.265345
|
|
470
502
|
...
|
|
471
503
|
1..4
|
|
472
|
-
ok 3 - --before script tests
|
|
504
|
+
not ok 3 - --before script tests
|
|
473
505
|
---
|
|
474
|
-
duration_ms:
|
|
506
|
+
duration_ms: 2126.214872
|
|
475
507
|
type: 'suite'
|
|
508
|
+
failureType: 'subtestsFailed'
|
|
509
|
+
error: '1 subtest failed'
|
|
510
|
+
code: 'ERR_TEST_FAILURE'
|
|
476
511
|
...
|
|
477
512
|
# Subtest: Advanced HTML Input Tests
|
|
478
513
|
# Subtest: testing with specific html without content works
|
|
479
514
|
ok 1 - testing with specific html without content works
|
|
480
515
|
---
|
|
481
|
-
duration_ms: 0.
|
|
516
|
+
duration_ms: 0.332912
|
|
482
517
|
...
|
|
483
518
|
1..1
|
|
484
519
|
ok 4 - Advanced HTML Input Tests
|
|
485
520
|
---
|
|
486
|
-
duration_ms: 0.
|
|
521
|
+
duration_ms: 0.523172
|
|
487
522
|
type: 'suite'
|
|
488
523
|
...
|
|
489
524
|
# Subtest: Advanced Error Edge Cases Tests
|
|
490
525
|
# Subtest: todo
|
|
491
526
|
ok 1 - todo
|
|
492
527
|
---
|
|
493
|
-
duration_ms: 0.
|
|
528
|
+
duration_ms: 0.176218
|
|
494
529
|
...
|
|
495
530
|
1..1
|
|
496
531
|
ok 5 - Advanced Error Edge Cases Tests
|
|
497
532
|
---
|
|
498
|
-
duration_ms: 0.
|
|
533
|
+
duration_ms: 0.355697
|
|
499
534
|
type: 'suite'
|
|
500
535
|
...
|
|
501
536
|
# Subtest: File and Folder Combination Tests
|
|
502
537
|
# Subtest: todo
|
|
503
538
|
ok 1 - todo
|
|
504
539
|
---
|
|
505
|
-
duration_ms: 0.
|
|
540
|
+
duration_ms: 0.188246
|
|
506
541
|
...
|
|
507
542
|
1..1
|
|
508
543
|
ok 6 - File and Folder Combination Tests
|
|
509
544
|
---
|
|
510
|
-
duration_ms: 0.
|
|
545
|
+
duration_ms: 0.350713
|
|
511
546
|
type: 'suite'
|
|
512
547
|
...
|
|
513
548
|
# Trace:
|
|
@@ -532,7 +567,7 @@ ok 6 - File and Folder Combination Tests
|
|
|
532
567
|
# 16: \# pass 3
|
|
533
568
|
# 17: \# skip 0
|
|
534
569
|
# 18: \# fail 0
|
|
535
|
-
# 19: \# duration
|
|
570
|
+
# 19: \# duration 59
|
|
536
571
|
# 20:
|
|
537
572
|
# 21:
|
|
538
573
|
#
|
|
@@ -548,7 +583,7 @@ ok 6 - File and Folder Combination Tests
|
|
|
548
583
|
# Subtest: testing a single passing js file works
|
|
549
584
|
ok 1 - testing a single passing js file works
|
|
550
585
|
---
|
|
551
|
-
duration_ms:
|
|
586
|
+
duration_ms: 607.178638
|
|
552
587
|
...
|
|
553
588
|
# Trace:
|
|
554
589
|
# ERROR TEST Name: File Input Tests | testing a single failing js file works
|
|
@@ -564,7 +599,7 @@ ok 6 - File and Folder Combination Tests
|
|
|
564
599
|
# Subtest: testing a single failing js file works
|
|
565
600
|
ok 2 - testing a single failing js file works
|
|
566
601
|
---
|
|
567
|
-
duration_ms:
|
|
602
|
+
duration_ms: 596.099372
|
|
568
603
|
...
|
|
569
604
|
# Trace:
|
|
570
605
|
# TEST NAME: File Input Tests | testing a single passing js file with --browser works, console output supressed
|
|
@@ -572,15 +607,15 @@ ok 6 - File and Folder Combination Tests
|
|
|
572
607
|
# 0: \# QUnitX running: http://localhost:1234/
|
|
573
608
|
# 1: TAP version 13
|
|
574
609
|
# 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
575
|
-
# 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (
|
|
576
|
-
# 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (
|
|
610
|
+
# 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (83 ms)
|
|
611
|
+
# 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
|
|
577
612
|
# 5:
|
|
578
613
|
# 6: 1..3
|
|
579
614
|
# 7: \# tests 3
|
|
580
615
|
# 8: \# pass 3
|
|
581
616
|
# 9: \# skip 0
|
|
582
617
|
# 10: \# fail 0
|
|
583
|
-
# 11: \# duration
|
|
618
|
+
# 11: \# duration 775
|
|
584
619
|
# 12:
|
|
585
620
|
# 13:
|
|
586
621
|
#
|
|
@@ -592,21 +627,21 @@ ok 6 - File and Folder Combination Tests
|
|
|
592
627
|
# Subtest: testing a single passing js file with --browser works, console output supressed
|
|
593
628
|
ok 3 - testing a single passing js file with --browser works, console output supressed
|
|
594
629
|
---
|
|
595
|
-
duration_ms:
|
|
630
|
+
duration_ms: 1695.695045
|
|
596
631
|
...
|
|
597
632
|
# Trace:
|
|
598
633
|
# TEST NAME: File Input Tests | testing a single passing js file with --browser --debug works
|
|
599
634
|
# TEST COMMAND: node cli.js tmp/test/passing-tests.js --browser --debug
|
|
600
|
-
# 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [
|
|
635
|
+
# 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [189ms]
|
|
601
636
|
# 1: \# QUnitX running: http://localhost:1234/
|
|
602
637
|
# 2: \# [HTTPServer] GET /favicon.ico
|
|
603
638
|
# 3: TAP version 13
|
|
604
639
|
# 4: calling assert true test case
|
|
605
640
|
# 5: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
606
641
|
# 6: resolving async test
|
|
607
|
-
# 7: ok 2 {{moduleName}} Passing Tests | async test finishes \# (
|
|
608
|
-
# 8:
|
|
609
|
-
# 9:
|
|
642
|
+
# 7: ok 2 {{moduleName}} Passing Tests | async test finishes \# (62 ms)
|
|
643
|
+
# 8: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
|
|
644
|
+
# 9: calling deepEqual test case
|
|
610
645
|
# 10: {
|
|
611
646
|
# 11: moduleName: 'called resolved async test with object',
|
|
612
647
|
# 12: placeholder: 1000,
|
|
@@ -618,7 +653,7 @@ ok 6 - File and Folder Combination Tests
|
|
|
618
653
|
# 18: \# pass 3
|
|
619
654
|
# 19: \# skip 0
|
|
620
655
|
# 20: \# fail 0
|
|
621
|
-
# 21: \# duration
|
|
656
|
+
# 21: \# duration 768
|
|
622
657
|
# 22:
|
|
623
658
|
# 23: \# HTTPServer [Server]: stopped successfully
|
|
624
659
|
# 24:
|
|
@@ -631,7 +666,7 @@ ok 6 - File and Folder Combination Tests
|
|
|
631
666
|
# Subtest: testing a single passing js file with --browser --debug works
|
|
632
667
|
ok 4 - testing a single passing js file with --browser --debug works
|
|
633
668
|
---
|
|
634
|
-
duration_ms:
|
|
669
|
+
duration_ms: 1674.215926
|
|
635
670
|
...
|
|
636
671
|
# Trace:
|
|
637
672
|
# ERROR TEST Name: File Input Tests | testing a single failing js with --browser file works
|
|
@@ -646,7 +681,7 @@ ok 6 - File and Folder Combination Tests
|
|
|
646
681
|
# Subtest: testing a single failing js with --browser file works
|
|
647
682
|
ok 5 - testing a single failing js with --browser file works
|
|
648
683
|
---
|
|
649
|
-
duration_ms:
|
|
684
|
+
duration_ms: 1671.339446
|
|
650
685
|
...
|
|
651
686
|
# Trace:
|
|
652
687
|
# ERROR TEST Name: File Input Tests | testing a single failing js file with --browser --debug works
|
|
@@ -661,7 +696,7 @@ ok 6 - File and Folder Combination Tests
|
|
|
661
696
|
# Subtest: testing a single failing js file with --browser --debug works
|
|
662
697
|
ok 6 - testing a single failing js file with --browser --debug works
|
|
663
698
|
---
|
|
664
|
-
duration_ms:
|
|
699
|
+
duration_ms: 1664.309019
|
|
665
700
|
...
|
|
666
701
|
# Trace:
|
|
667
702
|
# TEST NAME: File Input Tests | testing a single passing ts file with --browser works, console output supressed
|
|
@@ -669,7 +704,7 @@ ok 6 - File and Folder Combination Tests
|
|
|
669
704
|
# 0: \# QUnitX running: http://localhost:1234/
|
|
670
705
|
# 1: TAP version 13
|
|
671
706
|
# 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
672
|
-
# 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (
|
|
707
|
+
# 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (52 ms)
|
|
673
708
|
# 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
|
|
674
709
|
# 5:
|
|
675
710
|
# 6: 1..3
|
|
@@ -677,7 +712,7 @@ ok 6 - File and Folder Combination Tests
|
|
|
677
712
|
# 8: \# pass 3
|
|
678
713
|
# 9: \# skip 0
|
|
679
714
|
# 10: \# fail 0
|
|
680
|
-
# 11: \# duration
|
|
715
|
+
# 11: \# duration 707
|
|
681
716
|
# 12:
|
|
682
717
|
# 13:
|
|
683
718
|
#
|
|
@@ -689,20 +724,20 @@ ok 6 - File and Folder Combination Tests
|
|
|
689
724
|
# Subtest: testing a single passing ts file with --browser works, console output supressed
|
|
690
725
|
ok 7 - testing a single passing ts file with --browser works, console output supressed
|
|
691
726
|
---
|
|
692
|
-
duration_ms:
|
|
727
|
+
duration_ms: 1745.418842
|
|
693
728
|
...
|
|
694
729
|
# Trace:
|
|
695
730
|
# TEST NAME: File Input Tests | testing a single passing ts file with --browser --debug works
|
|
696
731
|
# TEST COMMAND: node cli.js tmp/test/passing-tests.ts --browser --debug
|
|
697
|
-
# 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [
|
|
732
|
+
# 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [196ms]
|
|
698
733
|
# 1: \# QUnitX running: http://localhost:1234/
|
|
699
734
|
# 2: \# [HTTPServer] GET /favicon.ico
|
|
700
735
|
# 3: TAP version 13
|
|
701
736
|
# 4: calling assert true test case
|
|
702
737
|
# 5: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
703
738
|
# 6: resolving async test
|
|
704
|
-
# 7:
|
|
705
|
-
# 8:
|
|
739
|
+
# 7: calling deepEqual test case
|
|
740
|
+
# 8: ok 2 {{moduleName}} Passing Tests | async test finishes \# (58 ms)
|
|
706
741
|
# 9: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
|
|
707
742
|
# 10: {
|
|
708
743
|
# 11: moduleName: 'called resolved async test with object',
|
|
@@ -715,7 +750,7 @@ ok 6 - File and Folder Combination Tests
|
|
|
715
750
|
# 18: \# pass 3
|
|
716
751
|
# 19: \# skip 0
|
|
717
752
|
# 20: \# fail 0
|
|
718
|
-
# 21: \# duration
|
|
753
|
+
# 21: \# duration 699
|
|
719
754
|
# 22:
|
|
720
755
|
# 23: \# HTTPServer [Server]: stopped successfully
|
|
721
756
|
# 24:
|
|
@@ -728,7 +763,7 @@ ok 6 - File and Folder Combination Tests
|
|
|
728
763
|
# Subtest: testing a single passing ts file with --browser --debug works
|
|
729
764
|
ok 8 - testing a single passing ts file with --browser --debug works
|
|
730
765
|
---
|
|
731
|
-
duration_ms:
|
|
766
|
+
duration_ms: 1752.931159
|
|
732
767
|
...
|
|
733
768
|
# Trace:
|
|
734
769
|
# ERROR TEST Name: File Input Tests | testing a single failing ts with --browser file works
|
|
@@ -743,7 +778,7 @@ ok 6 - File and Folder Combination Tests
|
|
|
743
778
|
# Subtest: testing a single failing ts with --browser file works
|
|
744
779
|
ok 9 - testing a single failing ts with --browser file works
|
|
745
780
|
---
|
|
746
|
-
duration_ms:
|
|
781
|
+
duration_ms: 1726.165804
|
|
747
782
|
...
|
|
748
783
|
# Trace:
|
|
749
784
|
# ERROR TEST Name: File Input Tests | testing a single failing ts file with --browser --debug works
|
|
@@ -758,48 +793,48 @@ ok 6 - File and Folder Combination Tests
|
|
|
758
793
|
# Subtest: testing a single failing ts file with --browser --debug works
|
|
759
794
|
ok 10 - testing a single failing ts file with --browser --debug works
|
|
760
795
|
---
|
|
761
|
-
duration_ms:
|
|
796
|
+
duration_ms: 1677.832157
|
|
762
797
|
...
|
|
763
798
|
1..10
|
|
764
799
|
ok 7 - File Input Tests
|
|
765
800
|
---
|
|
766
|
-
duration_ms:
|
|
801
|
+
duration_ms: 14812.196726
|
|
767
802
|
type: 'suite'
|
|
768
803
|
...
|
|
769
804
|
# Trace:
|
|
770
805
|
# TEST NAME: Folder Input Tests | works for a single folder input with all passing tests
|
|
771
|
-
# TEST COMMAND: node cli.js tmp/
|
|
772
|
-
# 0: \# QUnitX running: /home/izelnakri/Github/qunitx/tmp/
|
|
806
|
+
# TEST COMMAND: node cli.js tmp/d59dcdbe-e6a7-4a2d-a9c0-3dd01bce1a7d
|
|
807
|
+
# 0: \# QUnitX running: /home/izelnakri/Github/qunitx/tmp/d59dcdbe-e6a7-4a2d-a9c0-3dd01bce1a7d/first-module-pass.js, /home/izelnakri/Github/qunitx/tmp/d59dcdbe-e6a7-4a2d-a9c0-3dd01bce1a7d/second-module-pass.js
|
|
773
808
|
# 1: TAP version 13
|
|
774
809
|
# 2: calling assert true test case
|
|
775
|
-
# 3: ok 1
|
|
810
|
+
# 3: ok 1 d59dcdbe-e6a7-4a2d-a9c0-3dd01bce1a7d | first-module-pass Passing Tests | assert true works \# (1 ms)
|
|
776
811
|
# 4: resolving async test
|
|
777
812
|
# 5: {
|
|
778
813
|
# 6: moduleName: 'called resolved async test with object',
|
|
779
814
|
# 7: placeholder: 1000,
|
|
780
815
|
# 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
781
816
|
# 9: }
|
|
782
|
-
# 10: ok 2
|
|
817
|
+
# 10: ok 2 d59dcdbe-e6a7-4a2d-a9c0-3dd01bce1a7d | first-module-pass Passing Tests | async test finishes \# (56 ms)
|
|
783
818
|
# 11: calling deepEqual test case
|
|
784
|
-
# 12: ok 3
|
|
819
|
+
# 12: ok 3 d59dcdbe-e6a7-4a2d-a9c0-3dd01bce1a7d | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
785
820
|
# 13: calling assert true test case
|
|
786
|
-
# 14: ok 4
|
|
821
|
+
# 14: ok 4 d59dcdbe-e6a7-4a2d-a9c0-3dd01bce1a7d | second-module-pass Passing Tests | assert true works \# (0 ms)
|
|
787
822
|
# 15: resolving async test
|
|
788
823
|
# 16: {
|
|
789
824
|
# 17: moduleName: 'called resolved async test with object',
|
|
790
825
|
# 18: placeholder: 1000,
|
|
791
826
|
# 19: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
792
827
|
# 20: }
|
|
793
|
-
# 21: ok 5
|
|
828
|
+
# 21: ok 5 d59dcdbe-e6a7-4a2d-a9c0-3dd01bce1a7d | second-module-pass Passing Tests | async test finishes \# (54 ms)
|
|
794
829
|
# 22: calling deepEqual test case
|
|
795
|
-
# 23: ok 6
|
|
830
|
+
# 23: ok 6 d59dcdbe-e6a7-4a2d-a9c0-3dd01bce1a7d | second-module-pass Passing Tests | deepEqual true works \# (0 ms)
|
|
796
831
|
# 24:
|
|
797
832
|
# 25: 1..6
|
|
798
833
|
# 26: \# tests 6
|
|
799
834
|
# 27: \# pass 6
|
|
800
835
|
# 28: \# skip 0
|
|
801
836
|
# 29: \# fail 0
|
|
802
|
-
# 30: \# duration
|
|
837
|
+
# 30: \# duration 117
|
|
803
838
|
# 31:
|
|
804
839
|
# 32:
|
|
805
840
|
#
|
|
@@ -815,12 +850,12 @@ ok 7 - File Input Tests
|
|
|
815
850
|
# Subtest: works for a single folder input with all passing tests
|
|
816
851
|
ok 1 - works for a single folder input with all passing tests
|
|
817
852
|
---
|
|
818
|
-
duration_ms:
|
|
853
|
+
duration_ms: 689.755619
|
|
819
854
|
...
|
|
820
855
|
# Trace:
|
|
821
856
|
# ERROR TEST Name: Folder Input Tests | works for a single folder input with few failing tests
|
|
822
|
-
# ERROR TEST COMMAND: node cli.js tmp/
|
|
823
|
-
# Error: Command failed: node cli.js tmp/
|
|
857
|
+
# ERROR TEST COMMAND: node cli.js tmp/e68f5cd2-8c92-445f-bbc9-1b40b8056a2c
|
|
858
|
+
# Error: Command failed: node cli.js tmp/e68f5cd2-8c92-445f-bbc9-1b40b8056a2c
|
|
824
859
|
#
|
|
825
860
|
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
826
861
|
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
@@ -831,64 +866,64 @@ ok 7 - File Input Tests
|
|
|
831
866
|
# Subtest: works for a single folder input with few failing tests
|
|
832
867
|
ok 2 - works for a single folder input with few failing tests
|
|
833
868
|
---
|
|
834
|
-
duration_ms:
|
|
869
|
+
duration_ms: 953.068832
|
|
835
870
|
...
|
|
836
871
|
# Trace:
|
|
837
872
|
# TEST NAME: Folder Input Tests |
|
|
838
|
-
# TEST COMMAND: node cli.js tmp/
|
|
839
|
-
# 0: \# QUnitX running: /home/izelnakri/Github/qunitx/tmp/
|
|
873
|
+
# TEST COMMAND: node cli.js tmp/6bd683b8-4d57-4804-a5f5-e870db68816e tmp/c74d7460-18fa-4582-b3fc-268334315dc7
|
|
874
|
+
# 0: \# QUnitX running: /home/izelnakri/Github/qunitx/tmp/6bd683b8-4d57-4804-a5f5-e870db68816e/first-module-pass.js, /home/izelnakri/Github/qunitx/tmp/6bd683b8-4d57-4804-a5f5-e870db68816e/second-module-pass.js, /home/izelnakri/Github/qunitx/tmp/c74d7460-18fa-4582-b3fc-268334315dc7/first-module-pass.js, /home/izelnakri/Github/qunitx/tmp/c74d7460-18fa-4582-b3fc-268334315dc7/second-module-pass.js
|
|
840
875
|
# 1: TAP version 13
|
|
841
876
|
# 2: calling assert true test case
|
|
842
|
-
# 3: ok 1
|
|
877
|
+
# 3: ok 1 6bd683b8-4d57-4804-a5f5-e870db68816e | first-module-pass Passing Tests | assert true works \# (0 ms)
|
|
843
878
|
# 4: resolving async test
|
|
844
879
|
# 5: {
|
|
845
880
|
# 6: moduleName: 'called resolved async test with object',
|
|
846
881
|
# 7: placeholder: 1000,
|
|
847
882
|
# 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
848
883
|
# 9: }
|
|
849
|
-
# 10: ok 2
|
|
884
|
+
# 10: ok 2 6bd683b8-4d57-4804-a5f5-e870db68816e | first-module-pass Passing Tests | async test finishes \# (62 ms)
|
|
850
885
|
# 11: calling deepEqual test case
|
|
851
|
-
# 12: ok 3
|
|
886
|
+
# 12: ok 3 6bd683b8-4d57-4804-a5f5-e870db68816e | first-module-pass Passing Tests | deepEqual true works \# (2 ms)
|
|
852
887
|
# 13: calling assert true test case
|
|
853
|
-
# 14: ok 4
|
|
888
|
+
# 14: ok 4 6bd683b8-4d57-4804-a5f5-e870db68816e | second-module-pass Passing Tests | assert true works \# (1 ms)
|
|
854
889
|
# 15: resolving async test
|
|
855
890
|
# 16: {
|
|
856
891
|
# 17: moduleName: 'called resolved async test with object',
|
|
857
892
|
# 18: placeholder: 1000,
|
|
858
893
|
# 19: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
859
894
|
# 20: }
|
|
860
|
-
# 21: ok 5
|
|
895
|
+
# 21: ok 5 6bd683b8-4d57-4804-a5f5-e870db68816e | second-module-pass Passing Tests | async test finishes \# (52 ms)
|
|
861
896
|
# 22: calling deepEqual test case
|
|
862
|
-
# 23: ok 6
|
|
897
|
+
# 23: ok 6 6bd683b8-4d57-4804-a5f5-e870db68816e | second-module-pass Passing Tests | deepEqual true works \# (0 ms)
|
|
863
898
|
# 24: calling assert true test case
|
|
864
|
-
# 25: ok 7
|
|
899
|
+
# 25: ok 7 c74d7460-18fa-4582-b3fc-268334315dc7 | first-module-pass Passing Tests | assert true works \# (0 ms)
|
|
865
900
|
# 26: resolving async test
|
|
866
901
|
# 27: {
|
|
867
902
|
# 28: moduleName: 'called resolved async test with object',
|
|
868
903
|
# 29: placeholder: 1000,
|
|
869
904
|
# 30: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
870
905
|
# 31: }
|
|
871
|
-
# 32: ok 8
|
|
906
|
+
# 32: ok 8 c74d7460-18fa-4582-b3fc-268334315dc7 | first-module-pass Passing Tests | async test finishes \# (53 ms)
|
|
872
907
|
# 33: calling deepEqual test case
|
|
873
|
-
# 34: ok 9
|
|
908
|
+
# 34: ok 9 c74d7460-18fa-4582-b3fc-268334315dc7 | first-module-pass Passing Tests | deepEqual true works \# (0 ms)
|
|
874
909
|
# 35: calling assert true test case
|
|
875
|
-
# 36: ok 10
|
|
910
|
+
# 36: ok 10 c74d7460-18fa-4582-b3fc-268334315dc7 | second-module-pass Passing Tests | assert true works \# (1 ms)
|
|
876
911
|
# 37: resolving async test
|
|
877
912
|
# 38: {
|
|
878
913
|
# 39: moduleName: 'called resolved async test with object',
|
|
879
914
|
# 40: placeholder: 1000,
|
|
880
915
|
# 41: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
881
916
|
# 42: }
|
|
882
|
-
# 43: ok 11
|
|
917
|
+
# 43: ok 11 c74d7460-18fa-4582-b3fc-268334315dc7 | second-module-pass Passing Tests | async test finishes \# (53 ms)
|
|
883
918
|
# 44: calling deepEqual test case
|
|
884
|
-
# 45: ok 12
|
|
919
|
+
# 45: ok 12 c74d7460-18fa-4582-b3fc-268334315dc7 | second-module-pass Passing Tests | deepEqual true works \# (0 ms)
|
|
885
920
|
# 46:
|
|
886
921
|
# 47: 1..12
|
|
887
922
|
# 48: \# tests 12
|
|
888
923
|
# 49: \# pass 12
|
|
889
924
|
# 50: \# skip 0
|
|
890
925
|
# 51: \# fail 0
|
|
891
|
-
# 52: \# duration
|
|
926
|
+
# 52: \# duration 232
|
|
892
927
|
# 53:
|
|
893
928
|
# 54:
|
|
894
929
|
#
|
|
@@ -901,12 +936,12 @@ ok 7 - File Input Tests
|
|
|
901
936
|
# Subtest: works for a multiple folders input with all passing tests
|
|
902
937
|
ok 3 - works for a multiple folders input with all passing tests
|
|
903
938
|
---
|
|
904
|
-
duration_ms:
|
|
939
|
+
duration_ms: 852.559267
|
|
905
940
|
...
|
|
906
941
|
# Trace:
|
|
907
942
|
# ERROR TEST Name: Folder Input Tests |
|
|
908
|
-
# ERROR TEST COMMAND: node cli.js tmp/
|
|
909
|
-
# Error: Command failed: node cli.js tmp/
|
|
943
|
+
# ERROR TEST COMMAND: node cli.js tmp/a83bb7fe-7236-43b9-bb92-b2aa35991519 tmp/dc1f9741-c687-422b-a4cc-50a805825f45
|
|
944
|
+
# Error: Command failed: node cli.js tmp/a83bb7fe-7236-43b9-bb92-b2aa35991519 tmp/dc1f9741-c687-422b-a4cc-50a805825f45
|
|
910
945
|
#
|
|
911
946
|
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
912
947
|
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
@@ -917,26 +952,26 @@ ok 7 - File Input Tests
|
|
|
917
952
|
# Subtest: works for a multiple folders input with few failing tests
|
|
918
953
|
ok 4 - works for a multiple folders input with few failing tests
|
|
919
954
|
---
|
|
920
|
-
duration_ms:
|
|
955
|
+
duration_ms: 1010.233592
|
|
921
956
|
...
|
|
922
957
|
# Trace:
|
|
923
958
|
# TEST NAME: Folder Input Tests | works for a single folder input in browser mode with all passing tests
|
|
924
|
-
# TEST COMMAND: node cli.js tmp/
|
|
959
|
+
# TEST COMMAND: node cli.js tmp/e3fe3034-05fd-40c4-aac3-bb9ca3a49409 --browser
|
|
925
960
|
# 0: \# QUnitX running: http://localhost:1234/
|
|
926
961
|
# 1: TAP version 13
|
|
927
|
-
# 2: ok 1
|
|
928
|
-
# 3: ok 2
|
|
929
|
-
# 4: ok 3
|
|
930
|
-
# 5: ok 4
|
|
931
|
-
# 6: ok 5
|
|
932
|
-
# 7: ok 6
|
|
962
|
+
# 2: ok 1 e3fe3034-05fd-40c4-aac3-bb9ca3a49409 | first-module-pass Passing Tests | assert true works \# (1 ms)
|
|
963
|
+
# 3: ok 2 e3fe3034-05fd-40c4-aac3-bb9ca3a49409 | first-module-pass Passing Tests | async test finishes \# (79 ms)
|
|
964
|
+
# 4: ok 3 e3fe3034-05fd-40c4-aac3-bb9ca3a49409 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
965
|
+
# 5: ok 4 e3fe3034-05fd-40c4-aac3-bb9ca3a49409 | second-module-pass Passing Tests | assert true works \# (1 ms)
|
|
966
|
+
# 6: ok 5 e3fe3034-05fd-40c4-aac3-bb9ca3a49409 | second-module-pass Passing Tests | async test finishes \# (64 ms)
|
|
967
|
+
# 7: ok 6 e3fe3034-05fd-40c4-aac3-bb9ca3a49409 | second-module-pass Passing Tests | deepEqual true works \# (0 ms)
|
|
933
968
|
# 8:
|
|
934
969
|
# 9: 1..6
|
|
935
970
|
# 10: \# tests 6
|
|
936
971
|
# 11: \# pass 6
|
|
937
972
|
# 12: \# skip 0
|
|
938
973
|
# 13: \# fail 0
|
|
939
|
-
# 14: \# duration
|
|
974
|
+
# 14: \# duration 819
|
|
940
975
|
# 15:
|
|
941
976
|
# 16:
|
|
942
977
|
#
|
|
@@ -948,12 +983,12 @@ ok 7 - File Input Tests
|
|
|
948
983
|
# Subtest: works for a single folder input in browser mode with all passing tests
|
|
949
984
|
ok 5 - works for a single folder input in browser mode with all passing tests
|
|
950
985
|
---
|
|
951
|
-
duration_ms:
|
|
986
|
+
duration_ms: 1663.245444
|
|
952
987
|
...
|
|
953
988
|
# Trace:
|
|
954
989
|
# ERROR TEST Name: Folder Input Tests | works for a single folder input in browser mode with few failing tests
|
|
955
|
-
# ERROR TEST COMMAND: node cli.js tmp/
|
|
956
|
-
# Error: Command failed: node cli.js tmp/
|
|
990
|
+
# ERROR TEST COMMAND: node cli.js tmp/1ed67185-b056-44da-93eb-dff6b42291e5 --browser
|
|
991
|
+
# Error: Command failed: node cli.js tmp/1ed67185-b056-44da-93eb-dff6b42291e5 --browser
|
|
957
992
|
#
|
|
958
993
|
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
959
994
|
# at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:84:7
|
|
@@ -963,32 +998,32 @@ ok 7 - File Input Tests
|
|
|
963
998
|
# Subtest: works for a single folder input in browser mode with few failing tests
|
|
964
999
|
ok 6 - works for a single folder input in browser mode with few failing tests
|
|
965
1000
|
---
|
|
966
|
-
duration_ms:
|
|
1001
|
+
duration_ms: 1893.010268
|
|
967
1002
|
...
|
|
968
1003
|
# Trace:
|
|
969
1004
|
# TEST NAME: Folder Input Tests | works for a multiple folders input in browser mode with all passing tests
|
|
970
|
-
# TEST COMMAND: node cli.js tmp/
|
|
1005
|
+
# TEST COMMAND: node cli.js tmp/55f3d43c-4cac-4f1d-8287-953ae4f66486 tmp/6e6ac09c-e0f8-420c-85bd-0825962d4b7b --browser
|
|
971
1006
|
# 0: \# QUnitX running: http://localhost:1234/
|
|
972
1007
|
# 1: TAP version 13
|
|
973
|
-
# 2: ok 1
|
|
974
|
-
# 3: ok 2
|
|
975
|
-
# 4: ok 3
|
|
976
|
-
# 5: ok 4
|
|
977
|
-
# 6: ok 5
|
|
978
|
-
# 7: ok 6
|
|
979
|
-
# 8: ok 7
|
|
980
|
-
# 9: ok 8
|
|
981
|
-
# 10: ok 9
|
|
982
|
-
# 11: ok 10
|
|
983
|
-
# 12: ok 11
|
|
984
|
-
# 13: ok 12
|
|
1008
|
+
# 2: ok 1 55f3d43c-4cac-4f1d-8287-953ae4f66486 | first-module-pass Passing Tests | assert true works \# (1 ms)
|
|
1009
|
+
# 3: ok 2 55f3d43c-4cac-4f1d-8287-953ae4f66486 | first-module-pass Passing Tests | async test finishes \# (52 ms)
|
|
1010
|
+
# 4: ok 3 55f3d43c-4cac-4f1d-8287-953ae4f66486 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
1011
|
+
# 5: ok 4 55f3d43c-4cac-4f1d-8287-953ae4f66486 | second-module-pass Passing Tests | assert true works \# (1 ms)
|
|
1012
|
+
# 6: ok 5 55f3d43c-4cac-4f1d-8287-953ae4f66486 | second-module-pass Passing Tests | async test finishes \# (61 ms)
|
|
1013
|
+
# 7: ok 6 55f3d43c-4cac-4f1d-8287-953ae4f66486 | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
1014
|
+
# 8: ok 7 6e6ac09c-e0f8-420c-85bd-0825962d4b7b | first-module-pass Passing Tests | assert true works \# (1 ms)
|
|
1015
|
+
# 9: ok 8 6e6ac09c-e0f8-420c-85bd-0825962d4b7b | first-module-pass Passing Tests | async test finishes \# (60 ms)
|
|
1016
|
+
# 10: ok 9 6e6ac09c-e0f8-420c-85bd-0825962d4b7b | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
1017
|
+
# 11: ok 10 6e6ac09c-e0f8-420c-85bd-0825962d4b7b | second-module-pass Passing Tests | assert true works \# (1 ms)
|
|
1018
|
+
# 12: ok 11 6e6ac09c-e0f8-420c-85bd-0825962d4b7b | second-module-pass Passing Tests | async test finishes \# (59 ms)
|
|
1019
|
+
# 13: ok 12 6e6ac09c-e0f8-420c-85bd-0825962d4b7b | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
985
1020
|
# 14:
|
|
986
1021
|
# 15: 1..12
|
|
987
1022
|
# 16: \# tests 12
|
|
988
1023
|
# 17: \# pass 12
|
|
989
1024
|
# 18: \# skip 0
|
|
990
1025
|
# 19: \# fail 0
|
|
991
|
-
# 20: \# duration
|
|
1026
|
+
# 20: \# duration 899
|
|
992
1027
|
# 21:
|
|
993
1028
|
# 22:
|
|
994
1029
|
#
|
|
@@ -1000,12 +1035,12 @@ ok 7 - File Input Tests
|
|
|
1000
1035
|
# Subtest: works for a multiple folders input in browser mode with all passing tests
|
|
1001
1036
|
ok 7 - works for a multiple folders input in browser mode with all passing tests
|
|
1002
1037
|
---
|
|
1003
|
-
duration_ms:
|
|
1038
|
+
duration_ms: 1857.901275
|
|
1004
1039
|
...
|
|
1005
1040
|
# Trace:
|
|
1006
1041
|
# ERROR TEST Name: Folder Input Tests | works for a multiple folders input in browser mode with few failing tests
|
|
1007
|
-
# ERROR TEST COMMAND: node cli.js tmp/
|
|
1008
|
-
# Error: Command failed: node cli.js tmp/
|
|
1042
|
+
# ERROR TEST COMMAND: node cli.js tmp/17fe8821-9111-46ce-8094-90a2ae4f301f tmp/46a2b88f-658e-4759-872c-099bb9d8fe12 --browser
|
|
1043
|
+
# Error: Command failed: node cli.js tmp/17fe8821-9111-46ce-8094-90a2ae4f301f tmp/46a2b88f-658e-4759-872c-099bb9d8fe12 --browser
|
|
1009
1044
|
#
|
|
1010
1045
|
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
1011
1046
|
# at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:114:7
|
|
@@ -1015,32 +1050,32 @@ ok 7 - File Input Tests
|
|
|
1015
1050
|
# Subtest: works for a multiple folders input in browser mode with few failing tests
|
|
1016
1051
|
ok 8 - works for a multiple folders input in browser mode with few failing tests
|
|
1017
1052
|
---
|
|
1018
|
-
duration_ms:
|
|
1053
|
+
duration_ms: 1998.116804
|
|
1019
1054
|
...
|
|
1020
1055
|
# Trace:
|
|
1021
1056
|
# TEST NAME: Folder Input Tests | works for a single folder input in browser mode with debug and all passing tests
|
|
1022
|
-
# TEST COMMAND: node cli.js tmp/
|
|
1023
|
-
# 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [
|
|
1057
|
+
# TEST COMMAND: node cli.js tmp/11744f0e-99b1-40f2-888e-da1faf3b350c --browser --debug
|
|
1058
|
+
# 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [196ms]
|
|
1024
1059
|
# 1: \# QUnitX running: http://localhost:1234/
|
|
1025
1060
|
# 2: \# [HTTPServer] GET /favicon.ico
|
|
1026
1061
|
# 3: TAP version 13
|
|
1027
1062
|
# 4: calling assert true test case
|
|
1028
|
-
# 5: ok 1
|
|
1063
|
+
# 5: ok 1 11744f0e-99b1-40f2-888e-da1faf3b350c | first-module-pass Passing Tests | assert true works \# (3 ms)
|
|
1029
1064
|
# 6: resolving async test
|
|
1030
|
-
# 7: ok 2
|
|
1065
|
+
# 7: ok 2 11744f0e-99b1-40f2-888e-da1faf3b350c | first-module-pass Passing Tests | async test finishes \# (75 ms)
|
|
1031
1066
|
# 8: calling deepEqual test case
|
|
1032
|
-
# 9: ok 3
|
|
1067
|
+
# 9: ok 3 11744f0e-99b1-40f2-888e-da1faf3b350c | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
1033
1068
|
# 10: calling assert true test case
|
|
1034
|
-
# 11: ok 4
|
|
1069
|
+
# 11: ok 4 11744f0e-99b1-40f2-888e-da1faf3b350c | second-module-pass Passing Tests | assert true works \# (1 ms)
|
|
1035
1070
|
# 12: {
|
|
1036
1071
|
# 13: moduleName: 'called resolved async test with object',
|
|
1037
1072
|
# 14: placeholder: 1000,
|
|
1038
1073
|
# 15: anotherObject: { firstName: 'Izel', createdAt: {} }
|
|
1039
1074
|
# 16: }
|
|
1040
1075
|
# 17: resolving async test
|
|
1041
|
-
# 18:
|
|
1042
|
-
# 19:
|
|
1043
|
-
# 20: ok 6
|
|
1076
|
+
# 18: calling deepEqual test case
|
|
1077
|
+
# 19: ok 5 11744f0e-99b1-40f2-888e-da1faf3b350c | second-module-pass Passing Tests | async test finishes \# (55 ms)
|
|
1078
|
+
# 20: ok 6 11744f0e-99b1-40f2-888e-da1faf3b350c | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
1044
1079
|
# 21: {
|
|
1045
1080
|
# 22: moduleName: 'called resolved async test with object',
|
|
1046
1081
|
# 23: placeholder: 1000,
|
|
@@ -1052,7 +1087,7 @@ ok 7 - File Input Tests
|
|
|
1052
1087
|
# 29: \# pass 6
|
|
1053
1088
|
# 30: \# skip 0
|
|
1054
1089
|
# 31: \# fail 0
|
|
1055
|
-
# 32: \# duration
|
|
1090
|
+
# 32: \# duration 784
|
|
1056
1091
|
# 33:
|
|
1057
1092
|
# 34: \# HTTPServer [Server]: stopped successfully
|
|
1058
1093
|
# 35:
|
|
@@ -1065,12 +1100,12 @@ ok 7 - File Input Tests
|
|
|
1065
1100
|
# Subtest: works for a single folder input in browser mode with debug and all passing tests
|
|
1066
1101
|
ok 9 - works for a single folder input in browser mode with debug and all passing tests
|
|
1067
1102
|
---
|
|
1068
|
-
duration_ms:
|
|
1103
|
+
duration_ms: 1704.449142
|
|
1069
1104
|
...
|
|
1070
1105
|
# Trace:
|
|
1071
1106
|
# ERROR TEST Name: Folder Input Tests | works for a single folder input in browser mode with debug and few failing tests
|
|
1072
|
-
# ERROR TEST COMMAND: node cli.js tmp/
|
|
1073
|
-
# Error: Command failed: node cli.js tmp/
|
|
1107
|
+
# ERROR TEST COMMAND: node cli.js tmp/d6683216-34ac-4bdf-8510-534ee78c897c --browser --debug
|
|
1108
|
+
# Error: Command failed: node cli.js tmp/d6683216-34ac-4bdf-8510-534ee78c897c --browser --debug
|
|
1074
1109
|
#
|
|
1075
1110
|
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
1076
1111
|
# at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:146:7
|
|
@@ -1080,23 +1115,23 @@ ok 7 - File Input Tests
|
|
|
1080
1115
|
# Subtest: works for a single folder input in browser mode with debug and few failing tests
|
|
1081
1116
|
ok 10 - works for a single folder input in browser mode with debug and few failing tests
|
|
1082
1117
|
---
|
|
1083
|
-
duration_ms:
|
|
1118
|
+
duration_ms: 1798.334857
|
|
1084
1119
|
...
|
|
1085
1120
|
# Trace:
|
|
1086
1121
|
# TEST NAME: Folder Input Tests | works for a multiple folders input in browser mode with debug and all passing tests
|
|
1087
|
-
# TEST COMMAND: node cli.js tmp/
|
|
1088
|
-
# 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [
|
|
1122
|
+
# TEST COMMAND: node cli.js tmp/21b88a95-cd49-4f8f-9859-a14a74c61006 tmp/e503e2e0-8e92-46bf-beaf-1771c6278cf3 --browser --debug
|
|
1123
|
+
# 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [195ms]
|
|
1089
1124
|
# 1: \# QUnitX running: http://localhost:1234/
|
|
1090
1125
|
# 2: \# [HTTPServer] GET /favicon.ico
|
|
1091
1126
|
# 3: TAP version 13
|
|
1092
1127
|
# 4: calling assert true test case
|
|
1093
|
-
# 5: ok 1
|
|
1128
|
+
# 5: ok 1 21b88a95-cd49-4f8f-9859-a14a74c61006 | first-module-pass Passing Tests | assert true works \# (1 ms)
|
|
1094
1129
|
# 6: resolving async test
|
|
1095
1130
|
# 7: calling deepEqual test case
|
|
1096
|
-
# 8: ok 2
|
|
1097
|
-
# 9: ok 3
|
|
1131
|
+
# 8: ok 2 21b88a95-cd49-4f8f-9859-a14a74c61006 | first-module-pass Passing Tests | async test finishes \# (62 ms)
|
|
1132
|
+
# 9: ok 3 21b88a95-cd49-4f8f-9859-a14a74c61006 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
1098
1133
|
# 10: calling assert true test case
|
|
1099
|
-
# 11: ok 4
|
|
1134
|
+
# 11: ok 4 21b88a95-cd49-4f8f-9859-a14a74c61006 | second-module-pass Passing Tests | assert true works \# (1 ms)
|
|
1100
1135
|
# 12: {
|
|
1101
1136
|
# 13: moduleName: 'called resolved async test with object',
|
|
1102
1137
|
# 14: placeholder: 1000,
|
|
@@ -1104,30 +1139,30 @@ ok 7 - File Input Tests
|
|
|
1104
1139
|
# 16: }
|
|
1105
1140
|
# 17: resolving async test
|
|
1106
1141
|
# 18: calling deepEqual test case
|
|
1107
|
-
# 19: ok 5
|
|
1108
|
-
# 20: ok 6
|
|
1142
|
+
# 19: ok 5 21b88a95-cd49-4f8f-9859-a14a74c61006 | second-module-pass Passing Tests | async test finishes \# (59 ms)
|
|
1143
|
+
# 20: ok 6 21b88a95-cd49-4f8f-9859-a14a74c61006 | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
1109
1144
|
# 21: calling assert true test case
|
|
1110
|
-
# 22: ok 7
|
|
1145
|
+
# 22: ok 7 e503e2e0-8e92-46bf-beaf-1771c6278cf3 | first-module-pass Passing Tests | assert true works \# (1 ms)
|
|
1111
1146
|
# 23: {
|
|
1112
1147
|
# 24: moduleName: 'called resolved async test with object',
|
|
1113
1148
|
# 25: placeholder: 1000,
|
|
1114
1149
|
# 26: anotherObject: { firstName: 'Izel', createdAt: {} }
|
|
1115
1150
|
# 27: }
|
|
1116
1151
|
# 28: resolving async test
|
|
1117
|
-
# 29: ok 8
|
|
1152
|
+
# 29: ok 8 e503e2e0-8e92-46bf-beaf-1771c6278cf3 | first-module-pass Passing Tests | async test finishes \# (59 ms)
|
|
1118
1153
|
# 30: calling deepEqual test case
|
|
1119
|
-
# 31: ok 9
|
|
1154
|
+
# 31: ok 9 e503e2e0-8e92-46bf-beaf-1771c6278cf3 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
1120
1155
|
# 32: calling assert true test case
|
|
1121
|
-
# 33: ok 10
|
|
1156
|
+
# 33: ok 10 e503e2e0-8e92-46bf-beaf-1771c6278cf3 | second-module-pass Passing Tests | assert true works \# (1 ms)
|
|
1122
1157
|
# 34: {
|
|
1123
1158
|
# 35: moduleName: 'called resolved async test with object',
|
|
1124
1159
|
# 36: placeholder: 1000,
|
|
1125
1160
|
# 37: anotherObject: { firstName: 'Izel', createdAt: {} }
|
|
1126
1161
|
# 38: }
|
|
1127
1162
|
# 39: resolving async test
|
|
1128
|
-
# 40: ok 11
|
|
1163
|
+
# 40: ok 11 e503e2e0-8e92-46bf-beaf-1771c6278cf3 | second-module-pass Passing Tests | async test finishes \# (59 ms)
|
|
1129
1164
|
# 41: calling deepEqual test case
|
|
1130
|
-
# 42: ok 12
|
|
1165
|
+
# 42: ok 12 e503e2e0-8e92-46bf-beaf-1771c6278cf3 | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
1131
1166
|
# 43: {
|
|
1132
1167
|
# 44: moduleName: 'called resolved async test with object',
|
|
1133
1168
|
# 45: placeholder: 1000,
|
|
@@ -1139,7 +1174,7 @@ ok 7 - File Input Tests
|
|
|
1139
1174
|
# 51: \# pass 12
|
|
1140
1175
|
# 52: \# skip 0
|
|
1141
1176
|
# 53: \# fail 0
|
|
1142
|
-
# 54: \# duration
|
|
1177
|
+
# 54: \# duration 946
|
|
1143
1178
|
# 55:
|
|
1144
1179
|
# 56: \# HTTPServer [Server]: stopped successfully
|
|
1145
1180
|
# 57:
|
|
@@ -1152,12 +1187,12 @@ ok 7 - File Input Tests
|
|
|
1152
1187
|
# Subtest: works for a multiple folders input in browser mode with debug and all passing tests
|
|
1153
1188
|
ok 11 - works for a multiple folders input in browser mode with debug and all passing tests
|
|
1154
1189
|
---
|
|
1155
|
-
duration_ms:
|
|
1190
|
+
duration_ms: 1787.370494
|
|
1156
1191
|
...
|
|
1157
1192
|
# Trace:
|
|
1158
1193
|
# ERROR TEST Name: Folder Input Tests | works for a multiple folders input in browser mode with debug and few failing tests
|
|
1159
|
-
# ERROR TEST COMMAND: node cli.js tmp/
|
|
1160
|
-
# Error: Command failed: node cli.js tmp/
|
|
1194
|
+
# ERROR TEST COMMAND: node cli.js tmp/8a7e547d-2922-443c-a337-0f53495d8716 tmp/0bc6cbb9-db6c-4bfc-8400-3cf9e31aed16 --browser --debug
|
|
1195
|
+
# Error: Command failed: node cli.js tmp/8a7e547d-2922-443c-a337-0f53495d8716 tmp/0bc6cbb9-db6c-4bfc-8400-3cf9e31aed16 --browser --debug
|
|
1161
1196
|
#
|
|
1162
1197
|
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
1163
1198
|
# at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:176:7
|
|
@@ -1167,32 +1202,32 @@ ok 7 - File Input Tests
|
|
|
1167
1202
|
# Subtest: works for a multiple folders input in browser mode with debug and few failing tests
|
|
1168
1203
|
ok 12 - works for a multiple folders input in browser mode with debug and few failing tests
|
|
1169
1204
|
---
|
|
1170
|
-
duration_ms:
|
|
1205
|
+
duration_ms: 1954.157387
|
|
1171
1206
|
...
|
|
1172
1207
|
1..12
|
|
1173
1208
|
ok 8 - Folder Input Tests
|
|
1174
1209
|
---
|
|
1175
|
-
duration_ms:
|
|
1210
|
+
duration_ms: 18163.801543
|
|
1176
1211
|
type: 'suite'
|
|
1177
1212
|
...
|
|
1178
1213
|
# Subtest: Setup | glob(*) input tests | test-file-paths tests
|
|
1179
1214
|
# Subtest: setupTestFilePaths() works correctly on different inputs
|
|
1180
1215
|
ok 1 - setupTestFilePaths() works correctly on different inputs
|
|
1181
1216
|
---
|
|
1182
|
-
duration_ms:
|
|
1217
|
+
duration_ms: 8.472716
|
|
1183
1218
|
...
|
|
1184
1219
|
1..1
|
|
1185
1220
|
ok 9 - Setup | glob(*) input tests | test-file-paths tests
|
|
1186
1221
|
---
|
|
1187
|
-
duration_ms:
|
|
1222
|
+
duration_ms: 8.625219
|
|
1188
1223
|
type: 'suite'
|
|
1189
1224
|
...
|
|
1190
1225
|
1..9
|
|
1191
1226
|
# tests 39
|
|
1192
1227
|
# suites 9
|
|
1193
|
-
# pass
|
|
1194
|
-
# fail
|
|
1228
|
+
# pass 33
|
|
1229
|
+
# fail 6
|
|
1195
1230
|
# cancelled 0
|
|
1196
1231
|
# skipped 0
|
|
1197
1232
|
# todo 0
|
|
1198
|
-
# duration_ms
|
|
1233
|
+
# duration_ms 38747.73684
|