GeezerVison is showing github.com — doc: document addition testing options · nodejs/node@519c328
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/test.md +6Lines changed: 6 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1282,6 +1282,12 @@ changes: |
1282 | 1282 | For each test that is executed, any corresponding test hooks, such as |
1283 | 1283 | `beforeEach()`, are also run. |
1284 | 1284 | **Default:** `undefined`. |
| 1285 | + * `testSkipPatterns` {string|RegExp|Array} A String, RegExp or a RegExp Array, |
| 1286 | + that can be used to exclude running tests whose name matches the provided pattern. |
| 1287 | + Test name patterns are interpreted as JavaScript regular expressions. |
| 1288 | + For each test that is executed, any corresponding test hooks, such as |
| 1289 | + `beforeEach()`, are also run. |
| 1290 | + **Default:** `undefined`. |
1285 | 1291 | * `timeout` {number} A number of milliseconds the test execution will |
1286 | 1292 | fail after. |
1287 | 1293 | If unspecified, subtests inherit this value from their parent. |
|