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
trafficstars

The EXPECT_NEAR and ASSERT_NEAR macros expect double parameters, which potentially means loss of precision or for types with greater accuracy than double, or compile errors for types not implicitly convertible...

### Describe the issue I am using MSYS2 to run C++ and I tried every single thing. I looked up documentation for on MSYS2 to install gtest and all he...

## Motivation For large codebases, it can be very annoying to define Mocks: ```cpp class MockFoo { public: MOCK_METHOD((std::pair), GetPair, ()); MOCK_METHOD(bool, CheckMap, ((std::map), bool)); }; ``` Using such mocks...

Closes #4686 https://github.com/AndrewQuijano/googletest/releases/tag/2.1.3

### Does the feature exist in the most recent commit? No. ### Why do we need this feature? I don't think anyone built and imported the GTest testing framework the...

enhancement

This PR updates the GoogleTest documentation as follows: 1. Update the CMake quickstart to show usage with `find_package` 2. Add a CMake source build guide for \*nix single- and multi-config...

### Does the feature exist in the most recent commit? No ### Why do we need this feature? This feature would make it easier for anyone to download the latest...

enhancement

Production code that contains `#include ` should link against this interface library: it sets the correct include path for the compiler but does not instruct the linker to pull in...

### Does the feature exist in the most recent commit? Tested on `v1.13.0`, but the same problem also exists at head: https://github.com/google/googletest/blob/79219e26e0e36b415a5804b6b017ad6c6cd99ad8/googletest/include/gtest/internal/gtest-internal.h#L1367-L1373 where `GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_()` expands as https://github.com/google/googletest/blob/79219e26e0e36b415a5804b6b017ad6c6cd99ad8/googletest/include/gtest/internal/gtest-internal.h#L1312-L1316 ### Why do...

enhancement

I haven't actually implemented the feature yet, for now I've just added the flags necessary for it. I would like to ask for more clarifications about how result streaming is...