qunitx 0.4.2 → 0.4.4
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/cool.txt +0 -0
- package/lib/commands/run/tests-in-node.js +1 -0
- package/lib/setup/node-js-environment.js +18 -1
- package/lib/setup/web-server.js +21 -4
- package/package.json +4 -3
- package/test-output.log +201 -216
package/cool.txt
ADDED
|
File without changes
|
|
@@ -1,11 +1,28 @@
|
|
|
1
|
+
import jsdom from "jsdom";
|
|
1
2
|
import QUnit from '../../index.js';
|
|
2
3
|
import timeCounter from '../utils/time-counter.js';
|
|
3
4
|
import runUserModule from '../utils/run-user-module.js';
|
|
4
5
|
import TAPDisplayFinalResult from '../tap/display-final-result.js';
|
|
5
6
|
import TAPDisplayTestResult from '../tap/display-test-result.js';
|
|
6
7
|
|
|
8
|
+
function setupDOM() {
|
|
9
|
+
const { JSDOM } = jsdom;
|
|
10
|
+
const dom = new JSDOM("<p>Hello</p>", {
|
|
11
|
+
url: "http://localhost",
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
global.window = dom.window;
|
|
15
|
+
global.document = window.document;
|
|
16
|
+
global.FormData = dom.window.FormData;
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
global.self = global; // NOTE: super important for pretender
|
|
19
|
+
self.XMLHttpRequest = dom.window.XMLHttpRequest; // pretender reference
|
|
20
|
+
global.location = global.window.location; // removes href of undefined on jquery
|
|
21
|
+
}
|
|
22
|
+
|
|
7
23
|
export default async function setupNodeJSEnvironment(config) {
|
|
8
|
-
|
|
24
|
+
setupDOM(); // NOTE: This is important for pretender & browser APIs
|
|
25
|
+
// global.window = global;
|
|
9
26
|
|
|
10
27
|
window.QUnit = QUnit;
|
|
11
28
|
window.QUnit.config.autostart = false;
|
package/lib/setup/web-server.js
CHANGED
|
@@ -152,6 +152,23 @@ function testRuntimeToInject(port, config) {
|
|
|
152
152
|
|
|
153
153
|
{{allTestCode}}
|
|
154
154
|
|
|
155
|
+
function getCircularReplacer() {
|
|
156
|
+
const ancestors = [];
|
|
157
|
+
return function (key, value) {
|
|
158
|
+
if (typeof value !== "object" || value === null) {
|
|
159
|
+
return value;
|
|
160
|
+
}
|
|
161
|
+
while (ancestors.length > 0 && ancestors.at(-1) !== this) {
|
|
162
|
+
ancestors.pop();
|
|
163
|
+
}
|
|
164
|
+
if (ancestors.includes(value)) {
|
|
165
|
+
return "[Circular]";
|
|
166
|
+
}
|
|
167
|
+
ancestors.push(value);
|
|
168
|
+
return value;
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
|
|
155
172
|
function setupQUnit() {
|
|
156
173
|
window.QUNIT_RESULT = { totalTests: 0, finishedTests: 0, currentTest: '' };
|
|
157
174
|
|
|
@@ -173,7 +190,7 @@ function testRuntimeToInject(port, config) {
|
|
|
173
190
|
});
|
|
174
191
|
window.QUnit.moduleStart((details) => { // NOTE: might be useful in future for hanged module tracking
|
|
175
192
|
if (window.IS_PUPPETEER) {
|
|
176
|
-
window.socket.send(JSON.stringify({ event: 'moduleStart', details: details }));
|
|
193
|
+
window.socket.send(JSON.stringify({ event: 'moduleStart', details: details }, getCircularReplacer()));
|
|
177
194
|
}
|
|
178
195
|
});
|
|
179
196
|
window.QUnit.on('testStart', (details) => {
|
|
@@ -185,7 +202,7 @@ function testRuntimeToInject(port, config) {
|
|
|
185
202
|
window.QUNIT_RESULT.finishedTests++;
|
|
186
203
|
window.QUNIT_RESULT.currentTest = null;
|
|
187
204
|
if (window.IS_PUPPETEER) {
|
|
188
|
-
window.socket.send(JSON.stringify({ event: 'testEnd', details: details, abort: window.abortQUnit }));
|
|
205
|
+
window.socket.send(JSON.stringify({ event: 'testEnd', details: details, abort: window.abortQUnit }, getCircularReplacer()));
|
|
189
206
|
|
|
190
207
|
if (${config.failFast} && details.status === 'failed') {
|
|
191
208
|
window.QUnit.config.queue.length = 0;
|
|
@@ -195,7 +212,7 @@ function testRuntimeToInject(port, config) {
|
|
|
195
212
|
window.QUnit.done((details) => {
|
|
196
213
|
if (window.IS_PUPPETEER) {
|
|
197
214
|
window.setTimeout(() => {
|
|
198
|
-
window.socket.send(JSON.stringify({ event: 'done', details: details, abort: window.abortQUnit }))
|
|
215
|
+
window.socket.send(JSON.stringify({ event: 'done', details: details, abort: window.abortQUnit }, getCircularReplacer()))
|
|
199
216
|
}, 50);
|
|
200
217
|
}
|
|
201
218
|
window.setTimeout(() => {
|
|
@@ -208,7 +225,7 @@ function testRuntimeToInject(port, config) {
|
|
|
208
225
|
} else {
|
|
209
226
|
let connectionTrialCount = 0;
|
|
210
227
|
let connectionInterval = window.setInterval(() => {
|
|
211
|
-
if ([1, 3].includes(window.socket.readyState) || connectionTrialCount >
|
|
228
|
+
if ([1, 3].includes(window.socket.readyState) || connectionTrialCount > 25) {
|
|
212
229
|
window.clearInterval(connectionInterval);
|
|
213
230
|
|
|
214
231
|
return window.setTimeout(() => window.QUnit.start(), 10);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "qunitx",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.4",
|
|
5
5
|
"description": "Experimental improvements, suggestions for qunit CLI",
|
|
6
6
|
"author": "Izel Nakri",
|
|
7
7
|
"license": "MIT",
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"chokidar": "^3.5.3",
|
|
43
43
|
"esbuild": "^0.17.19",
|
|
44
44
|
"js-yaml": "^4.1.0",
|
|
45
|
+
"jsdom": "^22.0.0",
|
|
45
46
|
"kleur": "^4.1.5",
|
|
46
47
|
"nanoexpress": "^6.2.1",
|
|
47
48
|
"picomatch": "^2.3.1",
|
|
@@ -54,8 +55,8 @@
|
|
|
54
55
|
"cors": "^2.8.5",
|
|
55
56
|
"express": "^4.17.3",
|
|
56
57
|
"prettier": "^2.8.8",
|
|
57
|
-
"qunit": "^2.
|
|
58
|
-
"qunitx": "^0.
|
|
58
|
+
"qunit": "^2.19.4",
|
|
59
|
+
"qunitx": "^0.4.2",
|
|
59
60
|
"release-it": "^15.10.3"
|
|
60
61
|
},
|
|
61
62
|
"volta": {
|
package/test-output.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
TAP version 13
|
|
2
|
-
# [qunitx v0.4.
|
|
2
|
+
# [qunitx v0.4.3] Usage: qunitx [targets] --$flags
|
|
3
3
|
# Input options:
|
|
4
4
|
# - File: $ qunitx test/foo.js
|
|
5
5
|
# - Folder: $ qunitx test/login
|
|
@@ -22,32 +22,32 @@ TAP version 13
|
|
|
22
22
|
# Subtest: $ qunitx -> prints help text
|
|
23
23
|
ok 1 - $ qunitx -> prints help text
|
|
24
24
|
---
|
|
25
|
-
duration_ms:
|
|
25
|
+
duration_ms: 1915.762398
|
|
26
26
|
...
|
|
27
27
|
# Subtest: $ qunitx print -> prints help text
|
|
28
28
|
ok 2 - $ qunitx print -> prints help text
|
|
29
29
|
---
|
|
30
|
-
duration_ms:
|
|
30
|
+
duration_ms: 629.240555
|
|
31
31
|
...
|
|
32
32
|
# Subtest: $ qunitx p -> prints help text
|
|
33
33
|
ok 3 - $ qunitx p -> prints help text
|
|
34
34
|
---
|
|
35
|
-
duration_ms:
|
|
35
|
+
duration_ms: 668.734338
|
|
36
36
|
...
|
|
37
37
|
# Subtest: $ qunitx help -> prints help text
|
|
38
38
|
ok 4 - $ qunitx help -> prints help text
|
|
39
39
|
---
|
|
40
|
-
duration_ms:
|
|
40
|
+
duration_ms: 654.139889
|
|
41
41
|
...
|
|
42
42
|
# Subtest: $ qunitx h -> prints help text
|
|
43
43
|
ok 5 - $ qunitx h -> prints help text
|
|
44
44
|
---
|
|
45
|
-
duration_ms:
|
|
45
|
+
duration_ms: 625.765609
|
|
46
46
|
...
|
|
47
47
|
1..5
|
|
48
48
|
ok 1 - Commands | Help tests
|
|
49
49
|
---
|
|
50
|
-
duration_ms:
|
|
50
|
+
duration_ms: 4495.86291
|
|
51
51
|
type: 'suite'
|
|
52
52
|
...
|
|
53
53
|
# Trace:
|
|
@@ -63,7 +63,7 @@ ok 1 - Commands | Help tests
|
|
|
63
63
|
# 7: placeholder: 1000,
|
|
64
64
|
# 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
65
65
|
# 9: }
|
|
66
|
-
# 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (
|
|
66
|
+
# 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (53 ms)
|
|
67
67
|
# 11: calling deepEqual test case
|
|
68
68
|
# 12: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
|
|
69
69
|
# 13:
|
|
@@ -72,7 +72,7 @@ ok 1 - Commands | Help tests
|
|
|
72
72
|
# 16: \# pass 3
|
|
73
73
|
# 17: \# skip 0
|
|
74
74
|
# 18: \# fail 0
|
|
75
|
-
# 19: \# duration
|
|
75
|
+
# 19: \# duration 56
|
|
76
76
|
# 20:
|
|
77
77
|
# 21: This is running from after script!!
|
|
78
78
|
# 22:
|
|
@@ -89,7 +89,7 @@ ok 1 - Commands | Help tests
|
|
|
89
89
|
# Subtest: --after works when it doesnt need to be awaited
|
|
90
90
|
ok 1 - --after works when it doesnt need to be awaited
|
|
91
91
|
---
|
|
92
|
-
duration_ms:
|
|
92
|
+
duration_ms: 2027.761048
|
|
93
93
|
...
|
|
94
94
|
# Trace:
|
|
95
95
|
# TEST NAME: --after script tests | --after works for --browser mode when it doesnt need to be awaited
|
|
@@ -97,15 +97,15 @@ ok 1 - Commands | Help tests
|
|
|
97
97
|
# 0: \# QUnitX running: http://localhost:1234/
|
|
98
98
|
# 1: TAP version 13
|
|
99
99
|
# 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
100
|
-
# 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (
|
|
101
|
-
# 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (
|
|
100
|
+
# 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (64 ms)
|
|
101
|
+
# 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (0 ms)
|
|
102
102
|
# 5:
|
|
103
103
|
# 6: 1
|
|
104
104
|
# 7: \# tests 3
|
|
105
105
|
# 8: \# pass 3
|
|
106
106
|
# 9: \# skip 0
|
|
107
107
|
# 10: \# fail 0
|
|
108
|
-
# 11: \# duration
|
|
108
|
+
# 11: \# duration 647
|
|
109
109
|
# 12:
|
|
110
110
|
# 13: This is running from after script!!
|
|
111
111
|
# 14:
|
|
@@ -118,7 +118,7 @@ ok 1 - Commands | Help tests
|
|
|
118
118
|
# Subtest: --after works for --browser mode when it doesnt need to be awaited
|
|
119
119
|
ok 2 - --after works for --browser mode when it doesnt need to be awaited
|
|
120
120
|
---
|
|
121
|
-
duration_ms:
|
|
121
|
+
duration_ms: 1780.640005
|
|
122
122
|
...
|
|
123
123
|
# Trace:
|
|
124
124
|
# TEST NAME: --after script tests | --after works it needs to be awaited
|
|
@@ -142,7 +142,7 @@ ok 1 - Commands | Help tests
|
|
|
142
142
|
# 16: \# pass 3
|
|
143
143
|
# 17: \# skip 0
|
|
144
144
|
# 18: \# fail 0
|
|
145
|
-
# 19: \# duration
|
|
145
|
+
# 19: \# duration 59
|
|
146
146
|
# 20:
|
|
147
147
|
# 21: This is running from after script!!
|
|
148
148
|
# 22: After script result is written:
|
|
@@ -163,23 +163,23 @@ ok 1 - Commands | Help tests
|
|
|
163
163
|
# Subtest: --after works it needs to be awaited
|
|
164
164
|
ok 3 - --after works it needs to be awaited
|
|
165
165
|
---
|
|
166
|
-
duration_ms:
|
|
166
|
+
duration_ms: 724.654326
|
|
167
167
|
...
|
|
168
168
|
# Trace:
|
|
169
169
|
# TEST NAME: --after script tests | --after works for --browser mode it needs to be awaited
|
|
170
170
|
# TEST COMMAND: node cli.js test/helpers/passing-tests.js --browser --after=test/helpers/after-script-async.js
|
|
171
|
-
# 0: \# QUnitX running: http://localhost:
|
|
171
|
+
# 0: \# QUnitX running: http://localhost:1234/
|
|
172
172
|
# 1: TAP version 13
|
|
173
173
|
# 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
174
|
-
# 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (
|
|
175
|
-
# 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (
|
|
174
|
+
# 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (58 ms)
|
|
175
|
+
# 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (2 ms)
|
|
176
176
|
# 5:
|
|
177
177
|
# 6: 1
|
|
178
178
|
# 7: \# tests 3
|
|
179
179
|
# 8: \# pass 3
|
|
180
180
|
# 9: \# skip 0
|
|
181
181
|
# 10: \# fail 0
|
|
182
|
-
# 11: \# duration
|
|
182
|
+
# 11: \# duration 765
|
|
183
183
|
# 12:
|
|
184
184
|
# 13: This is running from after script!!
|
|
185
185
|
# 14: After script result is written:
|
|
@@ -199,12 +199,12 @@ ok 1 - Commands | Help tests
|
|
|
199
199
|
# Subtest: --after works for --browser mode it needs to be awaited
|
|
200
200
|
ok 4 - --after works for --browser mode it needs to be awaited
|
|
201
201
|
---
|
|
202
|
-
duration_ms:
|
|
202
|
+
duration_ms: 1831.153157
|
|
203
203
|
...
|
|
204
204
|
1..4
|
|
205
205
|
ok 2 - --after script tests
|
|
206
206
|
---
|
|
207
|
-
duration_ms:
|
|
207
|
+
duration_ms: 6366.333335
|
|
208
208
|
type: 'suite'
|
|
209
209
|
...
|
|
210
210
|
# Trace:
|
|
@@ -221,7 +221,7 @@ ok 2 - --after script tests
|
|
|
221
221
|
# 8: placeholder: 1000,
|
|
222
222
|
# 9: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
223
223
|
# 10: }
|
|
224
|
-
# 11: ok 2 {{moduleName}} Passing Tests | async test finishes \# (
|
|
224
|
+
# 11: ok 2 {{moduleName}} Passing Tests | async test finishes \# (56 ms)
|
|
225
225
|
# 12: calling deepEqual test case
|
|
226
226
|
# 13: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
|
|
227
227
|
# 14:
|
|
@@ -230,7 +230,7 @@ ok 2 - --after script tests
|
|
|
230
230
|
# 17: \# pass 3
|
|
231
231
|
# 18: \# skip 0
|
|
232
232
|
# 19: \# fail 0
|
|
233
|
-
# 20: \# duration
|
|
233
|
+
# 20: \# duration 59
|
|
234
234
|
# 21:
|
|
235
235
|
# 22:
|
|
236
236
|
#
|
|
@@ -246,24 +246,26 @@ ok 2 - --after script tests
|
|
|
246
246
|
# Subtest: --before works when it doesnt need to be awaited
|
|
247
247
|
ok 1 - --before works when it doesnt need to be awaited
|
|
248
248
|
---
|
|
249
|
-
duration_ms:
|
|
249
|
+
duration_ms: 831.769145
|
|
250
250
|
...
|
|
251
251
|
# Trace:
|
|
252
252
|
# TEST NAME: --before script tests | --before works for --browser mode when it doesnt need to be awaited
|
|
253
253
|
# TEST COMMAND: node cli.js test/helpers/passing-tests.js --browser --before=test/helpers/before-script-basic.js
|
|
254
254
|
# 0: This is running from before script!!
|
|
255
255
|
# 1: \# QUnitX running: http://localhost:1235/
|
|
256
|
-
# 2:
|
|
257
|
-
# 3: ok
|
|
258
|
-
# 4:
|
|
259
|
-
# 5:
|
|
260
|
-
# 6:
|
|
261
|
-
# 7:
|
|
262
|
-
# 8: \#
|
|
263
|
-
# 9: \#
|
|
264
|
-
# 10: \#
|
|
265
|
-
# 11:
|
|
266
|
-
# 12:
|
|
256
|
+
# 2: TAP version 13
|
|
257
|
+
# 3: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
258
|
+
# 4: ok 2 {{moduleName}} Passing Tests | async test finishes \# (57 ms)
|
|
259
|
+
# 5: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (0 ms)
|
|
260
|
+
# 6:
|
|
261
|
+
# 7: 1
|
|
262
|
+
# 8: \# tests 3
|
|
263
|
+
# 9: \# pass 3
|
|
264
|
+
# 10: \# skip 0
|
|
265
|
+
# 11: \# fail 0
|
|
266
|
+
# 12: \# duration 652
|
|
267
|
+
# 13:
|
|
268
|
+
# 14:
|
|
267
269
|
#
|
|
268
270
|
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
269
271
|
# at async file:///home/izelnakri/Github/qunitx/test/flags/before-test.js:15:24
|
|
@@ -271,22 +273,9 @@ ok 2 - --after script tests
|
|
|
271
273
|
# at async Test.run (node:internal/test_runner/test:569:9)
|
|
272
274
|
# at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
|
|
273
275
|
# Subtest: --before works for --browser mode when it doesnt need to be awaited
|
|
274
|
-
|
|
276
|
+
ok 2 - --before works for --browser mode when it doesnt need to be awaited
|
|
275
277
|
---
|
|
276
|
-
duration_ms:
|
|
277
|
-
failureType: 'testCodeFailure'
|
|
278
|
-
error: 'false == true'
|
|
279
|
-
code: 'ERR_ASSERTION'
|
|
280
|
-
name: 'AssertionError'
|
|
281
|
-
expected: true
|
|
282
|
-
actual: false
|
|
283
|
-
operator: '=='
|
|
284
|
-
stack: |-
|
|
285
|
-
assertTAPResult (file:///home/izelnakri/Github/qunitx/test/helpers/assert-stdout.js:102:10)
|
|
286
|
-
file:///home/izelnakri/Github/qunitx/test/flags/before-test.js:19:5
|
|
287
|
-
async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
288
|
-
async Test.run (node:internal/test_runner/test:569:9)
|
|
289
|
-
async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
|
|
278
|
+
duration_ms: 1705.465915
|
|
290
279
|
...
|
|
291
280
|
# Trace:
|
|
292
281
|
# TEST NAME: --before script tests | --before works it needs to be awaited
|
|
@@ -294,7 +283,7 @@ ok 2 - --after script tests
|
|
|
294
283
|
# 0: This is running from before script!!
|
|
295
284
|
# 1: Starting before script with:
|
|
296
285
|
# 2: DOESNT HAVE SERVER RUNNING
|
|
297
|
-
# 3: \# HTTPServer [Server]: started successfully at [localhost:1235] in [
|
|
286
|
+
# 3: \# HTTPServer [Server]: started successfully at [localhost:1235] in [3ms]
|
|
298
287
|
# 4: Web server started on port 1235
|
|
299
288
|
# 5: \# QUnitX running: /home/izelnakri/Github/qunitx/test/helpers/passing-tests.js, /home/izelnakri/Github/qunitx/test/helpers/before-script-web-server-tests.js
|
|
300
289
|
# 6: TAP version 13
|
|
@@ -306,18 +295,18 @@ ok 2 - --after script tests
|
|
|
306
295
|
# 12: placeholder: 1000,
|
|
307
296
|
# 13: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
308
297
|
# 14: }
|
|
309
|
-
# 15: ok 2 {{moduleName}} Passing Tests | async test finishes \# (
|
|
298
|
+
# 15: ok 2 {{moduleName}} Passing Tests | async test finishes \# (60 ms)
|
|
310
299
|
# 16: calling deepEqual test case
|
|
311
|
-
# 17: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (
|
|
300
|
+
# 17: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (2 ms)
|
|
312
301
|
# 18: req received
|
|
313
|
-
# 19: ok 4 {{moduleName}} Before script web server tests | assert true works \# (
|
|
302
|
+
# 19: ok 4 {{moduleName}} Before script web server tests | assert true works \# (325 ms)
|
|
314
303
|
# 20:
|
|
315
304
|
# 21: 1
|
|
316
305
|
# 22: \# tests 4
|
|
317
306
|
# 23: \# pass 4
|
|
318
307
|
# 24: \# skip 0
|
|
319
308
|
# 25: \# fail 0
|
|
320
|
-
# 26: \# duration
|
|
309
|
+
# 26: \# duration 393
|
|
321
310
|
# 27:
|
|
322
311
|
# 28:
|
|
323
312
|
#
|
|
@@ -330,27 +319,27 @@ ok 2 - --after script tests
|
|
|
330
319
|
# Subtest: --before works it needs to be awaited
|
|
331
320
|
ok 3 - --before works it needs to be awaited
|
|
332
321
|
---
|
|
333
|
-
duration_ms:
|
|
322
|
+
duration_ms: 1226.354775
|
|
334
323
|
...
|
|
335
324
|
# Trace:
|
|
336
325
|
# TEST NAME: --before script tests | --before works for --browser mode it needs to be awaited
|
|
337
326
|
# 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
|
|
338
327
|
# 0: This is running from before script!!
|
|
339
328
|
# 1: Starting before script with:
|
|
340
|
-
# 2: \# QUnitX running: http://localhost:
|
|
329
|
+
# 2: \# QUnitX running: http://localhost:1235/
|
|
341
330
|
# 3: TAP version 13
|
|
342
|
-
# 4: ok 1 {{moduleName}} Passing Tests | assert true works \# (
|
|
343
|
-
# 5: ok 2 {{moduleName}} Passing Tests | async test finishes \# (
|
|
344
|
-
# 6: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (
|
|
331
|
+
# 4: ok 1 {{moduleName}} Passing Tests | assert true works \# (4 ms)
|
|
332
|
+
# 5: ok 2 {{moduleName}} Passing Tests | async test finishes \# (54 ms)
|
|
333
|
+
# 6: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (0 ms)
|
|
345
334
|
# 7: req received
|
|
346
|
-
# 8: ok 4 {{moduleName}} Before script web server tests | assert true works \# (
|
|
335
|
+
# 8: ok 4 {{moduleName}} Before script web server tests | assert true works \# (267 ms)
|
|
347
336
|
# 9:
|
|
348
337
|
# 10: 1
|
|
349
338
|
# 11: \# tests 4
|
|
350
339
|
# 12: \# pass 4
|
|
351
340
|
# 13: \# skip 0
|
|
352
341
|
# 14: \# fail 0
|
|
353
|
-
# 15: \# duration
|
|
342
|
+
# 15: \# duration 892
|
|
354
343
|
# 16:
|
|
355
344
|
# 17:
|
|
356
345
|
#
|
|
@@ -362,51 +351,48 @@ ok 2 - --after script tests
|
|
|
362
351
|
# Subtest: --before works for --browser mode it needs to be awaited
|
|
363
352
|
ok 4 - --before works for --browser mode it needs to be awaited
|
|
364
353
|
---
|
|
365
|
-
duration_ms:
|
|
354
|
+
duration_ms: 1787.733628
|
|
366
355
|
...
|
|
367
356
|
1..4
|
|
368
|
-
|
|
357
|
+
ok 3 - --before script tests
|
|
369
358
|
---
|
|
370
|
-
duration_ms:
|
|
359
|
+
duration_ms: 5551.987085
|
|
371
360
|
type: 'suite'
|
|
372
|
-
failureType: 'subtestsFailed'
|
|
373
|
-
error: '1 subtest failed'
|
|
374
|
-
code: 'ERR_TEST_FAILURE'
|
|
375
361
|
...
|
|
376
362
|
# Subtest: Advanced HTML Input Tests
|
|
377
363
|
# Subtest: testing with specific html without content works
|
|
378
364
|
ok 1 - testing with specific html without content works
|
|
379
365
|
---
|
|
380
|
-
duration_ms:
|
|
366
|
+
duration_ms: 0.40185
|
|
381
367
|
...
|
|
382
368
|
1..1
|
|
383
369
|
ok 4 - Advanced HTML Input Tests
|
|
384
370
|
---
|
|
385
|
-
duration_ms:
|
|
371
|
+
duration_ms: 2.140967
|
|
386
372
|
type: 'suite'
|
|
387
373
|
...
|
|
388
374
|
# Subtest: Advanced Error Edge Cases Tests
|
|
389
375
|
# Subtest: todo
|
|
390
376
|
ok 1 - todo
|
|
391
377
|
---
|
|
392
|
-
duration_ms: 0.
|
|
378
|
+
duration_ms: 0.17043
|
|
393
379
|
...
|
|
394
380
|
1..1
|
|
395
381
|
ok 5 - Advanced Error Edge Cases Tests
|
|
396
382
|
---
|
|
397
|
-
duration_ms:
|
|
383
|
+
duration_ms: 0.278628
|
|
398
384
|
type: 'suite'
|
|
399
385
|
...
|
|
400
386
|
# Subtest: File and Folder Combination Tests
|
|
401
387
|
# Subtest: todo
|
|
402
388
|
ok 1 - todo
|
|
403
389
|
---
|
|
404
|
-
duration_ms: 0.
|
|
390
|
+
duration_ms: 0.127173
|
|
405
391
|
...
|
|
406
392
|
1..1
|
|
407
393
|
ok 6 - File and Folder Combination Tests
|
|
408
394
|
---
|
|
409
|
-
duration_ms: 0.
|
|
395
|
+
duration_ms: 0.234386
|
|
410
396
|
type: 'suite'
|
|
411
397
|
...
|
|
412
398
|
# Trace:
|
|
@@ -422,7 +408,7 @@ ok 6 - File and Folder Combination Tests
|
|
|
422
408
|
# 7: placeholder: 1000,
|
|
423
409
|
# 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
424
410
|
# 9: }
|
|
425
|
-
# 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (
|
|
411
|
+
# 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (54 ms)
|
|
426
412
|
# 11: calling deepEqual test case
|
|
427
413
|
# 12: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
|
|
428
414
|
# 13:
|
|
@@ -431,7 +417,7 @@ ok 6 - File and Folder Combination Tests
|
|
|
431
417
|
# 16: \# pass 3
|
|
432
418
|
# 17: \# skip 0
|
|
433
419
|
# 18: \# fail 0
|
|
434
|
-
# 19: \# duration
|
|
420
|
+
# 19: \# duration 57
|
|
435
421
|
# 20:
|
|
436
422
|
# 21:
|
|
437
423
|
#
|
|
@@ -447,7 +433,7 @@ ok 6 - File and Folder Combination Tests
|
|
|
447
433
|
# Subtest: testing a single passing js file works
|
|
448
434
|
ok 1 - testing a single passing js file works
|
|
449
435
|
---
|
|
450
|
-
duration_ms:
|
|
436
|
+
duration_ms: 2017.734589
|
|
451
437
|
...
|
|
452
438
|
# Trace:
|
|
453
439
|
# ERROR TEST Name: File Input Tests | testing a single failing js file works
|
|
@@ -464,23 +450,23 @@ ok 6 - File and Folder Combination Tests
|
|
|
464
450
|
# Subtest: testing a single failing js file works
|
|
465
451
|
ok 2 - testing a single failing js file works
|
|
466
452
|
---
|
|
467
|
-
duration_ms:
|
|
453
|
+
duration_ms: 765.184642
|
|
468
454
|
...
|
|
469
455
|
# Trace:
|
|
470
456
|
# TEST NAME: File Input Tests | testing a single passing js file with --browser works, console output supressed
|
|
471
457
|
# TEST COMMAND: node cli.js tmp/test/passing-tests.js --browser
|
|
472
458
|
# 0: \# QUnitX running: http://localhost:1235/
|
|
473
459
|
# 1: TAP version 13
|
|
474
|
-
# 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (
|
|
475
|
-
# 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (
|
|
476
|
-
# 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (
|
|
460
|
+
# 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
461
|
+
# 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (64 ms)
|
|
462
|
+
# 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (0 ms)
|
|
477
463
|
# 5:
|
|
478
464
|
# 6: 1
|
|
479
465
|
# 7: \# tests 3
|
|
480
466
|
# 8: \# pass 3
|
|
481
467
|
# 9: \# skip 0
|
|
482
468
|
# 10: \# fail 0
|
|
483
|
-
# 11: \# duration
|
|
469
|
+
# 11: \# duration 653
|
|
484
470
|
# 12:
|
|
485
471
|
# 13:
|
|
486
472
|
#
|
|
@@ -492,21 +478,21 @@ ok 6 - File and Folder Combination Tests
|
|
|
492
478
|
# Subtest: testing a single passing js file with --browser works, console output supressed
|
|
493
479
|
ok 3 - testing a single passing js file with --browser works, console output supressed
|
|
494
480
|
---
|
|
495
|
-
duration_ms:
|
|
481
|
+
duration_ms: 1803.48936
|
|
496
482
|
...
|
|
497
483
|
# Trace:
|
|
498
484
|
# TEST NAME: File Input Tests | testing a single passing js file with --browser --debug works
|
|
499
485
|
# TEST COMMAND: node cli.js tmp/test/passing-tests.js --browser --debug
|
|
500
|
-
# 0: \# HTTPServer [Server]: started successfully at [localhost:
|
|
501
|
-
# 1: \# QUnitX running: http://localhost:
|
|
486
|
+
# 0: \# HTTPServer [Server]: started successfully at [localhost:1235] in [217ms]
|
|
487
|
+
# 1: \# QUnitX running: http://localhost:1235/
|
|
502
488
|
# 2: \# [HTTPServer] GET /favicon.ico
|
|
503
489
|
# 3: TAP version 13
|
|
504
490
|
# 4: calling assert true test case
|
|
505
491
|
# 5: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
506
492
|
# 6: resolving async test
|
|
507
|
-
# 7:
|
|
508
|
-
# 8:
|
|
509
|
-
# 9: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (
|
|
493
|
+
# 7: calling deepEqual test case
|
|
494
|
+
# 8: ok 2 {{moduleName}} Passing Tests | async test finishes \# (58 ms)
|
|
495
|
+
# 9: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (2 ms)
|
|
510
496
|
# 10: {
|
|
511
497
|
# 11: moduleName: 'called resolved async test with object',
|
|
512
498
|
# 12: placeholder: 1000,
|
|
@@ -518,7 +504,7 @@ ok 6 - File and Folder Combination Tests
|
|
|
518
504
|
# 18: \# pass 3
|
|
519
505
|
# 19: \# skip 0
|
|
520
506
|
# 20: \# fail 0
|
|
521
|
-
# 21: \# duration
|
|
507
|
+
# 21: \# duration 749
|
|
522
508
|
# 22:
|
|
523
509
|
# 23: \# HTTPServer [Server]: stopped successfully
|
|
524
510
|
# 24:
|
|
@@ -531,7 +517,7 @@ ok 6 - File and Folder Combination Tests
|
|
|
531
517
|
# Subtest: testing a single passing js file with --browser --debug works
|
|
532
518
|
ok 4 - testing a single passing js file with --browser --debug works
|
|
533
519
|
---
|
|
534
|
-
duration_ms:
|
|
520
|
+
duration_ms: 1750.680301
|
|
535
521
|
...
|
|
536
522
|
# Trace:
|
|
537
523
|
# ERROR TEST Name: File Input Tests | testing a single failing js with --browser file works
|
|
@@ -547,7 +533,7 @@ ok 6 - File and Folder Combination Tests
|
|
|
547
533
|
# Subtest: testing a single failing js with --browser file works
|
|
548
534
|
ok 5 - testing a single failing js with --browser file works
|
|
549
535
|
---
|
|
550
|
-
duration_ms:
|
|
536
|
+
duration_ms: 1923.405741
|
|
551
537
|
...
|
|
552
538
|
# Trace:
|
|
553
539
|
# ERROR TEST Name: File Input Tests | testing a single failing js file with --browser --debug works
|
|
@@ -563,23 +549,23 @@ ok 6 - File and Folder Combination Tests
|
|
|
563
549
|
# Subtest: testing a single failing js file with --browser --debug works
|
|
564
550
|
ok 6 - testing a single failing js file with --browser --debug works
|
|
565
551
|
---
|
|
566
|
-
duration_ms:
|
|
552
|
+
duration_ms: 1767.767347
|
|
567
553
|
...
|
|
568
554
|
# Trace:
|
|
569
555
|
# TEST NAME: File Input Tests | testing a single passing ts file with --browser works, console output supressed
|
|
570
556
|
# TEST COMMAND: node cli.js tmp/test/passing-tests.ts --browser
|
|
571
|
-
# 0: \# QUnitX running: http://localhost:
|
|
557
|
+
# 0: \# QUnitX running: http://localhost:1234/
|
|
572
558
|
# 1: TAP version 13
|
|
573
|
-
# 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (
|
|
574
|
-
# 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (
|
|
575
|
-
# 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (
|
|
559
|
+
# 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (3 ms)
|
|
560
|
+
# 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (53 ms)
|
|
561
|
+
# 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
|
|
576
562
|
# 5:
|
|
577
563
|
# 6: 1
|
|
578
564
|
# 7: \# tests 3
|
|
579
565
|
# 8: \# pass 3
|
|
580
566
|
# 9: \# skip 0
|
|
581
567
|
# 10: \# fail 0
|
|
582
|
-
# 11: \# duration
|
|
568
|
+
# 11: \# duration 706
|
|
583
569
|
# 12:
|
|
584
570
|
# 13:
|
|
585
571
|
#
|
|
@@ -591,19 +577,19 @@ ok 6 - File and Folder Combination Tests
|
|
|
591
577
|
# Subtest: testing a single passing ts file with --browser works, console output supressed
|
|
592
578
|
ok 7 - testing a single passing ts file with --browser works, console output supressed
|
|
593
579
|
---
|
|
594
|
-
duration_ms:
|
|
580
|
+
duration_ms: 1757.089733
|
|
595
581
|
...
|
|
596
582
|
# Trace:
|
|
597
583
|
# TEST NAME: File Input Tests | testing a single passing ts file with --browser --debug works
|
|
598
584
|
# TEST COMMAND: node cli.js tmp/test/passing-tests.ts --browser --debug
|
|
599
|
-
# 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [
|
|
585
|
+
# 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [176ms]
|
|
600
586
|
# 1: \# QUnitX running: http://localhost:1234/
|
|
601
587
|
# 2: \# [HTTPServer] GET /favicon.ico
|
|
602
588
|
# 3: TAP version 13
|
|
603
589
|
# 4: calling assert true test case
|
|
604
|
-
# 5: ok 1 {{moduleName}} Passing Tests | assert true works \# (
|
|
590
|
+
# 5: ok 1 {{moduleName}} Passing Tests | assert true works \# (2 ms)
|
|
605
591
|
# 6: resolving async test
|
|
606
|
-
# 7: ok 2 {{moduleName}} Passing Tests | async test finishes \# (
|
|
592
|
+
# 7: ok 2 {{moduleName}} Passing Tests | async test finishes \# (64 ms)
|
|
607
593
|
# 8: calling deepEqual test case
|
|
608
594
|
# 9: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
|
|
609
595
|
# 10: {
|
|
@@ -617,7 +603,7 @@ ok 6 - File and Folder Combination Tests
|
|
|
617
603
|
# 18: \# pass 3
|
|
618
604
|
# 19: \# skip 0
|
|
619
605
|
# 20: \# fail 0
|
|
620
|
-
# 21: \# duration
|
|
606
|
+
# 21: \# duration 744
|
|
621
607
|
# 22:
|
|
622
608
|
# 23: \# HTTPServer [Server]: stopped successfully
|
|
623
609
|
# 24:
|
|
@@ -630,7 +616,7 @@ ok 6 - File and Folder Combination Tests
|
|
|
630
616
|
# Subtest: testing a single passing ts file with --browser --debug works
|
|
631
617
|
ok 8 - testing a single passing ts file with --browser --debug works
|
|
632
618
|
---
|
|
633
|
-
duration_ms:
|
|
619
|
+
duration_ms: 1743.492305
|
|
634
620
|
...
|
|
635
621
|
# Trace:
|
|
636
622
|
# ERROR TEST Name: File Input Tests | testing a single failing ts with --browser file works
|
|
@@ -646,7 +632,7 @@ ok 6 - File and Folder Combination Tests
|
|
|
646
632
|
# Subtest: testing a single failing ts with --browser file works
|
|
647
633
|
ok 9 - testing a single failing ts with --browser file works
|
|
648
634
|
---
|
|
649
|
-
duration_ms:
|
|
635
|
+
duration_ms: 1762.674829
|
|
650
636
|
...
|
|
651
637
|
# Trace:
|
|
652
638
|
# ERROR TEST Name: File Input Tests | testing a single failing ts file with --browser --debug works
|
|
@@ -662,48 +648,48 @@ ok 6 - File and Folder Combination Tests
|
|
|
662
648
|
# Subtest: testing a single failing ts file with --browser --debug works
|
|
663
649
|
ok 10 - testing a single failing ts file with --browser --debug works
|
|
664
650
|
---
|
|
665
|
-
duration_ms:
|
|
651
|
+
duration_ms: 1788.487265
|
|
666
652
|
...
|
|
667
653
|
1..10
|
|
668
654
|
ok 7 - File Input Tests
|
|
669
655
|
---
|
|
670
|
-
duration_ms:
|
|
656
|
+
duration_ms: 17081.442029
|
|
671
657
|
type: 'suite'
|
|
672
658
|
...
|
|
673
659
|
# Trace:
|
|
674
660
|
# TEST NAME: Folder Input Tests | works for a single folder input with all passing tests
|
|
675
|
-
# TEST COMMAND: node cli.js tmp/
|
|
676
|
-
# 0: \# QUnitX running: /home/izelnakri/Github/qunitx/tmp/
|
|
661
|
+
# TEST COMMAND: node cli.js tmp/ce1c50ae-6c21-49d6-bd05-21a0c1bae250
|
|
662
|
+
# 0: \# QUnitX running: /home/izelnakri/Github/qunitx/tmp/ce1c50ae-6c21-49d6-bd05-21a0c1bae250/first-module-pass.js, /home/izelnakri/Github/qunitx/tmp/ce1c50ae-6c21-49d6-bd05-21a0c1bae250/second-module-pass.js
|
|
677
663
|
# 1: TAP version 13
|
|
678
664
|
# 2: calling assert true test case
|
|
679
|
-
# 3: ok 1
|
|
665
|
+
# 3: ok 1 ce1c50ae-6c21-49d6-bd05-21a0c1bae250 | first-module-pass Passing Tests | assert true works \# (1 ms)
|
|
680
666
|
# 4: resolving async test
|
|
681
667
|
# 5: {
|
|
682
668
|
# 6: moduleName: 'called resolved async test with object',
|
|
683
669
|
# 7: placeholder: 1000,
|
|
684
670
|
# 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
685
671
|
# 9: }
|
|
686
|
-
# 10: ok 2
|
|
672
|
+
# 10: ok 2 ce1c50ae-6c21-49d6-bd05-21a0c1bae250 | first-module-pass Passing Tests | async test finishes \# (56 ms)
|
|
687
673
|
# 11: calling deepEqual test case
|
|
688
|
-
# 12: ok 3
|
|
674
|
+
# 12: ok 3 ce1c50ae-6c21-49d6-bd05-21a0c1bae250 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
689
675
|
# 13: calling assert true test case
|
|
690
|
-
# 14: ok 4
|
|
676
|
+
# 14: ok 4 ce1c50ae-6c21-49d6-bd05-21a0c1bae250 | second-module-pass Passing Tests | assert true works \# (0 ms)
|
|
691
677
|
# 15: resolving async test
|
|
692
678
|
# 16: {
|
|
693
679
|
# 17: moduleName: 'called resolved async test with object',
|
|
694
680
|
# 18: placeholder: 1000,
|
|
695
681
|
# 19: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
696
682
|
# 20: }
|
|
697
|
-
# 21: ok 5
|
|
683
|
+
# 21: ok 5 ce1c50ae-6c21-49d6-bd05-21a0c1bae250 | second-module-pass Passing Tests | async test finishes \# (54 ms)
|
|
698
684
|
# 22: calling deepEqual test case
|
|
699
|
-
# 23: ok 6
|
|
685
|
+
# 23: ok 6 ce1c50ae-6c21-49d6-bd05-21a0c1bae250 | second-module-pass Passing Tests | deepEqual true works \# (0 ms)
|
|
700
686
|
# 24:
|
|
701
687
|
# 25: 1
|
|
702
688
|
# 26: \# tests 6
|
|
703
689
|
# 27: \# pass 6
|
|
704
690
|
# 28: \# skip 0
|
|
705
691
|
# 29: \# fail 0
|
|
706
|
-
# 30: \# duration
|
|
692
|
+
# 30: \# duration 116
|
|
707
693
|
# 31:
|
|
708
694
|
# 32:
|
|
709
695
|
#
|
|
@@ -719,12 +705,12 @@ ok 7 - File Input Tests
|
|
|
719
705
|
# Subtest: works for a single folder input with all passing tests
|
|
720
706
|
ok 1 - works for a single folder input with all passing tests
|
|
721
707
|
---
|
|
722
|
-
duration_ms:
|
|
708
|
+
duration_ms: 728.166514
|
|
723
709
|
...
|
|
724
710
|
# Trace:
|
|
725
711
|
# ERROR TEST Name: Folder Input Tests | works for a single folder input with few failing tests
|
|
726
|
-
# ERROR TEST COMMAND: node cli.js tmp/
|
|
727
|
-
# Error: Command failed: node cli.js tmp/
|
|
712
|
+
# ERROR TEST COMMAND: node cli.js tmp/a3d8fe24-ff87-4428-8a78-3e7ddfee9139
|
|
713
|
+
# Error: Command failed: node cli.js tmp/a3d8fe24-ff87-4428-8a78-3e7ddfee9139
|
|
728
714
|
#
|
|
729
715
|
#
|
|
730
716
|
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
@@ -736,57 +722,57 @@ ok 7 - File Input Tests
|
|
|
736
722
|
# Subtest: works for a single folder input with few failing tests
|
|
737
723
|
ok 2 - works for a single folder input with few failing tests
|
|
738
724
|
---
|
|
739
|
-
duration_ms:
|
|
725
|
+
duration_ms: 888.419999
|
|
740
726
|
...
|
|
741
727
|
# Trace:
|
|
742
728
|
# TEST NAME: Folder Input Tests |
|
|
743
|
-
# TEST COMMAND: node cli.js tmp/
|
|
744
|
-
# 0: \# QUnitX running: /home/izelnakri/Github/qunitx/tmp/
|
|
729
|
+
# TEST COMMAND: node cli.js tmp/5b9aa8c5-0887-4592-8584-b6ed64cf40d9 tmp/11761ee0-377f-43b9-acba-5ef9cdc17550
|
|
730
|
+
# 0: \# QUnitX running: /home/izelnakri/Github/qunitx/tmp/5b9aa8c5-0887-4592-8584-b6ed64cf40d9/first-module-pass.js, /home/izelnakri/Github/qunitx/tmp/5b9aa8c5-0887-4592-8584-b6ed64cf40d9/second-module-pass.js, /home/izelnakri/Github/qunitx/tmp/11761ee0-377f-43b9-acba-5ef9cdc17550/first-module-pass.js, /home/izelnakri/Github/qunitx/tmp/11761ee0-377f-43b9-acba-5ef9cdc17550/second-module-pass.js
|
|
745
731
|
# 1: TAP version 13
|
|
746
732
|
# 2: calling assert true test case
|
|
747
|
-
# 3: ok 1
|
|
733
|
+
# 3: ok 1 5b9aa8c5-0887-4592-8584-b6ed64cf40d9 | first-module-pass Passing Tests | assert true works \# (0 ms)
|
|
748
734
|
# 4: resolving async test
|
|
749
735
|
# 5: {
|
|
750
736
|
# 6: moduleName: 'called resolved async test with object',
|
|
751
737
|
# 7: placeholder: 1000,
|
|
752
738
|
# 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
753
739
|
# 9: }
|
|
754
|
-
# 10: ok 2
|
|
740
|
+
# 10: ok 2 5b9aa8c5-0887-4592-8584-b6ed64cf40d9 | first-module-pass Passing Tests | async test finishes \# (54 ms)
|
|
755
741
|
# 11: calling deepEqual test case
|
|
756
|
-
# 12: ok 3
|
|
742
|
+
# 12: ok 3 5b9aa8c5-0887-4592-8584-b6ed64cf40d9 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
757
743
|
# 13: calling assert true test case
|
|
758
|
-
# 14: ok 4
|
|
744
|
+
# 14: ok 4 5b9aa8c5-0887-4592-8584-b6ed64cf40d9 | second-module-pass Passing Tests | assert true works \# (0 ms)
|
|
759
745
|
# 15: resolving async test
|
|
760
746
|
# 16: {
|
|
761
747
|
# 17: moduleName: 'called resolved async test with object',
|
|
762
748
|
# 18: placeholder: 1000,
|
|
763
749
|
# 19: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
764
750
|
# 20: }
|
|
765
|
-
# 21: ok 5
|
|
751
|
+
# 21: ok 5 5b9aa8c5-0887-4592-8584-b6ed64cf40d9 | second-module-pass Passing Tests | async test finishes \# (54 ms)
|
|
766
752
|
# 22: calling deepEqual test case
|
|
767
|
-
# 23: ok 6
|
|
753
|
+
# 23: ok 6 5b9aa8c5-0887-4592-8584-b6ed64cf40d9 | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
768
754
|
# 24: calling assert true test case
|
|
769
|
-
# 25: ok 7
|
|
755
|
+
# 25: ok 7 11761ee0-377f-43b9-acba-5ef9cdc17550 | first-module-pass Passing Tests | assert true works \# (0 ms)
|
|
770
756
|
# 26: resolving async test
|
|
771
757
|
# 27: {
|
|
772
758
|
# 28: moduleName: 'called resolved async test with object',
|
|
773
759
|
# 29: placeholder: 1000,
|
|
774
760
|
# 30: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
775
761
|
# 31: }
|
|
776
|
-
# 32: ok 8
|
|
762
|
+
# 32: ok 8 11761ee0-377f-43b9-acba-5ef9cdc17550 | first-module-pass Passing Tests | async test finishes \# (55 ms)
|
|
777
763
|
# 33: calling deepEqual test case
|
|
778
|
-
# 34: ok 9
|
|
764
|
+
# 34: ok 9 11761ee0-377f-43b9-acba-5ef9cdc17550 | first-module-pass Passing Tests | deepEqual true works \# (0 ms)
|
|
779
765
|
# 35: calling assert true test case
|
|
780
|
-
# 36: ok 10
|
|
766
|
+
# 36: ok 10 11761ee0-377f-43b9-acba-5ef9cdc17550 | second-module-pass Passing Tests | assert true works \# (0 ms)
|
|
781
767
|
# 37: resolving async test
|
|
782
768
|
# 38: {
|
|
783
769
|
# 39: moduleName: 'called resolved async test with object',
|
|
784
770
|
# 40: placeholder: 1000,
|
|
785
771
|
# 41: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
786
772
|
# 42: }
|
|
787
|
-
# 43: ok 11
|
|
773
|
+
# 43: ok 11 11761ee0-377f-43b9-acba-5ef9cdc17550 | second-module-pass Passing Tests | async test finishes \# (54 ms)
|
|
788
774
|
# 44: calling deepEqual test case
|
|
789
|
-
# 45: ok 12
|
|
775
|
+
# 45: ok 12 11761ee0-377f-43b9-acba-5ef9cdc17550 | second-module-pass Passing Tests | deepEqual true works \# (0 ms)
|
|
790
776
|
# 46:
|
|
791
777
|
# 47: 1
|
|
792
778
|
# 48: \# tests 12
|
|
@@ -806,12 +792,12 @@ ok 7 - File Input Tests
|
|
|
806
792
|
# Subtest: works for a multiple folders input with all passing tests
|
|
807
793
|
ok 3 - works for a multiple folders input with all passing tests
|
|
808
794
|
---
|
|
809
|
-
duration_ms:
|
|
795
|
+
duration_ms: 847.449337
|
|
810
796
|
...
|
|
811
797
|
# Trace:
|
|
812
798
|
# ERROR TEST Name: Folder Input Tests |
|
|
813
|
-
# ERROR TEST COMMAND: node cli.js tmp/
|
|
814
|
-
# Error: Command failed: node cli.js tmp/
|
|
799
|
+
# ERROR TEST COMMAND: node cli.js tmp/c144f085-bcac-40d9-a4a5-78eaf5236c80 tmp/f86f49ff-413c-44c9-9f8a-c26a59fc9ab9
|
|
800
|
+
# Error: Command failed: node cli.js tmp/c144f085-bcac-40d9-a4a5-78eaf5236c80 tmp/f86f49ff-413c-44c9-9f8a-c26a59fc9ab9
|
|
815
801
|
#
|
|
816
802
|
#
|
|
817
803
|
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
@@ -823,26 +809,26 @@ ok 7 - File Input Tests
|
|
|
823
809
|
# Subtest: works for a multiple folders input with few failing tests
|
|
824
810
|
ok 4 - works for a multiple folders input with few failing tests
|
|
825
811
|
---
|
|
826
|
-
duration_ms:
|
|
812
|
+
duration_ms: 1020.857538
|
|
827
813
|
...
|
|
828
814
|
# Trace:
|
|
829
815
|
# TEST NAME: Folder Input Tests | works for a single folder input in browser mode with all passing tests
|
|
830
|
-
# TEST COMMAND: node cli.js tmp/
|
|
816
|
+
# TEST COMMAND: node cli.js tmp/4a3c0ffa-39b4-45c3-963b-acb6c3560297 --browser
|
|
831
817
|
# 0: \# QUnitX running: http://localhost:1234/
|
|
832
818
|
# 1: TAP version 13
|
|
833
|
-
# 2: ok 1
|
|
834
|
-
# 3: ok 2
|
|
835
|
-
# 4: ok 3
|
|
836
|
-
# 5: ok 4
|
|
837
|
-
# 6: ok 5
|
|
838
|
-
# 7: ok 6
|
|
819
|
+
# 2: ok 1 4a3c0ffa-39b4-45c3-963b-acb6c3560297 | first-module-pass Passing Tests | assert true works \# (1 ms)
|
|
820
|
+
# 3: ok 2 4a3c0ffa-39b4-45c3-963b-acb6c3560297 | first-module-pass Passing Tests | async test finishes \# (62 ms)
|
|
821
|
+
# 4: ok 3 4a3c0ffa-39b4-45c3-963b-acb6c3560297 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
822
|
+
# 5: ok 4 4a3c0ffa-39b4-45c3-963b-acb6c3560297 | second-module-pass Passing Tests | assert true works \# (0 ms)
|
|
823
|
+
# 6: ok 5 4a3c0ffa-39b4-45c3-963b-acb6c3560297 | second-module-pass Passing Tests | async test finishes \# (53 ms)
|
|
824
|
+
# 7: ok 6 4a3c0ffa-39b4-45c3-963b-acb6c3560297 | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
839
825
|
# 8:
|
|
840
826
|
# 9: 1
|
|
841
827
|
# 10: \# tests 6
|
|
842
828
|
# 11: \# pass 6
|
|
843
829
|
# 12: \# skip 0
|
|
844
830
|
# 13: \# fail 0
|
|
845
|
-
# 14: \# duration
|
|
831
|
+
# 14: \# duration 785
|
|
846
832
|
# 15:
|
|
847
833
|
# 16:
|
|
848
834
|
#
|
|
@@ -854,12 +840,12 @@ ok 7 - File Input Tests
|
|
|
854
840
|
# Subtest: works for a single folder input in browser mode with all passing tests
|
|
855
841
|
ok 5 - works for a single folder input in browser mode with all passing tests
|
|
856
842
|
---
|
|
857
|
-
duration_ms:
|
|
843
|
+
duration_ms: 1723.642066
|
|
858
844
|
...
|
|
859
845
|
# Trace:
|
|
860
846
|
# ERROR TEST Name: Folder Input Tests | works for a single folder input in browser mode with few failing tests
|
|
861
|
-
# ERROR TEST COMMAND: node cli.js tmp/
|
|
862
|
-
# Error: Command failed: node cli.js tmp/
|
|
847
|
+
# ERROR TEST COMMAND: node cli.js tmp/c51b9a64-8eba-47db-b5e3-161d8360579e --browser
|
|
848
|
+
# Error: Command failed: node cli.js tmp/c51b9a64-8eba-47db-b5e3-161d8360579e --browser
|
|
863
849
|
#
|
|
864
850
|
#
|
|
865
851
|
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
@@ -870,32 +856,32 @@ ok 7 - File Input Tests
|
|
|
870
856
|
# Subtest: works for a single folder input in browser mode with few failing tests
|
|
871
857
|
ok 6 - works for a single folder input in browser mode with few failing tests
|
|
872
858
|
---
|
|
873
|
-
duration_ms:
|
|
859
|
+
duration_ms: 1822.33266
|
|
874
860
|
...
|
|
875
861
|
# Trace:
|
|
876
862
|
# TEST NAME: Folder Input Tests | works for a multiple folders input in browser mode with all passing tests
|
|
877
|
-
# TEST COMMAND: node cli.js tmp/
|
|
863
|
+
# TEST COMMAND: node cli.js tmp/d746f0cc-80da-436d-8e5f-fc654153fd06 tmp/289bae8d-2181-43f4-b350-2478662d6b33 --browser
|
|
878
864
|
# 0: \# QUnitX running: http://localhost:1234/
|
|
879
865
|
# 1: TAP version 13
|
|
880
|
-
# 2: ok 1
|
|
881
|
-
# 3: ok 2
|
|
882
|
-
# 4: ok 3
|
|
883
|
-
# 5: ok 4
|
|
884
|
-
# 6: ok 5
|
|
885
|
-
# 7: ok 6
|
|
886
|
-
# 8: ok 7
|
|
887
|
-
# 9: ok 8
|
|
888
|
-
# 10: ok 9
|
|
889
|
-
# 11: ok 10
|
|
890
|
-
# 12: ok 11
|
|
891
|
-
# 13: ok 12
|
|
866
|
+
# 2: ok 1 d746f0cc-80da-436d-8e5f-fc654153fd06 | first-module-pass Passing Tests | assert true works \# (1 ms)
|
|
867
|
+
# 3: ok 2 d746f0cc-80da-436d-8e5f-fc654153fd06 | first-module-pass Passing Tests | async test finishes \# (55 ms)
|
|
868
|
+
# 4: ok 3 d746f0cc-80da-436d-8e5f-fc654153fd06 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
869
|
+
# 5: ok 4 d746f0cc-80da-436d-8e5f-fc654153fd06 | second-module-pass Passing Tests | assert true works \# (1 ms)
|
|
870
|
+
# 6: ok 5 d746f0cc-80da-436d-8e5f-fc654153fd06 | second-module-pass Passing Tests | async test finishes \# (54 ms)
|
|
871
|
+
# 7: ok 6 d746f0cc-80da-436d-8e5f-fc654153fd06 | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
872
|
+
# 8: ok 7 289bae8d-2181-43f4-b350-2478662d6b33 | first-module-pass Passing Tests | assert true works \# (1 ms)
|
|
873
|
+
# 9: ok 8 289bae8d-2181-43f4-b350-2478662d6b33 | first-module-pass Passing Tests | async test finishes \# (59 ms)
|
|
874
|
+
# 10: ok 9 289bae8d-2181-43f4-b350-2478662d6b33 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
875
|
+
# 11: ok 10 289bae8d-2181-43f4-b350-2478662d6b33 | second-module-pass Passing Tests | assert true works \# (1 ms)
|
|
876
|
+
# 12: ok 11 289bae8d-2181-43f4-b350-2478662d6b33 | second-module-pass Passing Tests | async test finishes \# (58 ms)
|
|
877
|
+
# 13: ok 12 289bae8d-2181-43f4-b350-2478662d6b33 | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
892
878
|
# 14:
|
|
893
879
|
# 15: 1
|
|
894
880
|
# 16: \# tests 12
|
|
895
881
|
# 17: \# pass 12
|
|
896
882
|
# 18: \# skip 0
|
|
897
883
|
# 19: \# fail 0
|
|
898
|
-
# 20: \# duration
|
|
884
|
+
# 20: \# duration 936
|
|
899
885
|
# 21:
|
|
900
886
|
# 22:
|
|
901
887
|
#
|
|
@@ -907,12 +893,12 @@ ok 7 - File Input Tests
|
|
|
907
893
|
# Subtest: works for a multiple folders input in browser mode with all passing tests
|
|
908
894
|
ok 7 - works for a multiple folders input in browser mode with all passing tests
|
|
909
895
|
---
|
|
910
|
-
duration_ms:
|
|
896
|
+
duration_ms: 1784.745579
|
|
911
897
|
...
|
|
912
898
|
# Trace:
|
|
913
899
|
# ERROR TEST Name: Folder Input Tests | works for a multiple folders input in browser mode with few failing tests
|
|
914
|
-
# ERROR TEST COMMAND: node cli.js tmp/
|
|
915
|
-
# Error: Command failed: node cli.js tmp/
|
|
900
|
+
# ERROR TEST COMMAND: node cli.js tmp/0468efb2-c70c-493c-b39c-9e27005f82af tmp/a1c10ff6-01d1-4a08-afac-925e1b7b3aa1 --browser
|
|
901
|
+
# Error: Command failed: node cli.js tmp/0468efb2-c70c-493c-b39c-9e27005f82af tmp/a1c10ff6-01d1-4a08-afac-925e1b7b3aa1 --browser
|
|
916
902
|
#
|
|
917
903
|
#
|
|
918
904
|
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
@@ -923,31 +909,31 @@ ok 7 - File Input Tests
|
|
|
923
909
|
# Subtest: works for a multiple folders input in browser mode with few failing tests
|
|
924
910
|
ok 8 - works for a multiple folders input in browser mode with few failing tests
|
|
925
911
|
---
|
|
926
|
-
duration_ms:
|
|
912
|
+
duration_ms: 1979.388401
|
|
927
913
|
...
|
|
928
914
|
# Trace:
|
|
929
915
|
# TEST NAME: Folder Input Tests | works for a single folder input in browser mode with debug and all passing tests
|
|
930
|
-
# TEST COMMAND: node cli.js tmp/
|
|
931
|
-
# 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [
|
|
916
|
+
# TEST COMMAND: node cli.js tmp/d4ab63d9-c850-41eb-aa53-6ca4cfe682bd --browser --debug
|
|
917
|
+
# 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [161ms]
|
|
932
918
|
# 1: \# QUnitX running: http://localhost:1234/
|
|
933
919
|
# 2: \# [HTTPServer] GET /favicon.ico
|
|
934
920
|
# 3: TAP version 13
|
|
935
921
|
# 4: calling assert true test case
|
|
936
|
-
# 5: ok 1
|
|
937
|
-
# 6:
|
|
938
|
-
# 7:
|
|
922
|
+
# 5: ok 1 d4ab63d9-c850-41eb-aa53-6ca4cfe682bd | first-module-pass Passing Tests | assert true works \# (1 ms)
|
|
923
|
+
# 6: resolving async test
|
|
924
|
+
# 7: ok 2 d4ab63d9-c850-41eb-aa53-6ca4cfe682bd | first-module-pass Passing Tests | async test finishes \# (52 ms)
|
|
939
925
|
# 8: calling deepEqual test case
|
|
940
|
-
# 9: ok 3
|
|
941
|
-
# 10:
|
|
942
|
-
# 11:
|
|
926
|
+
# 9: ok 3 d4ab63d9-c850-41eb-aa53-6ca4cfe682bd | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
927
|
+
# 10: calling assert true test case
|
|
928
|
+
# 11: ok 4 d4ab63d9-c850-41eb-aa53-6ca4cfe682bd | second-module-pass Passing Tests | assert true works \# (0 ms)
|
|
943
929
|
# 12: {
|
|
944
930
|
# 13: moduleName: 'called resolved async test with object',
|
|
945
931
|
# 14: placeholder: 1000,
|
|
946
932
|
# 15: anotherObject: { firstName: 'Izel', createdAt: {} }
|
|
947
933
|
# 16: }
|
|
948
|
-
# 17:
|
|
949
|
-
# 18: ok
|
|
950
|
-
# 19:
|
|
934
|
+
# 17: resolving async test
|
|
935
|
+
# 18: ok 5 d4ab63d9-c850-41eb-aa53-6ca4cfe682bd | second-module-pass Passing Tests | async test finishes \# (59 ms)
|
|
936
|
+
# 19: ok 6 d4ab63d9-c850-41eb-aa53-6ca4cfe682bd | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
951
937
|
# 20: calling deepEqual test case
|
|
952
938
|
# 21: {
|
|
953
939
|
# 22: moduleName: 'called resolved async test with object',
|
|
@@ -960,7 +946,7 @@ ok 7 - File Input Tests
|
|
|
960
946
|
# 29: \# pass 6
|
|
961
947
|
# 30: \# skip 0
|
|
962
948
|
# 31: \# fail 0
|
|
963
|
-
# 32: \# duration
|
|
949
|
+
# 32: \# duration 790
|
|
964
950
|
# 33:
|
|
965
951
|
# 34: \# HTTPServer [Server]: stopped successfully
|
|
966
952
|
# 35:
|
|
@@ -973,16 +959,15 @@ ok 7 - File Input Tests
|
|
|
973
959
|
# Subtest: works for a single folder input in browser mode with debug and all passing tests
|
|
974
960
|
ok 9 - works for a single folder input in browser mode with debug and all passing tests
|
|
975
961
|
---
|
|
976
|
-
duration_ms:
|
|
962
|
+
duration_ms: 1681.322725
|
|
977
963
|
...
|
|
978
964
|
# Trace:
|
|
979
965
|
# ERROR TEST Name: Folder Input Tests | works for a single folder input in browser mode with debug and few failing tests
|
|
980
|
-
# ERROR TEST COMMAND: node cli.js tmp/
|
|
981
|
-
# Error: Command failed: node cli.js tmp/
|
|
966
|
+
# ERROR TEST COMMAND: node cli.js tmp/916d7edf-bc81-4fb1-828f-871678b418a3 --browser --debug
|
|
967
|
+
# Error: Command failed: node cli.js tmp/916d7edf-bc81-4fb1-828f-871678b418a3 --browser --debug
|
|
982
968
|
#
|
|
983
969
|
#
|
|
984
970
|
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
985
|
-
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
986
971
|
# at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:146:7
|
|
987
972
|
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
988
973
|
# at async Test.run (node:internal/test_runner/test:569:9)
|
|
@@ -990,54 +975,54 @@ ok 7 - File Input Tests
|
|
|
990
975
|
# Subtest: works for a single folder input in browser mode with debug and few failing tests
|
|
991
976
|
ok 10 - works for a single folder input in browser mode with debug and few failing tests
|
|
992
977
|
---
|
|
993
|
-
duration_ms:
|
|
978
|
+
duration_ms: 1888.005381
|
|
994
979
|
...
|
|
995
980
|
# Trace:
|
|
996
981
|
# TEST NAME: Folder Input Tests | works for a multiple folders input in browser mode with debug and all passing tests
|
|
997
|
-
# TEST COMMAND: node cli.js tmp/
|
|
998
|
-
# 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [
|
|
982
|
+
# TEST COMMAND: node cli.js tmp/132dd701-b689-4081-bc2a-541dd41ede83 tmp/d5c3f2fb-f86b-4242-9753-3f815cd48403 --browser --debug
|
|
983
|
+
# 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [186ms]
|
|
999
984
|
# 1: \# QUnitX running: http://localhost:1234/
|
|
1000
985
|
# 2: \# [HTTPServer] GET /favicon.ico
|
|
1001
986
|
# 3: TAP version 13
|
|
1002
|
-
# 4:
|
|
1003
|
-
# 5:
|
|
987
|
+
# 4: calling assert true test case
|
|
988
|
+
# 5: ok 1 132dd701-b689-4081-bc2a-541dd41ede83 | first-module-pass Passing Tests | assert true works \# (1 ms)
|
|
1004
989
|
# 6: resolving async test
|
|
1005
|
-
# 7: ok 2
|
|
990
|
+
# 7: ok 2 132dd701-b689-4081-bc2a-541dd41ede83 | first-module-pass Passing Tests | async test finishes \# (64 ms)
|
|
1006
991
|
# 8: calling deepEqual test case
|
|
1007
|
-
# 9: ok 3
|
|
992
|
+
# 9: ok 3 132dd701-b689-4081-bc2a-541dd41ede83 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
1008
993
|
# 10: calling assert true test case
|
|
1009
|
-
# 11: ok 4
|
|
994
|
+
# 11: ok 4 132dd701-b689-4081-bc2a-541dd41ede83 | second-module-pass Passing Tests | assert true works \# (0 ms)
|
|
1010
995
|
# 12: {
|
|
1011
996
|
# 13: moduleName: 'called resolved async test with object',
|
|
1012
997
|
# 14: placeholder: 1000,
|
|
1013
998
|
# 15: anotherObject: { firstName: 'Izel', createdAt: {} }
|
|
1014
999
|
# 16: }
|
|
1015
|
-
# 17:
|
|
1016
|
-
# 18: ok
|
|
1017
|
-
# 19:
|
|
1018
|
-
# 20:
|
|
1019
|
-
# 21: calling
|
|
1020
|
-
# 22:
|
|
1000
|
+
# 17: resolving async test
|
|
1001
|
+
# 18: ok 5 132dd701-b689-4081-bc2a-541dd41ede83 | second-module-pass Passing Tests | async test finishes \# (63 ms)
|
|
1002
|
+
# 19: calling deepEqual test case
|
|
1003
|
+
# 20: ok 6 132dd701-b689-4081-bc2a-541dd41ede83 | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
1004
|
+
# 21: calling assert true test case
|
|
1005
|
+
# 22: ok 7 d5c3f2fb-f86b-4242-9753-3f815cd48403 | first-module-pass Passing Tests | assert true works \# (1 ms)
|
|
1021
1006
|
# 23: {
|
|
1022
1007
|
# 24: moduleName: 'called resolved async test with object',
|
|
1023
1008
|
# 25: placeholder: 1000,
|
|
1024
1009
|
# 26: anotherObject: { firstName: 'Izel', createdAt: {} }
|
|
1025
1010
|
# 27: }
|
|
1026
1011
|
# 28: resolving async test
|
|
1027
|
-
# 29:
|
|
1028
|
-
# 30:
|
|
1029
|
-
# 31: ok 9
|
|
1012
|
+
# 29: calling deepEqual test case
|
|
1013
|
+
# 30: ok 8 d5c3f2fb-f86b-4242-9753-3f815cd48403 | first-module-pass Passing Tests | async test finishes \# (58 ms)
|
|
1014
|
+
# 31: ok 9 d5c3f2fb-f86b-4242-9753-3f815cd48403 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
1030
1015
|
# 32: calling assert true test case
|
|
1031
|
-
# 33: ok 10
|
|
1016
|
+
# 33: ok 10 d5c3f2fb-f86b-4242-9753-3f815cd48403 | second-module-pass Passing Tests | assert true works \# (1 ms)
|
|
1032
1017
|
# 34: {
|
|
1033
1018
|
# 35: moduleName: 'called resolved async test with object',
|
|
1034
1019
|
# 36: placeholder: 1000,
|
|
1035
1020
|
# 37: anotherObject: { firstName: 'Izel', createdAt: {} }
|
|
1036
1021
|
# 38: }
|
|
1037
|
-
# 39:
|
|
1038
|
-
# 40:
|
|
1022
|
+
# 39: resolving async test
|
|
1023
|
+
# 40: ok 11 d5c3f2fb-f86b-4242-9753-3f815cd48403 | second-module-pass Passing Tests | async test finishes \# (58 ms)
|
|
1039
1024
|
# 41: calling deepEqual test case
|
|
1040
|
-
# 42: ok 12
|
|
1025
|
+
# 42: ok 12 d5c3f2fb-f86b-4242-9753-3f815cd48403 | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
1041
1026
|
# 43: {
|
|
1042
1027
|
# 44: moduleName: 'called resolved async test with object',
|
|
1043
1028
|
# 45: placeholder: 1000,
|
|
@@ -1049,7 +1034,7 @@ ok 7 - File Input Tests
|
|
|
1049
1034
|
# 51: \# pass 12
|
|
1050
1035
|
# 52: \# skip 0
|
|
1051
1036
|
# 53: \# fail 0
|
|
1052
|
-
# 54: \# duration
|
|
1037
|
+
# 54: \# duration 835
|
|
1053
1038
|
# 55:
|
|
1054
1039
|
# 56: \# HTTPServer [Server]: stopped successfully
|
|
1055
1040
|
# 57:
|
|
@@ -1062,12 +1047,12 @@ ok 7 - File Input Tests
|
|
|
1062
1047
|
# Subtest: works for a multiple folders input in browser mode with debug and all passing tests
|
|
1063
1048
|
ok 11 - works for a multiple folders input in browser mode with debug and all passing tests
|
|
1064
1049
|
---
|
|
1065
|
-
duration_ms:
|
|
1050
|
+
duration_ms: 1677.753469
|
|
1066
1051
|
...
|
|
1067
1052
|
# Trace:
|
|
1068
1053
|
# ERROR TEST Name: Folder Input Tests | works for a multiple folders input in browser mode with debug and few failing tests
|
|
1069
|
-
# ERROR TEST COMMAND: node cli.js tmp/
|
|
1070
|
-
# Error: Command failed: node cli.js tmp/
|
|
1054
|
+
# ERROR TEST COMMAND: node cli.js tmp/8eda304b-9d3a-4b11-9fe4-15569030bff3 tmp/6e9c29ea-7f79-408c-bde0-63eb8c266f78 --browser --debug
|
|
1055
|
+
# Error: Command failed: node cli.js tmp/8eda304b-9d3a-4b11-9fe4-15569030bff3 tmp/6e9c29ea-7f79-408c-bde0-63eb8c266f78 --browser --debug
|
|
1071
1056
|
#
|
|
1072
1057
|
#
|
|
1073
1058
|
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
@@ -1078,32 +1063,32 @@ ok 7 - File Input Tests
|
|
|
1078
1063
|
# Subtest: works for a multiple folders input in browser mode with debug and few failing tests
|
|
1079
1064
|
ok 12 - works for a multiple folders input in browser mode with debug and few failing tests
|
|
1080
1065
|
---
|
|
1081
|
-
duration_ms:
|
|
1066
|
+
duration_ms: 1920.623096
|
|
1082
1067
|
...
|
|
1083
1068
|
1..12
|
|
1084
1069
|
ok 8 - Folder Input Tests
|
|
1085
1070
|
---
|
|
1086
|
-
duration_ms:
|
|
1071
|
+
duration_ms: 17964.667364
|
|
1087
1072
|
type: 'suite'
|
|
1088
1073
|
...
|
|
1089
1074
|
# Subtest: Setup | glob(*) input tests | test-file-paths tests
|
|
1090
1075
|
# Subtest: setupTestFilePaths() works correctly on different inputs
|
|
1091
1076
|
ok 1 - setupTestFilePaths() works correctly on different inputs
|
|
1092
1077
|
---
|
|
1093
|
-
duration_ms:
|
|
1078
|
+
duration_ms: 12.872859
|
|
1094
1079
|
...
|
|
1095
1080
|
1..1
|
|
1096
1081
|
ok 9 - Setup | glob(*) input tests | test-file-paths tests
|
|
1097
1082
|
---
|
|
1098
|
-
duration_ms:
|
|
1083
|
+
duration_ms: 15.453516
|
|
1099
1084
|
type: 'suite'
|
|
1100
1085
|
...
|
|
1101
1086
|
1..9
|
|
1102
1087
|
# tests 39
|
|
1103
1088
|
# suites 9
|
|
1104
|
-
# pass
|
|
1105
|
-
# fail
|
|
1089
|
+
# pass 39
|
|
1090
|
+
# fail 0
|
|
1106
1091
|
# cancelled 0
|
|
1107
1092
|
# skipped 0
|
|
1108
1093
|
# todo 0
|
|
1109
|
-
# duration_ms
|
|
1094
|
+
# duration_ms 35198.146882
|