Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 938af9b

Browse filesBrowse files
MoLowaduh95
authored andcommitted
doc: mention test runner retry attemp is zero based
PR-URL: #62504 Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com>
1 parent dd43eff commit 938af9b
Copy full SHA for 938af9b

1 file changed

+6-4Lines changed: 6 additions & 4 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/test.md‎

Copy file name to clipboardExpand all lines: doc/api/test.md
+6-4Lines changed: 6 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -3867,7 +3867,9 @@ added: v25.0.0
38673867

38683868
* Type: {number}
38693869

3870-
Number of times the test has been attempted.
3870+
The attempt number of the test. This value is zero-based, so the first attempt is `0`,
3871+
the second attempt is `1`, and so on. This property is useful in conjunction with the
3872+
`--test-rerun-failures` option to determine which attempt the test is currently running.
38713873

38723874
### `context.workerId`
38733875

@@ -4240,9 +4242,9 @@ added: REPLACEME
42404242

42414243
* Type: {number}
42424244

4243-
The current attempt number of the suite. Used in conjunction with the
4244-
`--test-rerun-failures` option to determine the attempt number of the current
4245-
run.
4245+
The attempt number of the suite. This value is zero-based, so the first attempt is `0`,
4246+
the second attempt is `1`, and so on. This property is useful in conjunction with the
4247+
`--test-rerun-failures` option to determine the attempt number of the current run.
42464248

42474249
### `context.diagnostic(message)`
42484250

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.