Commit ff1fcab
test_runner: support expecting a test-case to fail
Co-Authored-By: Alejandro Espa <98526766+vespa7@users.noreply.github.com>
PR-URL: #60669
Reviewed-By: Aviv Keller <me@aviv.sh>
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Jordan Harband <ljharb@gmail.com>1 parent 3f17acf commit ff1fcabCopy full SHA for ff1fcab
22 files changed
+806-493Lines changed: 806 additions & 493 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- doc/api
- lib/internal/test_runner
- reporter
- test/fixtures/test-runner/output
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+51Lines changed: 51 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
224 | 224 | |
225 | 225 | |
226 | 226 | |
| 227 | + |
| 228 | + |
| 229 | + |
| 230 | + |
| 231 | + |
| 232 | + |
| 233 | + |
| 234 | + |
| 235 | + |
| 236 | + |
| 237 | + |
| 238 | + |
| 239 | + |
| 240 | + |
| 241 | + |
| 242 | + |
| 243 | + |
| 244 | + |
| 245 | + |
| 246 | + |
| 247 | + |
| 248 | + |
| 249 | + |
| 250 | + |
| 251 | + |
| 252 | + |
| 253 | + |
| 254 | + |
| 255 | + |
| 256 | + |
| 257 | + |
| 258 | + |
| 259 | + |
| 260 | + |
| 261 | + |
| 262 | + |
| 263 | + |
| 264 | + |
| 265 | + |
| 266 | + |
| 267 | + |
| 268 | + |
| 269 | + |
| 270 | + |
| 271 | + |
| 272 | + |
| 273 | + |
| 274 | + |
| 275 | + |
| 276 | + |
| 277 | + |
227 | 278 | |
228 | 279 | |
229 | 280 | |
|
Collapse file
lib/internal/test_runner/harness.js
Copy file name to clipboardExpand all lines: lib/internal/test_runner/harness.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
377 | 377 | |
378 | 378 | |
379 | 379 | |
380 | | - |
| 380 | + |
381 | 381 | |
382 | 382 | |
383 | 383 | |
|
Collapse file
lib/internal/test_runner/reporter/tap.js
Copy file name to clipboardExpand all lines: lib/internal/test_runner/reporter/tap.js+5-3Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
33 | 33 | |
34 | 34 | |
35 | 35 | |
36 | | - |
| 36 | + |
37 | 37 | |
38 | 38 | |
39 | 39 | |
40 | 40 | |
41 | | - |
| 41 | + |
42 | 42 | |
43 | 43 | |
44 | 44 | |
| ||
65 | 65 | |
66 | 66 | |
67 | 67 | |
68 | | - |
| 68 | + |
69 | 69 | |
70 | 70 | |
71 | 71 | |
| ||
76 | 76 | |
77 | 77 | |
78 | 78 | |
| 79 | + |
| 80 | + |
79 | 81 | |
80 | 82 | |
81 | 83 | |
|
Collapse file
lib/internal/test_runner/reporter/utils.js
Copy file name to clipboardExpand all lines: lib/internal/test_runner/reporter/utils.js+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
71 | 71 | |
72 | 72 | |
73 | 73 | |
74 | | - |
| 74 | + |
75 | 75 | |
76 | 76 | |
77 | 77 | |
78 | 78 | |
79 | 79 | |
80 | 80 | |
81 | 81 | |
| 82 | + |
| 83 | + |
82 | 84 | |
83 | 85 | |
84 | 86 | |
|
Collapse file
lib/internal/test_runner/test.js
Copy file name to clipboardExpand all lines: lib/internal/test_runner/test.js+11-2Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
496 | 496 | |
497 | 497 | |
498 | 498 | |
499 | | - |
| 499 | + |
500 | 500 | |
501 | 501 | |
502 | 502 | |
| ||
635 | 635 | |
636 | 636 | |
637 | 637 | |
| 638 | + |
638 | 639 | |
639 | 640 | |
640 | 641 | |
| ||
938 | 939 | |
939 | 940 | |
940 | 941 | |
941 | | - |
| 942 | + |
| 943 | + |
| 944 | + |
| 945 | + |
| 946 | + |
| 947 | + |
942 | 948 | |
943 | 949 | |
944 | 950 | |
| ||
1335 | 1341 | |
1336 | 1342 | |
1337 | 1343 | |
| 1344 | + |
| 1345 | + |
1338 | 1346 | |
1339 | 1347 | |
1340 | 1348 | |
| ||
1349 | 1357 | |
1350 | 1358 | |
1351 | 1359 | |
| 1360 | + |
1352 | 1361 | |
1353 | 1362 | |
1354 | 1363 | |
|
Collapse file
lib/internal/test_runner/tests_stream.js
Copy file name to clipboardExpand all lines: lib/internal/test_runner/tests_stream.js+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
87 | 87 | |
88 | 88 | |
89 | 89 | |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
90 | 94 | |
91 | 95 | |
92 | 96 | |
|
Collapse file
test/fixtures/test-runner/output/describe_it.js
Copy file name to clipboardExpand all lines: test/fixtures/test-runner/output/describe_it.js+24-1Lines changed: 24 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
8 | | - |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
9 | 15 | |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
10 | 25 | |
11 | 26 | |
12 | 27 | |
| ||
16 | 31 | |
17 | 32 | |
18 | 33 | |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
19 | 38 | |
20 | 39 | |
21 | 40 | |
22 | 41 | |
23 | 42 | |
24 | 43 | |
25 | 44 | |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
26 | 49 | |
27 | 50 | |
28 | 51 | |
|
0 commit comments