diff options
author | vslashg <gfalcon@google.com> | 2020-03-27 19:36:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-27 19:36:58 (GMT) |
commit | 189299e957bbef414b46931f0ba88123c285148a (patch) | |
tree | e073898e8079f14a19e0703af20df5131854bd21 /googletest/docs | |
parent | fb19f57880f6d52b922413ba80f244bb39becdd5 (diff) | |
parent | 67cc66080d64e3fa5124fe57ed0cf15e2cecfdeb (diff) | |
download | googletest-189299e957bbef414b46931f0ba88123c285148a.zip googletest-189299e957bbef414b46931f0ba88123c285148a.tar.gz googletest-189299e957bbef414b46931f0ba88123c285148a.tar.bz2 |
Merge branch 'master' into quiet-flagrefs/pull/2751/head
Diffstat (limited to 'googletest/docs')
-rw-r--r-- | googletest/docs/advanced.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/googletest/docs/advanced.md b/googletest/docs/advanced.md index 5a46083..d45b80a 100644 --- a/googletest/docs/advanced.md +++ b/googletest/docs/advanced.md @@ -2116,6 +2116,15 @@ For example: everything in test suite `FooTest` except `FooTest.Bar` and everything in test suite `BarTest` except `BarTest.Foo`. +#### Stop test execution upon first failure + +By default, a googletest program runs all tests the user has defined. In some +cases (e.g. iterative test development & execution) it may be desirable stop +test execution upon first failure (trading improved latency for completeness). +If `GTEST_FAIL_FAST` environment variable or `--gtest_fail_fast` flag is set, +the test runner will stop execution as soon as the first test failure is +found. + #### Temporarily Disabling Tests If you have a broken test that you cannot fix right away, you can add the |