Paul Robinson 48eed2d258 Rotten Green Tests are tests that have assertions that did not
execute, even though they were contained in a test method that has a
Pass result. This patch detects and reports such assertions contained
in a TEST or TEST_F method, if the method result is Pass. Skipped,
disabled, or otherwise not-run tests are not analyzed for rotten
assertions.

By default, Rotten assertions do not count as a failure. Use
`--gtest_treat_rotten_as_pass=0` to make rotten tests into failures.
This is customizable.

Rotten assertions in helper functions are also reported if the overall
result of the test program was Pass.

Currently, TEST_P, TYPED_TEST, and TYPED_TEST_P are treated as if they
were helpers, for Rotten reporting purposes. This can lead to false
positives for these kinds of Test methods, especially if they are
skipped, disabled, or otherwise not run.
2024-05-31 09:10:55 -07:00
..
BUILD.bazel Split gmock-matchers_test into 4 smaller test #3653 2022-03-23 09:08:04 -07:00
gmock_all_test.cc Split gmock-matchers_test into 4 smaller test #3653 2022-03-23 09:08:04 -07:00
gmock_ex_test.cc Add missing std includes 2023-04-20 14:29:09 -07:00
gmock_leak_test_.cc Use '=default' to define trivial constructor/destructors 2023-04-21 10:41:25 -07:00
gmock_leak_test.py Fix formatting in subset of Python files 2023-01-25 09:14:26 -08:00
gmock_link2_test.cc Running clang-format over all of GoogleTest 2022-03-15 13:42:11 -07:00
gmock_link_test.cc Running clang-format over all of GoogleTest 2022-03-15 13:42:11 -07:00
gmock_link_test.h Implement testing::Rethrow to throw exceptions more easily via std::exception_ptr 2023-11-27 13:32:49 -08:00
gmock_output_test_.cc Merge branch 'main' into fixes_std_pair_diff 2023-05-01 14:27:38 -04:00
gmock_output_test_golden.txt Merge pull request #4146 from lygstate:fixes_std_pair_diff 2023-05-02 07:52:02 -07:00
gmock_output_test.py Fix formatting in subset of Python files 2023-01-25 09:14:26 -08:00
gmock_stress_test.cc Running clang-format over all of GoogleTest 2022-03-15 13:42:11 -07:00
gmock_test_utils.py Remove pylint disable comments that no longer trigger warnings 2023-01-25 12:35:34 -08:00
gmock_test.cc Use the empty method to check for emptiness 2023-04-21 08:42:42 -07:00
gmock-actions_test.cc Use GTEST_INTERNAL_CPLUSPLUS_LANG instead of __cplusplus 2023-04-28 10:16:07 -07:00
gmock-cardinalities_test.cc Use '=default' to define trivial constructor/destructors 2023-04-21 10:41:25 -07:00
gmock-function-mocker_test.cc Use '=default' to define trivial constructor/destructors 2023-04-21 10:41:25 -07:00
gmock-internal-utils_test.cc Rotten Green Tests are tests that have assertions that did not 2024-05-31 09:10:55 -07:00
gmock-matchers_test.h Fix formatting of C++ files 2023-01-24 11:10:09 -08:00
gmock-matchers-arithmetic_test.cc Use '=default' to define trivial constructor/destructors 2023-04-21 10:41:25 -07:00
gmock-matchers-comparisons_test.cc StartsWith: Explicitly construct matcher-typed strings from matchee parameter 2023-10-23 10:11:36 -07:00
gmock-matchers-containers_test.cc Print mismatches for UnorderedElements() of different sizes. 2024-05-20 07:36:47 -07:00
gmock-matchers-misc_test.cc Add missing std includes 2023-04-20 14:29:09 -07:00
gmock-more-actions_test.cc Add test for move-only type in Action signature 2024-03-15 00:00:12 -07:00
gmock-nice-strict_test.cc Use '=default' to define trivial constructor/destructors 2023-04-21 10:41:25 -07:00
gmock-port_test.cc Running clang-format over all of GoogleTest 2022-03-15 13:42:11 -07:00
gmock-pp_test.cc Merge pull request #2514 from thejcannon:msvc_macro_issue 2019-10-23 13:35:26 -04:00
gmock-pp-string_test.cc Running clang-format over all of GoogleTest 2022-03-15 13:42:11 -07:00
gmock-spec-builders_test.cc Clean up typos: Exhaused => Exhausted 2023-08-21 08:47:54 -07:00