--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.】