diff options
author | Gennadiy Civil <misterg@google.com> | 2018-07-17 21:47:25 (GMT) |
---|---|---|
committer | Gennadiy Civil <misterg@google.com> | 2018-07-17 21:47:25 (GMT) |
commit | 5437926b2213b1c45c2f34bd858734de90e5fffd (patch) | |
tree | 14ebd4a891715cc99987f79140fbfc09539f2175 /googletest/docs/primer.md | |
parent | 36066cfecf79267bdf46ff82ca6c3b052f8f633c (diff) | |
download | googletest-5437926b2213b1c45c2f34bd858734de90e5fffd.zip googletest-5437926b2213b1c45c2f34bd858734de90e5fffd.tar.gz googletest-5437926b2213b1c45c2f34bd858734de90e5fffd.tar.bz2 |
Docs sync
Diffstat (limited to 'googletest/docs/primer.md')
-rw-r--r-- | googletest/docs/primer.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/googletest/docs/primer.md b/googletest/docs/primer.md index 9949658..b80418e 100644 --- a/googletest/docs/primer.md +++ b/googletest/docs/primer.md @@ -1,5 +1,6 @@ # Googletest Primer + ## Introduction: Why googletest? *googletest* helps you write better C++ tests. @@ -436,6 +437,7 @@ When these tests run, the following happens: **Availability**: Linux, Windows, Mac. + ## Invoking the Tests `TEST()` and `TEST_F()` implicitly register their tests with googletest. So, @@ -544,6 +546,7 @@ int main(int argc, char **argv) { } ``` + The `::testing::InitGoogleTest()` function parses the command line for googletest flags, and removes all recognized flags. This allows the user to control a test program's behavior via various flags, which we'll cover in @@ -560,6 +563,7 @@ gtest\_main library and you are good to go. NOTE: `ParseGUnitFlags()` is deprecated in favor of `InitGoogleTest()`. + ## Known Limitations * Google Test is designed to be thread-safe. The implementation is thread-safe |