qunitx 0.4.4 → 0.5.0
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/deno/cli.js +21 -0
- package/deno-bridge.js +16 -0
- package/deno.json +5 -0
- package/deno.lock +3513 -0
- package/lib/commands/generate.js +3 -3
- package/lib/commands/help.js +3 -3
- package/lib/commands/init.js +3 -3
- package/lib/commands/run/tests-in-browser.js +3 -3
- package/lib/commands/run.js +5 -6
- package/lib/setup/browser.js +3 -2
- package/lib/setup/config.js +1 -1
- package/lib/setup/fs-tree.js +1 -2
- package/lib/setup/web-server.js +5 -6
- package/lib/setup/write-output-static-files.js +1 -1
- package/lib/tap/display-test-result.js +20 -3
- package/lib/utils/listen-to-keyboard-key.js +0 -1
- package/lib/utils/parse-cli-flags.js +1 -1
- package/lib/utils/path-exists.js +1 -1
- package/package.json +19 -4
- package/shims/deno-assert.js +55 -0
- package/shims/deno.js +46 -0
- package/shims/nodejs-assert.js +10 -3
- package/shims/nodejs.js +2 -0
- package/test-output.log +921 -817
- package/cool.txt +0 -0
- package/lol.js +0 -4
package/test-output.log
CHANGED
|
@@ -1,59 +1,162 @@
|
|
|
1
1
|
TAP version 13
|
|
2
|
-
# [qunitx v0.4.3] Usage: qunitx [targets] --$flags
|
|
3
|
-
# Input options:
|
|
4
|
-
# - File: $ qunitx test/foo.js
|
|
5
|
-
# - Folder: $ qunitx test/login
|
|
6
|
-
# - Globs: $ qunitx test/**/*-test.js
|
|
7
|
-
# - Combination: $ qunitx test/foo.js test/bar.js test/*-test.js test/logout
|
|
8
|
-
# Optional flags:
|
|
9
|
-
# --browser : run qunit tests in chromium with puppeteer instead of node.js(which is the default)
|
|
10
|
-
# --debug : print console output when tests run in browser
|
|
11
|
-
# --watch : run the target file or folders, watch them for continuous run and expose http server under localhost
|
|
12
|
-
# --timeout : change default timeout per test case
|
|
13
|
-
# --output : folder to distribute built qunitx html and js that a webservers can run[default: tmp]
|
|
14
|
-
# --failFast : run the target file or folders with immediate abort if a single test fails
|
|
15
|
-
# --before : run a script before the tests(i.e start a new web server before tests)
|
|
16
|
-
# --after : run a script after the tests(i.e save test results to a file)
|
|
17
|
-
# Example: $ qunitx test/foo.ts app/e2e --browser --debug --watch --before=scripts/start-new-webserver.js --after=scripts/write-test-results.js
|
|
18
|
-
# Commands:
|
|
19
|
-
# $ qunitx init \# Bootstraps qunitx base html and add qunitx config to package.json if needed
|
|
20
|
-
# $ qunitx new $testFileName \# Creates a qunitx test file
|
|
21
2
|
# Subtest: Commands | Help tests
|
|
22
3
|
# Subtest: $ qunitx -> prints help text
|
|
23
|
-
ok 1 - $ qunitx -> prints help text
|
|
4
|
+
not ok 1 - $ qunitx -> prints help text
|
|
24
5
|
---
|
|
25
|
-
duration_ms:
|
|
6
|
+
duration_ms: 241.203957
|
|
7
|
+
failureType: 'testCodeFailure'
|
|
8
|
+
error: |-
|
|
9
|
+
Command failed: deno run --allow-read /home/izelnakri/Github/qunitx/cli.js
|
|
10
|
+
[0m[1m[31merror[0m: Error in nanoexpress@6.2.2 parsing version requirement for dependency: uWebSockets.js@https://github.com/uNetworking/uWebSockets.js/archive/v20.24.0.tar.gz
|
|
11
|
+
|
|
12
|
+
Invalid npm version requirement. Unexpected character.
|
|
13
|
+
https://github.com/uNetworking/uWebSockets.js/archive/v20.24
|
|
14
|
+
~
|
|
15
|
+
|
|
16
|
+
Caused by:
|
|
17
|
+
0: Invalid npm version requirement. Unexpected character.
|
|
18
|
+
https://github.com/uNetworking/uWebSockets.js/archive/v20.24
|
|
19
|
+
~
|
|
20
|
+
1: Unexpected character.
|
|
21
|
+
https://github.com/uNetworking/uWebSockets.js/archive/v20.24
|
|
22
|
+
~
|
|
23
|
+
|
|
24
|
+
code: 1
|
|
25
|
+
stack: |-
|
|
26
|
+
ChildProcess.exithandler (node:child_process:419:12)
|
|
27
|
+
ChildProcess.emit (node:events:511:28)
|
|
28
|
+
maybeClose (node:internal/child_process:1098:16)
|
|
29
|
+
ChildProcess._handle.onexit (node:internal/child_process:304:5)
|
|
26
30
|
...
|
|
27
31
|
# Subtest: $ qunitx print -> prints help text
|
|
28
|
-
ok 2 - $ qunitx print -> prints help text
|
|
32
|
+
not ok 2 - $ qunitx print -> prints help text
|
|
29
33
|
---
|
|
30
|
-
duration_ms:
|
|
34
|
+
duration_ms: 241.333031
|
|
35
|
+
failureType: 'testCodeFailure'
|
|
36
|
+
error: |-
|
|
37
|
+
Command failed: deno run --allow-read /home/izelnakri/Github/qunitx/cli.js print
|
|
38
|
+
[0m[1m[31merror[0m: Error in nanoexpress@6.2.2 parsing version requirement for dependency: uWebSockets.js@https://github.com/uNetworking/uWebSockets.js/archive/v20.24.0.tar.gz
|
|
39
|
+
|
|
40
|
+
Invalid npm version requirement. Unexpected character.
|
|
41
|
+
https://github.com/uNetworking/uWebSockets.js/archive/v20.24
|
|
42
|
+
~
|
|
43
|
+
|
|
44
|
+
Caused by:
|
|
45
|
+
0: Invalid npm version requirement. Unexpected character.
|
|
46
|
+
https://github.com/uNetworking/uWebSockets.js/archive/v20.24
|
|
47
|
+
~
|
|
48
|
+
1: Unexpected character.
|
|
49
|
+
https://github.com/uNetworking/uWebSockets.js/archive/v20.24
|
|
50
|
+
~
|
|
51
|
+
|
|
52
|
+
code: 1
|
|
53
|
+
stack: |-
|
|
54
|
+
ChildProcess.exithandler (node:child_process:419:12)
|
|
55
|
+
ChildProcess.emit (node:events:511:28)
|
|
56
|
+
maybeClose (node:internal/child_process:1098:16)
|
|
57
|
+
Socket.<anonymous> (node:internal/child_process:456:11)
|
|
58
|
+
Socket.emit (node:events:511:28)
|
|
59
|
+
Pipe.<anonymous> (node:net:334:12)
|
|
31
60
|
...
|
|
32
61
|
# Subtest: $ qunitx p -> prints help text
|
|
33
|
-
ok 3 - $ qunitx p -> prints help text
|
|
62
|
+
not ok 3 - $ qunitx p -> prints help text
|
|
34
63
|
---
|
|
35
|
-
duration_ms:
|
|
64
|
+
duration_ms: 250.695797
|
|
65
|
+
failureType: 'testCodeFailure'
|
|
66
|
+
error: |-
|
|
67
|
+
Command failed: deno run --allow-read /home/izelnakri/Github/qunitx/cli.js p
|
|
68
|
+
[0m[1m[31merror[0m: Error in nanoexpress@6.2.2 parsing version requirement for dependency: uWebSockets.js@https://github.com/uNetworking/uWebSockets.js/archive/v20.24.0.tar.gz
|
|
69
|
+
|
|
70
|
+
Invalid npm version requirement. Unexpected character.
|
|
71
|
+
https://github.com/uNetworking/uWebSockets.js/archive/v20.24
|
|
72
|
+
~
|
|
73
|
+
|
|
74
|
+
Caused by:
|
|
75
|
+
0: Invalid npm version requirement. Unexpected character.
|
|
76
|
+
https://github.com/uNetworking/uWebSockets.js/archive/v20.24
|
|
77
|
+
~
|
|
78
|
+
1: Unexpected character.
|
|
79
|
+
https://github.com/uNetworking/uWebSockets.js/archive/v20.24
|
|
80
|
+
~
|
|
81
|
+
|
|
82
|
+
code: 1
|
|
83
|
+
stack: |-
|
|
84
|
+
ChildProcess.exithandler (node:child_process:419:12)
|
|
85
|
+
ChildProcess.emit (node:events:511:28)
|
|
86
|
+
maybeClose (node:internal/child_process:1098:16)
|
|
87
|
+
ChildProcess._handle.onexit (node:internal/child_process:304:5)
|
|
36
88
|
...
|
|
37
89
|
# Subtest: $ qunitx help -> prints help text
|
|
38
|
-
ok 4 - $ qunitx help -> prints help text
|
|
90
|
+
not ok 4 - $ qunitx help -> prints help text
|
|
39
91
|
---
|
|
40
|
-
duration_ms:
|
|
92
|
+
duration_ms: 239.016343
|
|
93
|
+
failureType: 'testCodeFailure'
|
|
94
|
+
error: |-
|
|
95
|
+
Command failed: deno run --allow-read /home/izelnakri/Github/qunitx/cli.js help
|
|
96
|
+
[0m[1m[31merror[0m: Error in nanoexpress@6.2.2 parsing version requirement for dependency: uWebSockets.js@https://github.com/uNetworking/uWebSockets.js/archive/v20.24.0.tar.gz
|
|
97
|
+
|
|
98
|
+
Invalid npm version requirement. Unexpected character.
|
|
99
|
+
https://github.com/uNetworking/uWebSockets.js/archive/v20.24
|
|
100
|
+
~
|
|
101
|
+
|
|
102
|
+
Caused by:
|
|
103
|
+
0: Invalid npm version requirement. Unexpected character.
|
|
104
|
+
https://github.com/uNetworking/uWebSockets.js/archive/v20.24
|
|
105
|
+
~
|
|
106
|
+
1: Unexpected character.
|
|
107
|
+
https://github.com/uNetworking/uWebSockets.js/archive/v20.24
|
|
108
|
+
~
|
|
109
|
+
|
|
110
|
+
code: 1
|
|
111
|
+
stack: |-
|
|
112
|
+
ChildProcess.exithandler (node:child_process:419:12)
|
|
113
|
+
ChildProcess.emit (node:events:511:28)
|
|
114
|
+
maybeClose (node:internal/child_process:1098:16)
|
|
115
|
+
Socket.<anonymous> (node:internal/child_process:456:11)
|
|
116
|
+
Socket.emit (node:events:511:28)
|
|
117
|
+
Pipe.<anonymous> (node:net:334:12)
|
|
41
118
|
...
|
|
42
119
|
# Subtest: $ qunitx h -> prints help text
|
|
43
|
-
ok 5 - $ qunitx h -> prints help text
|
|
120
|
+
not ok 5 - $ qunitx h -> prints help text
|
|
44
121
|
---
|
|
45
|
-
duration_ms:
|
|
122
|
+
duration_ms: 185.882389
|
|
123
|
+
failureType: 'testCodeFailure'
|
|
124
|
+
error: |-
|
|
125
|
+
Command failed: deno run --allow-read /home/izelnakri/Github/qunitx/cli.js h
|
|
126
|
+
[0m[1m[31merror[0m: Error in nanoexpress@6.2.2 parsing version requirement for dependency: uWebSockets.js@https://github.com/uNetworking/uWebSockets.js/archive/v20.24.0.tar.gz
|
|
127
|
+
|
|
128
|
+
Invalid npm version requirement. Unexpected character.
|
|
129
|
+
https://github.com/uNetworking/uWebSockets.js/archive/v20.24
|
|
130
|
+
~
|
|
131
|
+
|
|
132
|
+
Caused by:
|
|
133
|
+
0: Invalid npm version requirement. Unexpected character.
|
|
134
|
+
https://github.com/uNetworking/uWebSockets.js/archive/v20.24
|
|
135
|
+
~
|
|
136
|
+
1: Unexpected character.
|
|
137
|
+
https://github.com/uNetworking/uWebSockets.js/archive/v20.24
|
|
138
|
+
~
|
|
139
|
+
|
|
140
|
+
code: 1
|
|
141
|
+
stack: |-
|
|
142
|
+
ChildProcess.exithandler (node:child_process:419:12)
|
|
143
|
+
ChildProcess.emit (node:events:511:28)
|
|
144
|
+
maybeClose (node:internal/child_process:1098:16)
|
|
145
|
+
ChildProcess._handle.onexit (node:internal/child_process:304:5)
|
|
46
146
|
...
|
|
47
147
|
1..5
|
|
48
|
-
ok 1 - Commands | Help tests
|
|
148
|
+
not ok 1 - Commands | Help tests
|
|
49
149
|
---
|
|
50
|
-
duration_ms:
|
|
150
|
+
duration_ms: 256.596526
|
|
51
151
|
type: 'suite'
|
|
152
|
+
failureType: 'subtestsFailed'
|
|
153
|
+
error: '5 subtests failed'
|
|
154
|
+
code: 'ERR_TEST_FAILURE'
|
|
52
155
|
...
|
|
53
|
-
# Trace:
|
|
54
|
-
#
|
|
55
|
-
#
|
|
56
|
-
#
|
|
156
|
+
# Trace:
|
|
157
|
+
# TEST NAME: --after script tests | --after works it needs to be awaited
|
|
158
|
+
# TEST COMMAND: node cli.js test/helpers/passing-tests.js --after=test/helpers/after-script-async.js
|
|
159
|
+
# 0: \# QUnitX running: /home/izelnakri/Github/qunitx/test/helpers/passing-tests.js
|
|
57
160
|
# 1: TAP version 13
|
|
58
161
|
# 2: calling assert true test case
|
|
59
162
|
# 3: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
@@ -63,154 +166,160 @@ ok 1 - Commands | Help tests
|
|
|
63
166
|
# 7: placeholder: 1000,
|
|
64
167
|
# 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
65
168
|
# 9: }
|
|
66
|
-
# 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (
|
|
169
|
+
# 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (55 ms)
|
|
67
170
|
# 11: calling deepEqual test case
|
|
68
|
-
# 12: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (
|
|
69
|
-
# 13:
|
|
70
|
-
# 14: 1
|
|
171
|
+
# 12: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (0 ms)
|
|
172
|
+
# 13:
|
|
173
|
+
# 14: 1..3
|
|
71
174
|
# 15: \# tests 3
|
|
72
175
|
# 16: \# pass 3
|
|
73
176
|
# 17: \# skip 0
|
|
74
177
|
# 18: \# fail 0
|
|
75
|
-
# 19: \# duration
|
|
76
|
-
# 20:
|
|
178
|
+
# 19: \# duration 57
|
|
179
|
+
# 20:
|
|
77
180
|
# 21: This is running from after script!!
|
|
78
|
-
# 22:
|
|
79
|
-
#
|
|
80
|
-
#
|
|
81
|
-
#
|
|
82
|
-
#
|
|
83
|
-
#
|
|
84
|
-
#
|
|
85
|
-
#
|
|
86
|
-
#
|
|
87
|
-
#
|
|
181
|
+
# 22: After script result is written:
|
|
182
|
+
# 23: {
|
|
183
|
+
# 24: "testCount": 3,
|
|
184
|
+
# 25: "failCount": 0,
|
|
185
|
+
# 26: "skipCount": 0,
|
|
186
|
+
# 27: "passCount": 3
|
|
187
|
+
# 28: }
|
|
188
|
+
# 29:
|
|
189
|
+
#
|
|
190
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
191
|
+
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
192
|
+
# at async file:///home/izelnakri/Github/qunitx/test/flags/after-test.js:23:24
|
|
193
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
194
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
195
|
+
# at async Promise.all (index 2)
|
|
196
|
+
# at async Suite.run (node:internal/test_runner/test:806:7)
|
|
197
|
+
# at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
198
|
+
# Trace:
|
|
199
|
+
# TEST NAME: --after script tests | --after works when it doesnt need to be awaited
|
|
200
|
+
# TEST COMMAND: node cli.js test/helpers/passing-tests.js --after=test/helpers/after-script-basic.js
|
|
201
|
+
# 0: \# QUnitX running: /home/izelnakri/Github/qunitx/test/helpers/passing-tests.js
|
|
202
|
+
# 1: TAP version 13
|
|
203
|
+
# 2: calling assert true test case
|
|
204
|
+
# 3: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
205
|
+
# 4: resolving async test
|
|
206
|
+
# 5: {
|
|
207
|
+
# 6: moduleName: 'called resolved async test with object',
|
|
208
|
+
# 7: placeholder: 1000,
|
|
209
|
+
# 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
210
|
+
# 9: }
|
|
211
|
+
# 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (57 ms)
|
|
212
|
+
# 11: calling deepEqual test case
|
|
213
|
+
# 12: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (0 ms)
|
|
214
|
+
# 13:
|
|
215
|
+
# 14: 1..3
|
|
216
|
+
# 15: \# tests 3
|
|
217
|
+
# 16: \# pass 3
|
|
218
|
+
# 17: \# skip 0
|
|
219
|
+
# 18: \# fail 0
|
|
220
|
+
# 19: \# duration 61
|
|
221
|
+
# 20:
|
|
222
|
+
# 21: This is running from after script!!
|
|
223
|
+
# 22:
|
|
224
|
+
#
|
|
225
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
226
|
+
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
227
|
+
# at async file:///home/izelnakri/Github/qunitx/test/flags/after-test.js:7:24
|
|
228
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
229
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
230
|
+
# at async Promise.all (index 0)
|
|
231
|
+
# at async Suite.run (node:internal/test_runner/test:806:7)
|
|
232
|
+
# at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
88
233
|
# Subtest: --after script tests
|
|
89
234
|
# Subtest: --after works when it doesnt need to be awaited
|
|
90
235
|
ok 1 - --after works when it doesnt need to be awaited
|
|
91
236
|
---
|
|
92
|
-
duration_ms:
|
|
237
|
+
duration_ms: 864.436916
|
|
93
238
|
...
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
239
|
+
# Trace:
|
|
240
|
+
# TEST NAME: --after script tests | --after works for --browser mode it needs to be awaited
|
|
241
|
+
# TEST COMMAND: node cli.js test/helpers/passing-tests.js --browser --after=test/helpers/after-script-async.js
|
|
242
|
+
# 0: \# QUnitX running: http://localhost:1235/
|
|
243
|
+
# 1: TAP version 13
|
|
244
|
+
# 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
245
|
+
# 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (55 ms)
|
|
246
|
+
# 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
|
|
247
|
+
# 5:
|
|
248
|
+
# 6: 1..3
|
|
249
|
+
# 7: \# tests 3
|
|
250
|
+
# 8: \# pass 3
|
|
251
|
+
# 9: \# skip 0
|
|
252
|
+
# 10: \# fail 0
|
|
253
|
+
# 11: \# duration 739
|
|
254
|
+
# 12:
|
|
255
|
+
# 13: This is running from after script!!
|
|
256
|
+
# 14: After script result is written:
|
|
257
|
+
# 15: {
|
|
258
|
+
# 16: "testCount": 3,
|
|
259
|
+
# 17: "failCount": 0,
|
|
260
|
+
# 18: "skipCount": 0,
|
|
261
|
+
# 19: "passCount": 3
|
|
262
|
+
# 20: }
|
|
263
|
+
# 21:
|
|
264
|
+
#
|
|
265
|
+
# 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:33:24
|
|
267
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
268
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
269
|
+
# at async Promise.all (index 3)
|
|
270
|
+
# at async Suite.run (node:internal/test_runner/test:806:7)
|
|
271
|
+
# at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
272
|
+
# Trace:
|
|
273
|
+
# TEST NAME: --after script tests | --after works for --browser mode when it doesnt need to be awaited
|
|
274
|
+
# TEST COMMAND: node cli.js test/helpers/passing-tests.js --browser --after=test/helpers/after-script-basic.js
|
|
275
|
+
# 0: \# QUnitX running: http://localhost:1234/
|
|
276
|
+
# 1: TAP version 13
|
|
277
|
+
# 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (2 ms)
|
|
278
|
+
# 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (61 ms)
|
|
279
|
+
# 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
|
|
280
|
+
# 5:
|
|
281
|
+
# 6: 1..3
|
|
282
|
+
# 7: \# tests 3
|
|
283
|
+
# 8: \# pass 3
|
|
284
|
+
# 9: \# skip 0
|
|
285
|
+
# 10: \# fail 0
|
|
286
|
+
# 11: \# duration 753
|
|
287
|
+
# 12:
|
|
288
|
+
# 13: This is running from after script!!
|
|
289
|
+
# 14:
|
|
290
|
+
#
|
|
291
|
+
# 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:15:24
|
|
293
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
294
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
295
|
+
# at async Promise.all (index 1)
|
|
296
|
+
# at async Suite.run (node:internal/test_runner/test:806:7)
|
|
297
|
+
# at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
118
298
|
# Subtest: --after works for --browser mode when it doesnt need to be awaited
|
|
119
299
|
ok 2 - --after works for --browser mode when it doesnt need to be awaited
|
|
120
300
|
---
|
|
121
|
-
duration_ms:
|
|
301
|
+
duration_ms: 1967.380628
|
|
122
302
|
...
|
|
123
|
-
# Trace:
|
|
124
|
-
# TEST NAME: --after script tests | --after works it needs to be awaited
|
|
125
|
-
# TEST COMMAND: node cli.js test/helpers/passing-tests.js --after=test/helpers/after-script-async.js
|
|
126
|
-
# 0: \# QUnitX running: /home/izelnakri/Github/qunitx/test/helpers/passing-tests.js
|
|
127
|
-
# 1: TAP version 13
|
|
128
|
-
# 2: calling assert true test case
|
|
129
|
-
# 3: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
130
|
-
# 4: resolving async test
|
|
131
|
-
# 5: {
|
|
132
|
-
# 6: moduleName: 'called resolved async test with object',
|
|
133
|
-
# 7: placeholder: 1000,
|
|
134
|
-
# 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
135
|
-
# 9: }
|
|
136
|
-
# 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (55 ms)
|
|
137
|
-
# 11: calling deepEqual test case
|
|
138
|
-
# 12: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
|
|
139
|
-
# 13:
|
|
140
|
-
# 14: 1
|
|
141
|
-
# 15: \# tests 3
|
|
142
|
-
# 16: \# pass 3
|
|
143
|
-
# 17: \# skip 0
|
|
144
|
-
# 18: \# fail 0
|
|
145
|
-
# 19: \# duration 59
|
|
146
|
-
# 20:
|
|
147
|
-
# 21: This is running from after script!!
|
|
148
|
-
# 22: After script result is written:
|
|
149
|
-
# 23: {
|
|
150
|
-
# 24: "testCount": 3,
|
|
151
|
-
# 25: "failCount": 0,
|
|
152
|
-
# 26: "skipCount": 0,
|
|
153
|
-
# 27: "passCount": 3
|
|
154
|
-
# 28: }
|
|
155
|
-
# 29:
|
|
156
|
-
#
|
|
157
|
-
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
158
|
-
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
159
|
-
# at async file:///home/izelnakri/Github/qunitx/test/flags/after-test.js:23:24
|
|
160
|
-
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
161
|
-
# at async Test.run (node:internal/test_runner/test:569:9)
|
|
162
|
-
# at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
|
|
163
303
|
# Subtest: --after works it needs to be awaited
|
|
164
304
|
ok 3 - --after works it needs to be awaited
|
|
165
305
|
---
|
|
166
|
-
duration_ms:
|
|
306
|
+
duration_ms: 823.008656
|
|
167
307
|
...
|
|
168
|
-
# Trace:
|
|
169
|
-
# TEST NAME: --after script tests | --after works for --browser mode it needs to be awaited
|
|
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:1234/
|
|
172
|
-
# 1: TAP version 13
|
|
173
|
-
# 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
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
|
-
# 5:
|
|
177
|
-
# 6: 1
|
|
178
|
-
# 7: \# tests 3
|
|
179
|
-
# 8: \# pass 3
|
|
180
|
-
# 9: \# skip 0
|
|
181
|
-
# 10: \# fail 0
|
|
182
|
-
# 11: \# duration 765
|
|
183
|
-
# 12:
|
|
184
|
-
# 13: This is running from after script!!
|
|
185
|
-
# 14: After script result is written:
|
|
186
|
-
# 15: {
|
|
187
|
-
# 16: "testCount": 3,
|
|
188
|
-
# 17: "failCount": 0,
|
|
189
|
-
# 18: "skipCount": 0,
|
|
190
|
-
# 19: "passCount": 3
|
|
191
|
-
# 20: }
|
|
192
|
-
# 21:
|
|
193
|
-
#
|
|
194
|
-
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
195
|
-
# at async file:///home/izelnakri/Github/qunitx/test/flags/after-test.js:33:24
|
|
196
|
-
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
197
|
-
# at async Test.run (node:internal/test_runner/test:569:9)
|
|
198
|
-
# at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
|
|
199
308
|
# Subtest: --after works for --browser mode it needs to be awaited
|
|
200
309
|
ok 4 - --after works for --browser mode it needs to be awaited
|
|
201
310
|
---
|
|
202
|
-
duration_ms:
|
|
311
|
+
duration_ms: 1942.881499
|
|
203
312
|
...
|
|
204
313
|
1..4
|
|
205
314
|
ok 2 - --after script tests
|
|
206
315
|
---
|
|
207
|
-
duration_ms:
|
|
316
|
+
duration_ms: 1970.337588
|
|
208
317
|
type: 'suite'
|
|
209
318
|
...
|
|
210
|
-
# Trace:
|
|
211
|
-
#
|
|
212
|
-
#
|
|
213
|
-
#
|
|
319
|
+
# Trace:
|
|
320
|
+
# TEST NAME: --before script tests | --before works when it doesnt need to be awaited
|
|
321
|
+
# TEST COMMAND: node cli.js test/helpers/passing-tests.js --before=test/helpers/before-script-basic.js
|
|
322
|
+
# 0: This is running from before script!!
|
|
214
323
|
# 1: \# QUnitX running: /home/izelnakri/Github/qunitx/test/helpers/passing-tests.js
|
|
215
324
|
# 2: TAP version 13
|
|
216
325
|
# 3: calling assert true test case
|
|
@@ -221,184 +330,190 @@ ok 2 - --after script tests
|
|
|
221
330
|
# 8: placeholder: 1000,
|
|
222
331
|
# 9: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
223
332
|
# 10: }
|
|
224
|
-
# 11: ok 2 {{moduleName}} Passing Tests | async test finishes \# (
|
|
333
|
+
# 11: ok 2 {{moduleName}} Passing Tests | async test finishes \# (55 ms)
|
|
225
334
|
# 12: calling deepEqual test case
|
|
226
|
-
# 13: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (
|
|
227
|
-
# 14:
|
|
228
|
-
# 15: 1
|
|
335
|
+
# 13: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (0 ms)
|
|
336
|
+
# 14:
|
|
337
|
+
# 15: 1..3
|
|
229
338
|
# 16: \# tests 3
|
|
230
339
|
# 17: \# pass 3
|
|
231
340
|
# 18: \# skip 0
|
|
232
341
|
# 19: \# fail 0
|
|
233
342
|
# 20: \# duration 59
|
|
234
|
-
# 21:
|
|
235
|
-
# 22:
|
|
236
|
-
#
|
|
237
|
-
#
|
|
238
|
-
#
|
|
239
|
-
#
|
|
240
|
-
#
|
|
241
|
-
#
|
|
242
|
-
#
|
|
243
|
-
#
|
|
244
|
-
#
|
|
343
|
+
# 21:
|
|
344
|
+
# 22:
|
|
345
|
+
#
|
|
346
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
347
|
+
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
348
|
+
# at async file:///home/izelnakri/Github/qunitx/test/flags/before-test.js:7:24
|
|
349
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
350
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
351
|
+
# at async Promise.all (index 0)
|
|
352
|
+
# at async Suite.run (node:internal/test_runner/test:806:7)
|
|
353
|
+
# at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
245
354
|
# Subtest: --before script tests
|
|
246
355
|
# Subtest: --before works when it doesnt need to be awaited
|
|
247
356
|
ok 1 - --before works when it doesnt need to be awaited
|
|
248
357
|
---
|
|
249
|
-
duration_ms:
|
|
358
|
+
duration_ms: 948.911668
|
|
250
359
|
...
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
360
|
+
# Trace:
|
|
361
|
+
# TEST NAME: --before script tests | --before works it needs to be awaited
|
|
362
|
+
# TEST COMMAND: node cli.js test/helpers/passing-tests.js test/helpers/before-script-web-server-tests.js --before=test/helpers/before-script-async.js
|
|
363
|
+
# 0: This is running from before script!!
|
|
364
|
+
# 1: Starting before script with:
|
|
365
|
+
# 2: DOESNT HAVE SERVER RUNNING
|
|
366
|
+
# 3: \# HTTPServer [Server]: started successfully at [localhost:1234] in [4ms]
|
|
367
|
+
# 4: Web server started on port 1234
|
|
368
|
+
# 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
|
+
# 6: TAP version 13
|
|
370
|
+
# 7: calling assert true test case
|
|
371
|
+
# 8: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
372
|
+
# 9: resolving async test
|
|
373
|
+
# 10: {
|
|
374
|
+
# 11: moduleName: 'called resolved async test with object',
|
|
375
|
+
# 12: placeholder: 1000,
|
|
376
|
+
# 13: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
377
|
+
# 14: }
|
|
378
|
+
# 15: ok 2 {{moduleName}} Passing Tests | async test finishes \# (55 ms)
|
|
379
|
+
# 16: calling deepEqual test case
|
|
380
|
+
# 17: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (0 ms)
|
|
381
|
+
# 18: req received
|
|
382
|
+
# 19: ok 4 {{moduleName}} Before script web server tests | assert true works \# (362 ms)
|
|
383
|
+
# 20:
|
|
384
|
+
# 21: 1..4
|
|
385
|
+
# 22: \# tests 4
|
|
386
|
+
# 23: \# pass 4
|
|
387
|
+
# 24: \# skip 0
|
|
388
|
+
# 25: \# fail 0
|
|
389
|
+
# 26: \# duration 421
|
|
390
|
+
# 27:
|
|
391
|
+
# 28:
|
|
392
|
+
#
|
|
393
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
394
|
+
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
395
|
+
# at async file:///home/izelnakri/Github/qunitx/test/flags/before-test.js:23:24
|
|
396
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
397
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
398
|
+
# at async Promise.all (index 2)
|
|
399
|
+
# at async Suite.run (node:internal/test_runner/test:806:7)
|
|
400
|
+
# 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)
|
|
275
427
|
# Subtest: --before works for --browser mode when it doesnt need to be awaited
|
|
276
428
|
ok 2 - --before works for --browser mode when it doesnt need to be awaited
|
|
277
429
|
---
|
|
278
|
-
duration_ms:
|
|
430
|
+
duration_ms: 1932.771859
|
|
279
431
|
...
|
|
280
|
-
# Trace:
|
|
281
|
-
# TEST NAME: --before script tests | --before works it needs to be awaited
|
|
282
|
-
# TEST COMMAND: node cli.js test/helpers/passing-tests.js test/helpers/before-script-web-server-tests.js --before=test/helpers/before-script-async.js
|
|
283
|
-
# 0: This is running from before script!!
|
|
284
|
-
# 1: Starting before script with:
|
|
285
|
-
# 2: DOESNT HAVE SERVER RUNNING
|
|
286
|
-
# 3: \# HTTPServer [Server]: started successfully at [localhost:1235] in [3ms]
|
|
287
|
-
# 4: Web server started on port 1235
|
|
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
|
|
289
|
-
# 6: TAP version 13
|
|
290
|
-
# 7: calling assert true test case
|
|
291
|
-
# 8: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
292
|
-
# 9: resolving async test
|
|
293
|
-
# 10: {
|
|
294
|
-
# 11: moduleName: 'called resolved async test with object',
|
|
295
|
-
# 12: placeholder: 1000,
|
|
296
|
-
# 13: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
297
|
-
# 14: }
|
|
298
|
-
# 15: ok 2 {{moduleName}} Passing Tests | async test finishes \# (60 ms)
|
|
299
|
-
# 16: calling deepEqual test case
|
|
300
|
-
# 17: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (2 ms)
|
|
301
|
-
# 18: req received
|
|
302
|
-
# 19: ok 4 {{moduleName}} Before script web server tests | assert true works \# (325 ms)
|
|
303
|
-
# 20:
|
|
304
|
-
# 21: 1
|
|
305
|
-
# 22: \# tests 4
|
|
306
|
-
# 23: \# pass 4
|
|
307
|
-
# 24: \# skip 0
|
|
308
|
-
# 25: \# fail 0
|
|
309
|
-
# 26: \# duration 393
|
|
310
|
-
# 27:
|
|
311
|
-
# 28:
|
|
312
|
-
#
|
|
313
|
-
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
314
|
-
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
315
|
-
# at async file:///home/izelnakri/Github/qunitx/test/flags/before-test.js:23:24
|
|
316
|
-
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
317
|
-
# at async Test.run (node:internal/test_runner/test:569:9)
|
|
318
|
-
# at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
|
|
319
432
|
# Subtest: --before works it needs to be awaited
|
|
320
433
|
ok 3 - --before works it needs to be awaited
|
|
321
434
|
---
|
|
322
|
-
duration_ms:
|
|
435
|
+
duration_ms: 1394.966431
|
|
323
436
|
...
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
437
|
+
# Trace:
|
|
438
|
+
# TEST NAME: --before script tests | --before works for --browser mode it needs to be awaited
|
|
439
|
+
# 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
|
+
# 0: This is running from before script!!
|
|
441
|
+
# 1: Starting before script with:
|
|
442
|
+
# 2: \# QUnitX running: http://localhost:1236/
|
|
443
|
+
# 3: TAP version 13
|
|
444
|
+
# 4: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
445
|
+
# 5: ok 2 {{moduleName}} Passing Tests | async test finishes \# (80 ms)
|
|
446
|
+
# 6: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
|
|
447
|
+
# 7: req received
|
|
448
|
+
# 8: ok 4 {{moduleName}} Before script web server tests | assert true works \# (270 ms)
|
|
449
|
+
# 9:
|
|
450
|
+
# 10: 1..4
|
|
451
|
+
# 11: \# tests 4
|
|
452
|
+
# 12: \# pass 4
|
|
453
|
+
# 13: \# skip 0
|
|
454
|
+
# 14: \# fail 0
|
|
455
|
+
# 15: \# duration 918
|
|
456
|
+
# 16:
|
|
457
|
+
# 17:
|
|
458
|
+
#
|
|
459
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
460
|
+
# at async file:///home/izelnakri/Github/qunitx/test/flags/before-test.js:33:24
|
|
461
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
462
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
463
|
+
# at async Promise.all (index 3)
|
|
464
|
+
# at async Suite.run (node:internal/test_runner/test:806:7)
|
|
465
|
+
# at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
351
466
|
# Subtest: --before works for --browser mode it needs to be awaited
|
|
352
467
|
ok 4 - --before works for --browser mode it needs to be awaited
|
|
353
468
|
---
|
|
354
|
-
duration_ms:
|
|
469
|
+
duration_ms: 2196.94788
|
|
355
470
|
...
|
|
356
471
|
1..4
|
|
357
472
|
ok 3 - --before script tests
|
|
358
473
|
---
|
|
359
|
-
duration_ms:
|
|
474
|
+
duration_ms: 2210.824812
|
|
360
475
|
type: 'suite'
|
|
361
476
|
...
|
|
362
477
|
# Subtest: Advanced HTML Input Tests
|
|
363
478
|
# Subtest: testing with specific html without content works
|
|
364
479
|
ok 1 - testing with specific html without content works
|
|
365
480
|
---
|
|
366
|
-
duration_ms: 0.
|
|
481
|
+
duration_ms: 0.312313
|
|
367
482
|
...
|
|
368
483
|
1..1
|
|
369
484
|
ok 4 - Advanced HTML Input Tests
|
|
370
485
|
---
|
|
371
|
-
duration_ms:
|
|
486
|
+
duration_ms: 0.589271
|
|
372
487
|
type: 'suite'
|
|
373
488
|
...
|
|
374
489
|
# Subtest: Advanced Error Edge Cases Tests
|
|
375
490
|
# Subtest: todo
|
|
376
491
|
ok 1 - todo
|
|
377
492
|
---
|
|
378
|
-
duration_ms: 0.
|
|
493
|
+
duration_ms: 0.259318
|
|
379
494
|
...
|
|
380
495
|
1..1
|
|
381
496
|
ok 5 - Advanced Error Edge Cases Tests
|
|
382
497
|
---
|
|
383
|
-
duration_ms: 0.
|
|
498
|
+
duration_ms: 0.449481
|
|
384
499
|
type: 'suite'
|
|
385
500
|
...
|
|
386
501
|
# Subtest: File and Folder Combination Tests
|
|
387
502
|
# Subtest: todo
|
|
388
503
|
ok 1 - todo
|
|
389
504
|
---
|
|
390
|
-
duration_ms: 0.
|
|
505
|
+
duration_ms: 0.177933
|
|
391
506
|
...
|
|
392
507
|
1..1
|
|
393
508
|
ok 6 - File and Folder Combination Tests
|
|
394
509
|
---
|
|
395
|
-
duration_ms: 0.
|
|
510
|
+
duration_ms: 0.328589
|
|
396
511
|
type: 'suite'
|
|
397
512
|
...
|
|
398
|
-
# Trace:
|
|
399
|
-
#
|
|
400
|
-
#
|
|
401
|
-
#
|
|
513
|
+
# Trace:
|
|
514
|
+
# TEST NAME: File Input Tests | testing a single passing js file works
|
|
515
|
+
# TEST COMMAND: node cli.js tmp/test/passing-tests.js
|
|
516
|
+
# 0: \# QUnitX running: /home/izelnakri/Github/qunitx/tmp/test/passing-tests.js
|
|
402
517
|
# 1: TAP version 13
|
|
403
518
|
# 2: calling assert true test case
|
|
404
519
|
# 3: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
@@ -408,687 +523,676 @@ ok 6 - File and Folder Combination Tests
|
|
|
408
523
|
# 7: placeholder: 1000,
|
|
409
524
|
# 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
410
525
|
# 9: }
|
|
411
|
-
# 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (
|
|
526
|
+
# 10: ok 2 {{moduleName}} Passing Tests | async test finishes \# (56 ms)
|
|
412
527
|
# 11: calling deepEqual test case
|
|
413
|
-
# 12: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (
|
|
414
|
-
# 13:
|
|
415
|
-
# 14: 1
|
|
528
|
+
# 12: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (0 ms)
|
|
529
|
+
# 13:
|
|
530
|
+
# 14: 1..3
|
|
416
531
|
# 15: \# tests 3
|
|
417
532
|
# 16: \# pass 3
|
|
418
533
|
# 17: \# skip 0
|
|
419
534
|
# 18: \# fail 0
|
|
420
|
-
# 19: \# duration
|
|
421
|
-
# 20:
|
|
422
|
-
# 21:
|
|
423
|
-
#
|
|
424
|
-
#
|
|
425
|
-
#
|
|
426
|
-
#
|
|
427
|
-
#
|
|
428
|
-
#
|
|
429
|
-
#
|
|
430
|
-
#
|
|
431
|
-
#
|
|
535
|
+
# 19: \# duration 60
|
|
536
|
+
# 20:
|
|
537
|
+
# 21:
|
|
538
|
+
#
|
|
539
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
540
|
+
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
541
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:7:24
|
|
542
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
543
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
544
|
+
# at async Promise.all (index 0)
|
|
545
|
+
# at async Suite.run (node:internal/test_runner/test:806:7)
|
|
546
|
+
# at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
432
547
|
# Subtest: File Input Tests
|
|
433
548
|
# Subtest: testing a single passing js file works
|
|
434
549
|
ok 1 - testing a single passing js file works
|
|
435
550
|
---
|
|
436
|
-
duration_ms:
|
|
551
|
+
duration_ms: 653.973589
|
|
437
552
|
...
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
# at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
|
|
553
|
+
# Trace:
|
|
554
|
+
# ERROR TEST Name: File Input Tests | testing a single failing js file works
|
|
555
|
+
# ERROR TEST COMMAND: node cli.js tmp/test/failing-tests.js
|
|
556
|
+
# Error: Command failed: node cli.js tmp/test/failing-tests.js
|
|
557
|
+
#
|
|
558
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
559
|
+
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
560
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:15:7
|
|
561
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
562
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
563
|
+
# at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
450
564
|
# Subtest: testing a single failing js file works
|
|
451
565
|
ok 2 - testing a single failing js file works
|
|
452
566
|
---
|
|
453
|
-
duration_ms:
|
|
567
|
+
duration_ms: 648.898049
|
|
454
568
|
...
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
569
|
+
# Trace:
|
|
570
|
+
# TEST NAME: File Input Tests | testing a single passing js file with --browser works, console output supressed
|
|
571
|
+
# TEST COMMAND: node cli.js tmp/test/passing-tests.js --browser
|
|
572
|
+
# 0: \# QUnitX running: http://localhost:1234/
|
|
573
|
+
# 1: TAP version 13
|
|
574
|
+
# 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
575
|
+
# 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (56 ms)
|
|
576
|
+
# 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (0 ms)
|
|
577
|
+
# 5:
|
|
578
|
+
# 6: 1..3
|
|
579
|
+
# 7: \# tests 3
|
|
580
|
+
# 8: \# pass 3
|
|
581
|
+
# 9: \# skip 0
|
|
582
|
+
# 10: \# fail 0
|
|
583
|
+
# 11: \# duration 666
|
|
584
|
+
# 12:
|
|
585
|
+
# 13:
|
|
586
|
+
#
|
|
587
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
588
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:97:24
|
|
589
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
590
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
591
|
+
# at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
478
592
|
# Subtest: testing a single passing js file with --browser works, console output supressed
|
|
479
593
|
ok 3 - testing a single passing js file with --browser works, console output supressed
|
|
480
594
|
---
|
|
481
|
-
duration_ms:
|
|
595
|
+
duration_ms: 1518.690293
|
|
482
596
|
...
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
597
|
+
# Trace:
|
|
598
|
+
# TEST NAME: File Input Tests | testing a single passing js file with --browser --debug works
|
|
599
|
+
# TEST COMMAND: node cli.js tmp/test/passing-tests.js --browser --debug
|
|
600
|
+
# 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [201ms]
|
|
601
|
+
# 1: \# QUnitX running: http://localhost:1234/
|
|
602
|
+
# 2: \# [HTTPServer] GET /favicon.ico
|
|
603
|
+
# 3: TAP version 13
|
|
604
|
+
# 4: calling assert true test case
|
|
605
|
+
# 5: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
606
|
+
# 6: resolving async test
|
|
607
|
+
# 7: ok 2 {{moduleName}} Passing Tests | async test finishes \# (51 ms)
|
|
608
|
+
# 8: calling deepEqual test case
|
|
609
|
+
# 9: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
|
|
610
|
+
# 10: {
|
|
611
|
+
# 11: moduleName: 'called resolved async test with object',
|
|
612
|
+
# 12: placeholder: 1000,
|
|
613
|
+
# 13: anotherObject: { firstName: 'Izel', createdAt: {} }
|
|
614
|
+
# 14: }
|
|
615
|
+
# 15:
|
|
616
|
+
# 16: 1..3
|
|
617
|
+
# 17: \# tests 3
|
|
618
|
+
# 18: \# pass 3
|
|
619
|
+
# 19: \# skip 0
|
|
620
|
+
# 20: \# fail 0
|
|
621
|
+
# 21: \# duration 706
|
|
622
|
+
# 22:
|
|
623
|
+
# 23: \# HTTPServer [Server]: stopped successfully
|
|
624
|
+
# 24:
|
|
625
|
+
#
|
|
626
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
627
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:104:24
|
|
628
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
629
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
630
|
+
# at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
517
631
|
# Subtest: testing a single passing js file with --browser --debug works
|
|
518
632
|
ok 4 - testing a single passing js file with --browser --debug works
|
|
519
633
|
---
|
|
520
|
-
duration_ms:
|
|
634
|
+
duration_ms: 1607.696953
|
|
521
635
|
...
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
# at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
|
|
636
|
+
# Trace:
|
|
637
|
+
# ERROR TEST Name: File Input Tests | testing a single failing js with --browser file works
|
|
638
|
+
# ERROR TEST COMMAND: node cli.js tmp/test/failing-tests.js --browser
|
|
639
|
+
# Error: Command failed: node cli.js tmp/test/failing-tests.js --browser
|
|
640
|
+
#
|
|
641
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
642
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:114:24
|
|
643
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
644
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
645
|
+
# at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
533
646
|
# Subtest: testing a single failing js with --browser file works
|
|
534
647
|
ok 5 - testing a single failing js with --browser file works
|
|
535
648
|
---
|
|
536
|
-
duration_ms:
|
|
649
|
+
duration_ms: 1617.533043
|
|
537
650
|
...
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
# at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
|
|
651
|
+
# Trace:
|
|
652
|
+
# ERROR TEST Name: File Input Tests | testing a single failing js file with --browser --debug works
|
|
653
|
+
# ERROR TEST COMMAND: node cli.js tmp/test/failing-tests.js --browser --debug
|
|
654
|
+
# Error: Command failed: node cli.js tmp/test/failing-tests.js --browser --debug
|
|
655
|
+
#
|
|
656
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
657
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:124:7
|
|
658
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
659
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
660
|
+
# at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
549
661
|
# Subtest: testing a single failing js file with --browser --debug works
|
|
550
662
|
ok 6 - testing a single failing js file with --browser --debug works
|
|
551
663
|
---
|
|
552
|
-
duration_ms:
|
|
664
|
+
duration_ms: 1620.677805
|
|
553
665
|
...
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
666
|
+
# Trace:
|
|
667
|
+
# TEST NAME: File Input Tests | testing a single passing ts file with --browser works, console output supressed
|
|
668
|
+
# TEST COMMAND: node cli.js tmp/test/passing-tests.ts --browser
|
|
669
|
+
# 0: \# QUnitX running: http://localhost:1234/
|
|
670
|
+
# 1: TAP version 13
|
|
671
|
+
# 2: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
672
|
+
# 3: ok 2 {{moduleName}} Passing Tests | async test finishes \# (57 ms)
|
|
673
|
+
# 4: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
|
|
674
|
+
# 5:
|
|
675
|
+
# 6: 1..3
|
|
676
|
+
# 7: \# tests 3
|
|
677
|
+
# 8: \# pass 3
|
|
678
|
+
# 9: \# skip 0
|
|
679
|
+
# 10: \# fail 0
|
|
680
|
+
# 11: \# duration 702
|
|
681
|
+
# 12:
|
|
682
|
+
# 13:
|
|
683
|
+
#
|
|
684
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
685
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:133:24
|
|
686
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
687
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
688
|
+
# at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
577
689
|
# Subtest: testing a single passing ts file with --browser works, console output supressed
|
|
578
690
|
ok 7 - testing a single passing ts file with --browser works, console output supressed
|
|
579
691
|
---
|
|
580
|
-
duration_ms:
|
|
692
|
+
duration_ms: 1649.389334
|
|
581
693
|
...
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
694
|
+
# Trace:
|
|
695
|
+
# TEST NAME: File Input Tests | testing a single passing ts file with --browser --debug works
|
|
696
|
+
# TEST COMMAND: node cli.js tmp/test/passing-tests.ts --browser --debug
|
|
697
|
+
# 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [262ms]
|
|
698
|
+
# 1: \# QUnitX running: http://localhost:1234/
|
|
699
|
+
# 2: \# [HTTPServer] GET /favicon.ico
|
|
700
|
+
# 3: TAP version 13
|
|
701
|
+
# 4: calling assert true test case
|
|
702
|
+
# 5: ok 1 {{moduleName}} Passing Tests | assert true works \# (1 ms)
|
|
703
|
+
# 6: resolving async test
|
|
704
|
+
# 7: ok 2 {{moduleName}} Passing Tests | async test finishes \# (57 ms)
|
|
705
|
+
# 8: calling deepEqual test case
|
|
706
|
+
# 9: ok 3 {{moduleName}} Passing Tests | deepEqual true works \# (1 ms)
|
|
707
|
+
# 10: {
|
|
708
|
+
# 11: moduleName: 'called resolved async test with object',
|
|
709
|
+
# 12: placeholder: 1000,
|
|
710
|
+
# 13: anotherObject: { firstName: 'Izel', createdAt: {} }
|
|
711
|
+
# 14: }
|
|
712
|
+
# 15:
|
|
713
|
+
# 16: 1..3
|
|
714
|
+
# 17: \# tests 3
|
|
715
|
+
# 18: \# pass 3
|
|
716
|
+
# 19: \# skip 0
|
|
717
|
+
# 20: \# fail 0
|
|
718
|
+
# 21: \# duration 761
|
|
719
|
+
# 22:
|
|
720
|
+
# 23: \# HTTPServer [Server]: stopped successfully
|
|
721
|
+
# 24:
|
|
722
|
+
#
|
|
723
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
724
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:141:24
|
|
725
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
726
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
727
|
+
# at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
616
728
|
# Subtest: testing a single passing ts file with --browser --debug works
|
|
617
729
|
ok 8 - testing a single passing ts file with --browser --debug works
|
|
618
730
|
---
|
|
619
|
-
duration_ms:
|
|
731
|
+
duration_ms: 1735.791694
|
|
620
732
|
...
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
# at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
|
|
733
|
+
# Trace:
|
|
734
|
+
# ERROR TEST Name: File Input Tests | testing a single failing ts with --browser file works
|
|
735
|
+
# ERROR TEST COMMAND: node cli.js tmp/test/failing-tests.ts --browser
|
|
736
|
+
# Error: Command failed: node cli.js tmp/test/failing-tests.ts --browser
|
|
737
|
+
#
|
|
738
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
739
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:152:7
|
|
740
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
741
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
742
|
+
# at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
632
743
|
# Subtest: testing a single failing ts with --browser file works
|
|
633
744
|
ok 9 - testing a single failing ts with --browser file works
|
|
634
745
|
---
|
|
635
|
-
duration_ms:
|
|
746
|
+
duration_ms: 1721.47808
|
|
636
747
|
...
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
# at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
|
|
748
|
+
# Trace:
|
|
749
|
+
# ERROR TEST Name: File Input Tests | testing a single failing ts file with --browser --debug works
|
|
750
|
+
# ERROR TEST COMMAND: node cli.js tmp/test/failing-tests.ts --browser --debug
|
|
751
|
+
# Error: Command failed: node cli.js tmp/test/failing-tests.ts --browser --debug
|
|
752
|
+
#
|
|
753
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
754
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/file-test.js:162:7
|
|
755
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
756
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
757
|
+
# at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
648
758
|
# Subtest: testing a single failing ts file with --browser --debug works
|
|
649
759
|
ok 10 - testing a single failing ts file with --browser --debug works
|
|
650
760
|
---
|
|
651
|
-
duration_ms:
|
|
761
|
+
duration_ms: 1526.738173
|
|
652
762
|
...
|
|
653
763
|
1..10
|
|
654
764
|
ok 7 - File Input Tests
|
|
655
765
|
---
|
|
656
|
-
duration_ms:
|
|
766
|
+
duration_ms: 14301.943351
|
|
657
767
|
type: 'suite'
|
|
658
768
|
...
|
|
659
|
-
# Trace:
|
|
660
|
-
#
|
|
661
|
-
#
|
|
662
|
-
#
|
|
769
|
+
# Trace:
|
|
770
|
+
# TEST NAME: Folder Input Tests | works for a single folder input with all passing tests
|
|
771
|
+
# TEST COMMAND: node cli.js tmp/6ad07750-ec92-42eb-8486-499f3b128808
|
|
772
|
+
# 0: \# QUnitX running: /home/izelnakri/Github/qunitx/tmp/6ad07750-ec92-42eb-8486-499f3b128808/first-module-pass.js, /home/izelnakri/Github/qunitx/tmp/6ad07750-ec92-42eb-8486-499f3b128808/second-module-pass.js
|
|
663
773
|
# 1: TAP version 13
|
|
664
774
|
# 2: calling assert true test case
|
|
665
|
-
# 3: ok 1
|
|
775
|
+
# 3: ok 1 6ad07750-ec92-42eb-8486-499f3b128808 | first-module-pass Passing Tests | assert true works \# (2 ms)
|
|
666
776
|
# 4: resolving async test
|
|
667
777
|
# 5: {
|
|
668
778
|
# 6: moduleName: 'called resolved async test with object',
|
|
669
779
|
# 7: placeholder: 1000,
|
|
670
780
|
# 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
671
781
|
# 9: }
|
|
672
|
-
# 10: ok 2
|
|
782
|
+
# 10: ok 2 6ad07750-ec92-42eb-8486-499f3b128808 | first-module-pass Passing Tests | async test finishes \# (55 ms)
|
|
673
783
|
# 11: calling deepEqual test case
|
|
674
|
-
# 12: ok 3
|
|
784
|
+
# 12: ok 3 6ad07750-ec92-42eb-8486-499f3b128808 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
675
785
|
# 13: calling assert true test case
|
|
676
|
-
# 14: ok 4
|
|
786
|
+
# 14: ok 4 6ad07750-ec92-42eb-8486-499f3b128808 | second-module-pass Passing Tests | assert true works \# (0 ms)
|
|
677
787
|
# 15: resolving async test
|
|
678
788
|
# 16: {
|
|
679
789
|
# 17: moduleName: 'called resolved async test with object',
|
|
680
790
|
# 18: placeholder: 1000,
|
|
681
791
|
# 19: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
682
792
|
# 20: }
|
|
683
|
-
# 21: ok 5
|
|
793
|
+
# 21: ok 5 6ad07750-ec92-42eb-8486-499f3b128808 | second-module-pass Passing Tests | async test finishes \# (53 ms)
|
|
684
794
|
# 22: calling deepEqual test case
|
|
685
|
-
# 23: ok 6
|
|
686
|
-
# 24:
|
|
687
|
-
# 25: 1
|
|
795
|
+
# 23: ok 6 6ad07750-ec92-42eb-8486-499f3b128808 | second-module-pass Passing Tests | deepEqual true works \# (0 ms)
|
|
796
|
+
# 24:
|
|
797
|
+
# 25: 1..6
|
|
688
798
|
# 26: \# tests 6
|
|
689
799
|
# 27: \# pass 6
|
|
690
800
|
# 28: \# skip 0
|
|
691
801
|
# 29: \# fail 0
|
|
692
|
-
# 30: \# duration
|
|
693
|
-
# 31:
|
|
694
|
-
# 32:
|
|
695
|
-
#
|
|
696
|
-
#
|
|
697
|
-
#
|
|
698
|
-
#
|
|
699
|
-
#
|
|
700
|
-
#
|
|
701
|
-
#
|
|
702
|
-
#
|
|
703
|
-
#
|
|
802
|
+
# 30: \# duration 113
|
|
803
|
+
# 31:
|
|
804
|
+
# 32:
|
|
805
|
+
#
|
|
806
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
807
|
+
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
808
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:11:24
|
|
809
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
810
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
811
|
+
# at async Promise.all (index 0)
|
|
812
|
+
# at async Suite.run (node:internal/test_runner/test:806:7)
|
|
813
|
+
# at async Test.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
704
814
|
# Subtest: Folder Input Tests
|
|
705
815
|
# Subtest: works for a single folder input with all passing tests
|
|
706
816
|
ok 1 - works for a single folder input with all passing tests
|
|
707
817
|
---
|
|
708
|
-
duration_ms:
|
|
818
|
+
duration_ms: 798.15903
|
|
709
819
|
...
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
# at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
|
|
820
|
+
# Trace:
|
|
821
|
+
# ERROR TEST Name: Folder Input Tests | works for a single folder input with few failing tests
|
|
822
|
+
# ERROR TEST COMMAND: node cli.js tmp/13ad58ee-5ddc-4cb3-a3d2-df35b65bfc0b
|
|
823
|
+
# Error: Command failed: node cli.js tmp/13ad58ee-5ddc-4cb3-a3d2-df35b65bfc0b
|
|
824
|
+
#
|
|
825
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
826
|
+
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
827
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:22:7
|
|
828
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
829
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
830
|
+
# at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
722
831
|
# Subtest: works for a single folder input with few failing tests
|
|
723
832
|
ok 2 - works for a single folder input with few failing tests
|
|
724
833
|
---
|
|
725
|
-
duration_ms:
|
|
834
|
+
duration_ms: 1121.006327
|
|
726
835
|
...
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
836
|
+
# Trace:
|
|
837
|
+
# TEST NAME: Folder Input Tests |
|
|
838
|
+
# TEST COMMAND: node cli.js tmp/b58be771-691c-4e2c-8028-3dbda71178b2 tmp/fb8b4d68-4a5b-4609-922f-0e4c1b9d595c
|
|
839
|
+
# 0: \# QUnitX running: /home/izelnakri/Github/qunitx/tmp/b58be771-691c-4e2c-8028-3dbda71178b2/first-module-pass.js, /home/izelnakri/Github/qunitx/tmp/b58be771-691c-4e2c-8028-3dbda71178b2/second-module-pass.js, /home/izelnakri/Github/qunitx/tmp/fb8b4d68-4a5b-4609-922f-0e4c1b9d595c/first-module-pass.js, /home/izelnakri/Github/qunitx/tmp/fb8b4d68-4a5b-4609-922f-0e4c1b9d595c/second-module-pass.js
|
|
840
|
+
# 1: TAP version 13
|
|
841
|
+
# 2: calling assert true test case
|
|
842
|
+
# 3: ok 1 b58be771-691c-4e2c-8028-3dbda71178b2 | first-module-pass Passing Tests | assert true works \# (2 ms)
|
|
843
|
+
# 4: resolving async test
|
|
844
|
+
# 5: {
|
|
845
|
+
# 6: moduleName: 'called resolved async test with object',
|
|
846
|
+
# 7: placeholder: 1000,
|
|
847
|
+
# 8: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
848
|
+
# 9: }
|
|
849
|
+
# 10: ok 2 b58be771-691c-4e2c-8028-3dbda71178b2 | first-module-pass Passing Tests | async test finishes \# (56 ms)
|
|
850
|
+
# 11: calling deepEqual test case
|
|
851
|
+
# 12: ok 3 b58be771-691c-4e2c-8028-3dbda71178b2 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
852
|
+
# 13: calling assert true test case
|
|
853
|
+
# 14: ok 4 b58be771-691c-4e2c-8028-3dbda71178b2 | second-module-pass Passing Tests | assert true works \# (0 ms)
|
|
854
|
+
# 15: resolving async test
|
|
855
|
+
# 16: {
|
|
856
|
+
# 17: moduleName: 'called resolved async test with object',
|
|
857
|
+
# 18: placeholder: 1000,
|
|
858
|
+
# 19: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
859
|
+
# 20: }
|
|
860
|
+
# 21: ok 5 b58be771-691c-4e2c-8028-3dbda71178b2 | second-module-pass Passing Tests | async test finishes \# (54 ms)
|
|
861
|
+
# 22: calling deepEqual test case
|
|
862
|
+
# 23: ok 6 b58be771-691c-4e2c-8028-3dbda71178b2 | second-module-pass Passing Tests | deepEqual true works \# (0 ms)
|
|
863
|
+
# 24: calling assert true test case
|
|
864
|
+
# 25: ok 7 fb8b4d68-4a5b-4609-922f-0e4c1b9d595c | first-module-pass Passing Tests | assert true works \# (0 ms)
|
|
865
|
+
# 26: resolving async test
|
|
866
|
+
# 27: {
|
|
867
|
+
# 28: moduleName: 'called resolved async test with object',
|
|
868
|
+
# 29: placeholder: 1000,
|
|
869
|
+
# 30: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
870
|
+
# 31: }
|
|
871
|
+
# 32: ok 8 fb8b4d68-4a5b-4609-922f-0e4c1b9d595c | first-module-pass Passing Tests | async test finishes \# (54 ms)
|
|
872
|
+
# 33: calling deepEqual test case
|
|
873
|
+
# 34: ok 9 fb8b4d68-4a5b-4609-922f-0e4c1b9d595c | first-module-pass Passing Tests | deepEqual true works \# (0 ms)
|
|
874
|
+
# 35: calling assert true test case
|
|
875
|
+
# 36: ok 10 fb8b4d68-4a5b-4609-922f-0e4c1b9d595c | second-module-pass Passing Tests | assert true works \# (0 ms)
|
|
876
|
+
# 37: resolving async test
|
|
877
|
+
# 38: {
|
|
878
|
+
# 39: moduleName: 'called resolved async test with object',
|
|
879
|
+
# 40: placeholder: 1000,
|
|
880
|
+
# 41: anotherObject: { firstName: 'Izel', createdAt: 2021-03-06T00:00:00.000Z }
|
|
881
|
+
# 42: }
|
|
882
|
+
# 43: ok 11 fb8b4d68-4a5b-4609-922f-0e4c1b9d595c | second-module-pass Passing Tests | async test finishes \# (54 ms)
|
|
883
|
+
# 44: calling deepEqual test case
|
|
884
|
+
# 45: ok 12 fb8b4d68-4a5b-4609-922f-0e4c1b9d595c | second-module-pass Passing Tests | deepEqual true works \# (0 ms)
|
|
885
|
+
# 46:
|
|
886
|
+
# 47: 1..12
|
|
887
|
+
# 48: \# tests 12
|
|
888
|
+
# 49: \# pass 12
|
|
889
|
+
# 50: \# skip 0
|
|
890
|
+
# 51: \# fail 0
|
|
891
|
+
# 52: \# duration 229
|
|
892
|
+
# 53:
|
|
893
|
+
# 54:
|
|
894
|
+
#
|
|
895
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
896
|
+
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
897
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:37:24
|
|
898
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
899
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
900
|
+
# at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
792
901
|
# Subtest: works for a multiple folders input with all passing tests
|
|
793
902
|
ok 3 - works for a multiple folders input with all passing tests
|
|
794
903
|
---
|
|
795
|
-
duration_ms:
|
|
904
|
+
duration_ms: 1048.851963
|
|
796
905
|
...
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
# at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
|
|
906
|
+
# Trace:
|
|
907
|
+
# ERROR TEST Name: Folder Input Tests |
|
|
908
|
+
# ERROR TEST COMMAND: node cli.js tmp/9289ffe8-7140-4f8a-8f7f-ba889a5275ea tmp/d9e11a3f-6cca-4154-b86d-dcc7f8f5bb15
|
|
909
|
+
# Error: Command failed: node cli.js tmp/9289ffe8-7140-4f8a-8f7f-ba889a5275ea tmp/d9e11a3f-6cca-4154-b86d-dcc7f8f5bb15
|
|
910
|
+
#
|
|
911
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
912
|
+
# at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
913
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:52:7
|
|
914
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
915
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
916
|
+
# at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
809
917
|
# Subtest: works for a multiple folders input with few failing tests
|
|
810
918
|
ok 4 - works for a multiple folders input with few failing tests
|
|
811
919
|
---
|
|
812
|
-
duration_ms:
|
|
920
|
+
duration_ms: 1137.797072
|
|
813
921
|
...
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
922
|
+
# Trace:
|
|
923
|
+
# 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/fcfe8b28-cd54-492f-a96d-ed57655c7f32 --browser
|
|
925
|
+
# 0: \# QUnitX running: http://localhost:1234/
|
|
926
|
+
# 1: TAP version 13
|
|
927
|
+
# 2: ok 1 fcfe8b28-cd54-492f-a96d-ed57655c7f32 | first-module-pass Passing Tests | assert true works \# (2 ms)
|
|
928
|
+
# 3: ok 2 fcfe8b28-cd54-492f-a96d-ed57655c7f32 | first-module-pass Passing Tests | async test finishes \# (70 ms)
|
|
929
|
+
# 4: ok 3 fcfe8b28-cd54-492f-a96d-ed57655c7f32 | first-module-pass Passing Tests | deepEqual true works \# (2 ms)
|
|
930
|
+
# 5: ok 4 fcfe8b28-cd54-492f-a96d-ed57655c7f32 | second-module-pass Passing Tests | assert true works \# (1 ms)
|
|
931
|
+
# 6: ok 5 fcfe8b28-cd54-492f-a96d-ed57655c7f32 | second-module-pass Passing Tests | async test finishes \# (57 ms)
|
|
932
|
+
# 7: ok 6 fcfe8b28-cd54-492f-a96d-ed57655c7f32 | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
933
|
+
# 8:
|
|
934
|
+
# 9: 1..6
|
|
935
|
+
# 10: \# tests 6
|
|
936
|
+
# 11: \# pass 6
|
|
937
|
+
# 12: \# skip 0
|
|
938
|
+
# 13: \# fail 0
|
|
939
|
+
# 14: \# duration 798
|
|
940
|
+
# 15:
|
|
941
|
+
# 16:
|
|
942
|
+
#
|
|
943
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
944
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:73:24
|
|
945
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
946
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
947
|
+
# at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
840
948
|
# Subtest: works for a single folder input in browser mode with all passing tests
|
|
841
949
|
ok 5 - works for a single folder input in browser mode with all passing tests
|
|
842
950
|
---
|
|
843
|
-
duration_ms:
|
|
951
|
+
duration_ms: 1705.985097
|
|
844
952
|
...
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
# at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
|
|
953
|
+
# Trace:
|
|
954
|
+
# 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/b409561e-c91b-47d3-8d4e-08d93f4feeb3 --browser
|
|
956
|
+
# Error: Command failed: node cli.js tmp/b409561e-c91b-47d3-8d4e-08d93f4feeb3 --browser
|
|
957
|
+
#
|
|
958
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
959
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:84:7
|
|
960
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
961
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
962
|
+
# at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
856
963
|
# Subtest: works for a single folder input in browser mode with few failing tests
|
|
857
964
|
ok 6 - works for a single folder input in browser mode with few failing tests
|
|
858
965
|
---
|
|
859
|
-
duration_ms:
|
|
966
|
+
duration_ms: 1859.719757
|
|
860
967
|
...
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
968
|
+
# Trace:
|
|
969
|
+
# 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/fe6065d3-5eaa-484d-beba-17b370466f8b tmp/9af1eb87-3367-46c2-af58-d0b7f10c98bd --browser
|
|
971
|
+
# 0: \# QUnitX running: http://localhost:1234/
|
|
972
|
+
# 1: TAP version 13
|
|
973
|
+
# 2: ok 1 9af1eb87-3367-46c2-af58-d0b7f10c98bd | first-module-pass Passing Tests | assert true works \# (1 ms)
|
|
974
|
+
# 3: ok 2 9af1eb87-3367-46c2-af58-d0b7f10c98bd | first-module-pass Passing Tests | async test finishes \# (52 ms)
|
|
975
|
+
# 4: ok 3 9af1eb87-3367-46c2-af58-d0b7f10c98bd | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
976
|
+
# 5: ok 4 9af1eb87-3367-46c2-af58-d0b7f10c98bd | second-module-pass Passing Tests | assert true works \# (1 ms)
|
|
977
|
+
# 6: ok 5 9af1eb87-3367-46c2-af58-d0b7f10c98bd | second-module-pass Passing Tests | async test finishes \# (58 ms)
|
|
978
|
+
# 7: ok 6 9af1eb87-3367-46c2-af58-d0b7f10c98bd | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
979
|
+
# 8: ok 7 fe6065d3-5eaa-484d-beba-17b370466f8b | first-module-pass Passing Tests | assert true works \# (1 ms)
|
|
980
|
+
# 9: ok 8 fe6065d3-5eaa-484d-beba-17b370466f8b | first-module-pass Passing Tests | async test finishes \# (58 ms)
|
|
981
|
+
# 10: ok 9 fe6065d3-5eaa-484d-beba-17b370466f8b | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
982
|
+
# 11: ok 10 fe6065d3-5eaa-484d-beba-17b370466f8b | second-module-pass Passing Tests | assert true works \# (1 ms)
|
|
983
|
+
# 12: ok 11 fe6065d3-5eaa-484d-beba-17b370466f8b | second-module-pass Passing Tests | async test finishes \# (59 ms)
|
|
984
|
+
# 13: ok 12 fe6065d3-5eaa-484d-beba-17b370466f8b | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
985
|
+
# 14:
|
|
986
|
+
# 15: 1..12
|
|
987
|
+
# 16: \# tests 12
|
|
988
|
+
# 17: \# pass 12
|
|
989
|
+
# 18: \# skip 0
|
|
990
|
+
# 19: \# fail 0
|
|
991
|
+
# 20: \# duration 879
|
|
992
|
+
# 21:
|
|
993
|
+
# 22:
|
|
994
|
+
#
|
|
995
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
996
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:99:24
|
|
997
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
998
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
999
|
+
# at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
893
1000
|
# Subtest: works for a multiple folders input in browser mode with all passing tests
|
|
894
1001
|
ok 7 - works for a multiple folders input in browser mode with all passing tests
|
|
895
1002
|
---
|
|
896
|
-
duration_ms:
|
|
1003
|
+
duration_ms: 1689.681237
|
|
897
1004
|
...
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
# at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
|
|
1005
|
+
# Trace:
|
|
1006
|
+
# 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/8d63177e-d3d9-42e8-a742-b019edcf6120 tmp/50a47e4f-2bdc-4a4b-b281-f16bcccb8380 --browser
|
|
1008
|
+
# Error: Command failed: node cli.js tmp/8d63177e-d3d9-42e8-a742-b019edcf6120 tmp/50a47e4f-2bdc-4a4b-b281-f16bcccb8380 --browser
|
|
1009
|
+
#
|
|
1010
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
1011
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:114:7
|
|
1012
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
1013
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
1014
|
+
# at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
909
1015
|
# Subtest: works for a multiple folders input in browser mode with few failing tests
|
|
910
1016
|
ok 8 - works for a multiple folders input in browser mode with few failing tests
|
|
911
1017
|
---
|
|
912
|
-
duration_ms:
|
|
1018
|
+
duration_ms: 2018.277871
|
|
913
1019
|
...
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
1020
|
+
# Trace:
|
|
1021
|
+
# 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/344d951f-4792-4ca1-a667-47aab63caeee --browser --debug
|
|
1023
|
+
# 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [230ms]
|
|
1024
|
+
# 1: \# QUnitX running: http://localhost:1234/
|
|
1025
|
+
# 2: \# [HTTPServer] GET /favicon.ico
|
|
1026
|
+
# 3: TAP version 13
|
|
1027
|
+
# 4: calling assert true test case
|
|
1028
|
+
# 5: ok 1 344d951f-4792-4ca1-a667-47aab63caeee | first-module-pass Passing Tests | assert true works \# (1 ms)
|
|
1029
|
+
# 6: resolving async test
|
|
1030
|
+
# 7: ok 2 344d951f-4792-4ca1-a667-47aab63caeee | first-module-pass Passing Tests | async test finishes \# (54 ms)
|
|
1031
|
+
# 8: calling deepEqual test case
|
|
1032
|
+
# 9: ok 3 344d951f-4792-4ca1-a667-47aab63caeee | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
1033
|
+
# 10: calling assert true test case
|
|
1034
|
+
# 11: ok 4 344d951f-4792-4ca1-a667-47aab63caeee | second-module-pass Passing Tests | assert true works \# (0 ms)
|
|
1035
|
+
# 12: {
|
|
1036
|
+
# 13: moduleName: 'called resolved async test with object',
|
|
1037
|
+
# 14: placeholder: 1000,
|
|
1038
|
+
# 15: anotherObject: { firstName: 'Izel', createdAt: {} }
|
|
1039
|
+
# 16: }
|
|
1040
|
+
# 17: resolving async test
|
|
1041
|
+
# 18: ok 5 344d951f-4792-4ca1-a667-47aab63caeee | second-module-pass Passing Tests | async test finishes \# (53 ms)
|
|
1042
|
+
# 19: calling deepEqual test case
|
|
1043
|
+
# 20: ok 6 344d951f-4792-4ca1-a667-47aab63caeee | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
1044
|
+
# 21: {
|
|
1045
|
+
# 22: moduleName: 'called resolved async test with object',
|
|
1046
|
+
# 23: placeholder: 1000,
|
|
1047
|
+
# 24: anotherObject: { firstName: 'Izel', createdAt: {} }
|
|
1048
|
+
# 25: }
|
|
1049
|
+
# 26:
|
|
1050
|
+
# 27: 1..6
|
|
1051
|
+
# 28: \# tests 6
|
|
1052
|
+
# 29: \# pass 6
|
|
1053
|
+
# 30: \# skip 0
|
|
1054
|
+
# 31: \# fail 0
|
|
1055
|
+
# 32: \# duration 803
|
|
1056
|
+
# 33:
|
|
1057
|
+
# 34: \# HTTPServer [Server]: stopped successfully
|
|
1058
|
+
# 35:
|
|
1059
|
+
#
|
|
1060
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
1061
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:135:24
|
|
1062
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
1063
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
1064
|
+
# at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
959
1065
|
# Subtest: works for a single folder input in browser mode with debug and all passing tests
|
|
960
1066
|
ok 9 - works for a single folder input in browser mode with debug and all passing tests
|
|
961
1067
|
---
|
|
962
|
-
duration_ms:
|
|
1068
|
+
duration_ms: 1658.985929
|
|
963
1069
|
...
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
# at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
|
|
1070
|
+
# Trace:
|
|
1071
|
+
# 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/f7d07704-39c5-4f1e-8758-54576d0e48f8 --browser --debug
|
|
1073
|
+
# Error: Command failed: node cli.js tmp/f7d07704-39c5-4f1e-8758-54576d0e48f8 --browser --debug
|
|
1074
|
+
#
|
|
1075
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
1076
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:146:7
|
|
1077
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
1078
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
1079
|
+
# at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
975
1080
|
# Subtest: works for a single folder input in browser mode with debug and few failing tests
|
|
976
1081
|
ok 10 - works for a single folder input in browser mode with debug and few failing tests
|
|
977
1082
|
---
|
|
978
|
-
duration_ms:
|
|
1083
|
+
duration_ms: 1818.224301
|
|
979
1084
|
...
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1085
|
+
# Trace:
|
|
1086
|
+
# 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/bbaa0424-6911-48ea-a349-2cc44459b23b tmp/bbf2cd0c-b2b8-4ba2-a792-41435cffaa21 --browser --debug
|
|
1088
|
+
# 0: \# HTTPServer [Server]: started successfully at [localhost:1234] in [205ms]
|
|
1089
|
+
# 1: \# QUnitX running: http://localhost:1234/
|
|
1090
|
+
# 2: \# [HTTPServer] GET /favicon.ico
|
|
1091
|
+
# 3: TAP version 13
|
|
1092
|
+
# 4: calling assert true test case
|
|
1093
|
+
# 5: ok 1 bbaa0424-6911-48ea-a349-2cc44459b23b | first-module-pass Passing Tests | assert true works \# (1 ms)
|
|
1094
|
+
# 6: resolving async test
|
|
1095
|
+
# 7: calling deepEqual test case
|
|
1096
|
+
# 8: ok 2 bbaa0424-6911-48ea-a349-2cc44459b23b | first-module-pass Passing Tests | async test finishes \# (54 ms)
|
|
1097
|
+
# 9: ok 3 bbaa0424-6911-48ea-a349-2cc44459b23b | first-module-pass Passing Tests | deepEqual true works \# (0 ms)
|
|
1098
|
+
# 10: calling assert true test case
|
|
1099
|
+
# 11: ok 4 bbaa0424-6911-48ea-a349-2cc44459b23b | second-module-pass Passing Tests | assert true works \# (0 ms)
|
|
1100
|
+
# 12: {
|
|
1101
|
+
# 13: moduleName: 'called resolved async test with object',
|
|
1102
|
+
# 14: placeholder: 1000,
|
|
1103
|
+
# 15: anotherObject: { firstName: 'Izel', createdAt: {} }
|
|
1104
|
+
# 16: }
|
|
1105
|
+
# 17: resolving async test
|
|
1106
|
+
# 18: calling deepEqual test case
|
|
1107
|
+
# 19: ok 5 bbaa0424-6911-48ea-a349-2cc44459b23b | second-module-pass Passing Tests | async test finishes \# (59 ms)
|
|
1108
|
+
# 20: ok 6 bbaa0424-6911-48ea-a349-2cc44459b23b | second-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
1109
|
+
# 21: calling assert true test case
|
|
1110
|
+
# 22: ok 7 bbf2cd0c-b2b8-4ba2-a792-41435cffaa21 | first-module-pass Passing Tests | assert true works \# (1 ms)
|
|
1111
|
+
# 23: {
|
|
1112
|
+
# 24: moduleName: 'called resolved async test with object',
|
|
1113
|
+
# 25: placeholder: 1000,
|
|
1114
|
+
# 26: anotherObject: { firstName: 'Izel', createdAt: {} }
|
|
1115
|
+
# 27: }
|
|
1116
|
+
# 28: resolving async test
|
|
1117
|
+
# 29: ok 8 bbf2cd0c-b2b8-4ba2-a792-41435cffaa21 | first-module-pass Passing Tests | async test finishes \# (65 ms)
|
|
1118
|
+
# 30: calling deepEqual test case
|
|
1119
|
+
# 31: ok 9 bbf2cd0c-b2b8-4ba2-a792-41435cffaa21 | first-module-pass Passing Tests | deepEqual true works \# (1 ms)
|
|
1120
|
+
# 32: calling assert true test case
|
|
1121
|
+
# 33: ok 10 bbf2cd0c-b2b8-4ba2-a792-41435cffaa21 | second-module-pass Passing Tests | assert true works \# (1 ms)
|
|
1122
|
+
# 34: {
|
|
1123
|
+
# 35: moduleName: 'called resolved async test with object',
|
|
1124
|
+
# 36: placeholder: 1000,
|
|
1125
|
+
# 37: anotherObject: { firstName: 'Izel', createdAt: {} }
|
|
1126
|
+
# 38: }
|
|
1127
|
+
# 39: resolving async test
|
|
1128
|
+
# 40: ok 11 bbf2cd0c-b2b8-4ba2-a792-41435cffaa21 | second-module-pass Passing Tests | async test finishes \# (58 ms)
|
|
1129
|
+
# 41: calling deepEqual test case
|
|
1130
|
+
# 42: ok 12 bbf2cd0c-b2b8-4ba2-a792-41435cffaa21 | second-module-pass Passing Tests | deepEqual true works \# (2 ms)
|
|
1131
|
+
# 43: {
|
|
1132
|
+
# 44: moduleName: 'called resolved async test with object',
|
|
1133
|
+
# 45: placeholder: 1000,
|
|
1134
|
+
# 46: anotherObject: { firstName: 'Izel', createdAt: {} }
|
|
1135
|
+
# 47: }
|
|
1136
|
+
# 48:
|
|
1137
|
+
# 49: 1..12
|
|
1138
|
+
# 50: \# tests 12
|
|
1139
|
+
# 51: \# pass 12
|
|
1140
|
+
# 52: \# skip 0
|
|
1141
|
+
# 53: \# fail 0
|
|
1142
|
+
# 54: \# duration 1127
|
|
1143
|
+
# 55:
|
|
1144
|
+
# 56: \# HTTPServer [Server]: stopped successfully
|
|
1145
|
+
# 57:
|
|
1146
|
+
#
|
|
1147
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:11:13)
|
|
1148
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:161:24
|
|
1149
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
1150
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
1151
|
+
# at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
1047
1152
|
# Subtest: works for a multiple folders input in browser mode with debug and all passing tests
|
|
1048
1153
|
ok 11 - works for a multiple folders input in browser mode with debug and all passing tests
|
|
1049
1154
|
---
|
|
1050
|
-
duration_ms:
|
|
1155
|
+
duration_ms: 1947.79283
|
|
1051
1156
|
...
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
# at async Suite.processPendingSubtests (node:internal/test_runner/test:315:7)
|
|
1157
|
+
# Trace:
|
|
1158
|
+
# 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/102b5212-be6d-4c67-b25c-44937ace3926 tmp/2ddd094d-ca59-4688-a5c4-6c75009b4f1a --browser --debug
|
|
1160
|
+
# Error: Command failed: node cli.js tmp/102b5212-be6d-4c67-b25c-44937ace3926 tmp/2ddd094d-ca59-4688-a5c4-6c75009b4f1a --browser --debug
|
|
1161
|
+
#
|
|
1162
|
+
# at execute (file:///home/izelnakri/Github/qunitx/test/helpers/shell.js:27:13)
|
|
1163
|
+
# at async file:///home/izelnakri/Github/qunitx/test/inputs/folder-test.js:176:7
|
|
1164
|
+
# at async TestContext.<anonymous> (file:///home/izelnakri/Github/qunitx/shims/nodejs.js:21:12)
|
|
1165
|
+
# at async Test.run (node:internal/test_runner/test:570:9)
|
|
1166
|
+
# at async Suite.processPendingSubtests (node:internal/test_runner/test:316:7)
|
|
1063
1167
|
# Subtest: works for a multiple folders input in browser mode with debug and few failing tests
|
|
1064
1168
|
ok 12 - works for a multiple folders input in browser mode with debug and few failing tests
|
|
1065
1169
|
---
|
|
1066
|
-
duration_ms:
|
|
1170
|
+
duration_ms: 1942.635214
|
|
1067
1171
|
...
|
|
1068
1172
|
1..12
|
|
1069
1173
|
ok 8 - Folder Input Tests
|
|
1070
1174
|
---
|
|
1071
|
-
duration_ms:
|
|
1175
|
+
duration_ms: 18749.057196
|
|
1072
1176
|
type: 'suite'
|
|
1073
1177
|
...
|
|
1074
1178
|
# Subtest: Setup | glob(*) input tests | test-file-paths tests
|
|
1075
1179
|
# Subtest: setupTestFilePaths() works correctly on different inputs
|
|
1076
1180
|
ok 1 - setupTestFilePaths() works correctly on different inputs
|
|
1077
1181
|
---
|
|
1078
|
-
duration_ms:
|
|
1182
|
+
duration_ms: 10.54193
|
|
1079
1183
|
...
|
|
1080
1184
|
1..1
|
|
1081
1185
|
ok 9 - Setup | glob(*) input tests | test-file-paths tests
|
|
1082
1186
|
---
|
|
1083
|
-
duration_ms:
|
|
1187
|
+
duration_ms: 10.705247
|
|
1084
1188
|
type: 'suite'
|
|
1085
1189
|
...
|
|
1086
1190
|
1..9
|
|
1087
1191
|
# tests 39
|
|
1088
1192
|
# suites 9
|
|
1089
|
-
# pass
|
|
1090
|
-
# fail
|
|
1193
|
+
# pass 34
|
|
1194
|
+
# fail 5
|
|
1091
1195
|
# cancelled 0
|
|
1092
1196
|
# skipped 0
|
|
1093
1197
|
# todo 0
|
|
1094
|
-
# duration_ms
|
|
1198
|
+
# duration_ms 37584.963413
|