Commit 66836f0a by Abseil Team Committed by Dino Radaković

Googletest export

Minor formatting updates PiperOrigin-RevId: 364935205
parent 6dabd081
...@@ -706,12 +706,12 @@ whether the code is under test. ...@@ -706,12 +706,12 @@ whether the code is under test.
## How do I temporarily disable a test? ## How do I temporarily disable a test?
If you have a broken test that you cannot fix right away, you can add the If you have a broken test that you cannot fix right away, you can add the
DISABLED_ prefix to its name. This will exclude it from execution. This is `DISABLED_` prefix to its name. This will exclude it from execution. This is
better than commenting out the code or using #if 0, as disabled tests are still better than commenting out the code or using `#if 0`, as disabled tests are
compiled (and thus won't rot). still compiled (and thus won't rot).
To include disabled tests in test execution, just invoke the test program with To include disabled tests in test execution, just invoke the test program with
the --gtest_also_run_disabled_tests flag. the `--gtest_also_run_disabled_tests` flag.
## Is it OK if I have two separate `TEST(Foo, Bar)` test methods defined in different namespaces? ## Is it OK if I have two separate `TEST(Foo, Bar)` test methods defined in different namespaces?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment