googletest
googletest copied to clipboard
GoogleTest - Google Testing and Mocking Framework
**Describe the bug** Enabling AddressSanitizer under MSVC gives errors on the simplest of tests ``` ================================================================= ==12428==ERROR: AddressSanitizer: unknown-crash on address 0x12abcb4a01f9 at pc 0x7ff650f173ca bp 0x00fc4f0ff020 sp 0x00fc4f0fe7c0 READ...
**Describe the bug** A number of data fields included in XML/JSON output are not available via streaming, making streaming output not usable for all output scenarios (such as a UI...
**Describe the bug** When processing streaming output for TestPartResult, it's not possible to tell if it's an error or not. **Steps to reproduce the bug** ```c++ TEST(SomeFixture, SampleExplicitSucceed) { SUCCEED();...
**Describe the bug** There are no test cases in the executable compiled by this test framework. Even if the main function that runs all the tests is included, it still...
see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 ADL seems to work properly when we do the SFINAE check via the return type, but not when using a dummy template parameter fix #3992
**Does the feature exist in the most recent commit?** No. **Why do we need this feature?** GCC versions up to (including) 11 have a bug where GCC will sometimes find...
**Does the feature exist in the most recent commit?** No, see https://github.com/google/googletest/blob/main/googletest/include/gtest/internal/gtest-port.h#L534 **Why do we need this feature?** It's possible to patch/replace `gtest/internal/custom/gtest-port.h` or build everything with `-DGTEST_HAS_PTHREAD=1` to enable...
Disabling core dumps in the child process makes tests significantly faster if the process crashes while core dumps are enabled, in particular when the address space is large or dumping...