mirror of
https://github.com/google/googletest.git
synced 2024-12-26 17:41:03 +08:00
Add documentation for --gunit_recreate_environments_when_repeating
.
PiperOrigin-RevId: 485895339 Change-Id: I09b0f535941531ef7bcb74593d385891d56b3e32
This commit is contained in:
parent
3026483ae5
commit
66366cea56
@ -1913,8 +1913,12 @@ Repeat the tests whose name matches the filter 1000 times.
|
||||
|
||||
If your test program contains
|
||||
[global set-up/tear-down](#global-set-up-and-tear-down) code, it will be
|
||||
repeated in each iteration as well, as the flakiness may be in it. You can also
|
||||
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
|
||||
`--gtest_recreate_environments_when_repeating=false`{.nowrap}.
|
||||
|
||||
You can also specify the repeat count by setting the `GTEST_REPEAT` environment
|
||||
variable.
|
||||
|
||||
### Shuffling the Tests
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user