googletest icon indicating copy to clipboard operation
googletest copied to clipboard

GoogleTest - Google Testing and Mocking Framework

Results 460 googletest issues
Sort by recently updated
recently updated
newest added

This PR adds a new cmake option `GTEST_HAS_ABSL` that defaults to `OFF`. When setting to true, cmake will search for absl and link the required libraries to build gtest with...

cla: yes

**Does the feature exist in the most recent commit?** no **Why do we need this feature?** if there are hundreds/thousands test cases while only 1 failed, it's better the log...

enhancement

**Describe the bug** When there is a global instance (created in a global scope) of a class with a mocked method and the test that uses this global instance is...

bug

If googletest is made part of the dependent's build tree (via FetchContent), then usage is different compared to using it from an install location (via find_package). Ever since FetchContent has...

bug

When using TYPED_TEST_SUITE below error happens. (using master) Here is log from clang: path:14:48: error: must specify at least one argument for '...' parameter of variadic macro [-Werror,-Wgnu-zero-variadic-macro-arguments] TYPED_TEST_SUITE(XYZ, MyTypes...

**Describe the bug** I get this warning when trying to use googletest. It's rather benign but I'd like to address this warning to improve the signal to noise ratio of...

bug

https://github.com/google/googletest/issues/3909

This is a follow up for #3713. For QNX RTOS, regex functionality was broken out into a separate library libregex as of version 7.1. However, in earlier versions, the same...

This is to avoid clashing with user own code for the Expects and ASSERTs of the STRs

**Does the feature exist in the most recent commit?** No. See https://github.com/google/googletest/blob/main/googletest/include/gtest/internal/gtest-internal.h#L1527 **Why do we need this feature?** The following approach to naming tests is very reasonable: ``` TEST(MyClass, Default_constructor_zero_initialises_all_members)...

enhancement