diff --git a/doc/api/cli.md b/doc/api/cli.md index 3571d0df15637b..e9bb744a574826 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -2647,6 +2647,20 @@ changes: The destination for the corresponding test reporter. See the documentation on [test reporters][] for more details. +### `--test-rerun-failures` + + + +A path to a file allowing the test runner to persist the state of the test +suite between runs. The test runner will use this file to determine which tests +have already succeeded or failed, allowing for re-running of failed tests +without having to re-run the entire test suite. The test runner will create this +file if it does not exist. +See the documentation on [test reruns][] for more details. + ### `--test-shard`