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

### Does the feature exist in the most recent commit? No. ### Why do we need this feature? Coroutines are available since C++20 which was published almost four years ago....

enhancement

**Describe the bug** I add `GTEST_FLAG_SET(death_test_style, "threadsafe");` to `main()` of a gtest as shown at [Death Test Styles](https://google.github.io/googletest/advanced.html#death-test-styles): int main(int argc, char** argv) { testing::InitGoogleTest(&argc, argv); GTEST_FLAG_SET(death_test_style, "threadsafe"); return RUN_ALL_TESTS();...

bug

### Describe the issue At the [http://google.github.io/googletest/gmock_for_dummies.html#StickyExpectations](url) at one place the for loop looks like this: **for (int i = n; i > 0; i--)** and later like this: **for...

select new behavior for CMP0135 when supported by cmake so that: "CMake 3.24 and above prefers to set the timestamps of all extracted contents to the time of the extraction....

If we use expect_death, we really know it will coredump or raise signal, EXPECT_NO_COREFILE_DEATH is a helper for user to use expect_death but do not genreate core file. EXPECT_NO_COREFILE_DEATH depends...

### Describe the issue I am using the package in Yocto(version is kirkstone), and the fetch was good before, but suddenly the following error is occurring. I found that there...

### Describe the issue [debug.zip](https://github.com/user-attachments/files/17427171/debug.zip) When I use gtest for unit testing and want to perform a separate test, I use: testing:: GTEST_LAG (filter). When using the release version of...

### Describe the issue There seems to be some mismatch in the googletest library version. There were some issue coming the Nvidia package itself which I was able to correct...

test was pass,but [ FATAL ] external/com_google_googletest/googletest/src/gtest.cc:194:: Unable to open file "text.xml" use `i686-w64-mingw32-` ```bash ➜ worker i686-w64-mingw32-gcc -v Using built-in specs. COLLECT_GCC=i686-w64-mingw32-gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-w64-mingw32/9.3-posix/lto-wrapper Target: i686-w64-mingw32 Configured with: ../../src/configure --build=x86_64-linux-gnu...

bug

### Describe the issue The internal macros `GTEST_FATAL_FAILURE_` and `GTEST_SKIP_` return the void expression `GTEST_MESSAGE_`. I would expect them to call `GTEST_MESSAGE_` and then return. ### Steps to reproduce the...