We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--gunit_recreate_environments_when_repeating
1 parent 3026483 commit 66366ceCopy full SHA for 66366ce
docs/advanced.md
@@ -1913,8 +1913,12 @@ Repeat the tests whose name matches the filter 1000 times.
1913
1914
If your test program contains
1915
[global set-up/tear-down](#global-set-up-and-tear-down) code, it will be
1916
-repeated in each iteration as well, as the flakiness may be in it. You can also
1917
-specify the repeat count by setting the `GTEST_REPEAT` environment variable.
+repeated in each iteration as well, as the flakiness may be in it. To avoid
+repeating global set-up/tear-down, specify
1918
+`--gtest_recreate_environments_when_repeating=false`{.nowrap}.
1919
+
1920
+You can also specify the repeat count by setting the `GTEST_REPEAT` environment
1921
+variable.
1922
1923
### Shuffling the Tests
1924
0 commit comments