File tree Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change @@ -1394,6 +1394,9 @@ added:
1394
1394
- v18.1.0
1395
1395
- v16.17.0
1396
1396
changes:
1397
+ - version: REPLACEME
1398
+ pr-url: https://github.com/nodejs/node/pull/46983
1399
+ description: The test runner is now stable.
1397
1400
- version:
1398
1401
- v19.2.0
1399
1402
- v18.13.0
@@ -1410,6 +1413,10 @@ for more details.
1410
1413
1411
1414
<!-- YAML
1412
1415
added: v18.11.0
1416
+ changes:
1417
+ - version: REPLACEME
1418
+ pr-url: https://github.com/nodejs/node/pull/46983
1419
+ description: The test runner is now stable.
1413
1420
-->
1414
1421
1415
1422
A regular expression that configures the test runner to only execute tests
@@ -1420,6 +1427,10 @@ whose name matches the provided pattern. See the documentation on
1420
1427
1421
1428
<!-- YAML
1422
1429
added: v19.6.0
1430
+ changes:
1431
+ - version: REPLACEME
1432
+ pr-url: https://github.com/nodejs/node/pull/46983
1433
+ description: The test runner is now stable.
1423
1434
-->
1424
1435
1425
1436
A test reporter to use when running tests. See the documentation on
@@ -1429,6 +1440,10 @@ A test reporter to use when running tests. See the documentation on
1429
1440
1430
1441
<!-- YAML
1431
1442
added: v19.6.0
1443
+ changes:
1444
+ - version: REPLACEME
1445
+ pr-url: https://github.com/nodejs/node/pull/46983
1446
+ description: The test runner is now stable.
1432
1447
-->
1433
1448
1434
1449
The destination for the corresponding test reporter. See the documentation on
@@ -1440,6 +1455,10 @@ The destination for the corresponding test reporter. See the documentation on
1440
1455
added:
1441
1456
- v18.0.0
1442
1457
- v16.17.0
1458
+ changes:
1459
+ - version: REPLACEME
1460
+ pr-url: https://github.com/nodejs/node/pull/46983
1461
+ description: The test runner is now stable.
1443
1462
-->
1444
1463
1445
1464
Configures the test runner to only execute top level tests that have the ` only `
Original file line number Diff line number Diff line change 6
6
added:
7
7
- v18.0.0
8
8
- v16.17.0
9
+ changes:
10
+ - version: REPLACEME
11
+ pr-url: https://github.com/nodejs/node/pull/46983
12
+ description: The test runner is now stable.
9
13
-->
10
14
11
- > Stability: 1 - Experimental
15
+ > Stability: 2 - Stable
12
16
13
17
<!-- source_link=lib/test.js -->
14
18
@@ -377,6 +381,8 @@ internally.
377
381
378
382
## Collecting code coverage
379
383
384
+ > Stability: 1 - Experimental
385
+
380
386
When Node.js is started with the [ ` --experimental-test-coverage ` ] [ ]
381
387
command-line flag, code coverage is collected and statistics are reported once
382
388
all tests have completed. If the [ ` NODE_V8_COVERAGE ` ] [ ] environment variable is
@@ -531,6 +537,11 @@ The following built-reporters are supported:
531
537
where each passing test is represented by a ` . ` ,
532
538
and each failing test is represented by a ` X ` .
533
539
540
+ The exact output of these reporters is subject to change between versions of
541
+ Node.js, and should not be relied on programmatically. If programmatic access
542
+ to the test runner's output is required, use the events emitted by the
543
+ {TestsStream}.
544
+
534
545
### Custom reporters
535
546
536
547
[ ` --test-reporter ` ] [ ] can be used to specify a path to custom reporter.
You can’t perform that action at this time.
0 commit comments