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

Here us the documentation: https://google.github.io/googletest/advanced.html#global-set-up-and-tear-down It says: RUN_ALL_TESTS() always calls TearDown() with each environment object, regardless of whether or not the tests were run. However the code is different: https://github.com/google/googletest/blob/5126f7166109666a9c0534021fb1a3038659494c/googletest/src/gtest.cc#L5847-L5903

bug

It would be very useful to be able to ignore `GTEST_SKIP()` through a command-line flag (just like `DISABLED_`). A common scenario is that big important changes in a project may...

enhancement

Use flag `--gtest_list_tests_verbosely` in conjunction with `--gtest_list_tests` to make `gtest` list the tests with their suite names. FIX #3822 Signed-off-by: Ayush Joshi

Whe using `--gtest_list_tests`, the list is split into the test suite on one line, and individual test names on separate lines. This makes it harder to parse the output for...

enhancement
help wanted

`GOOGLETEST_VERSION` is not defined in CMakeLists.txt. But it is used. So if I run command `mkdir mybuild && cd mybuild && cmake ..` the error happened: ``` CMake Warning at...

**Describe the bug** I write a simple unit test, with Address Sanitizer enabled: - cross compile and run on Android ARM device, it reports **"heap-buffer-overflow"**. - At the same time,...

bug
More Information Requested

Since `__cpp_char8_t` does not guarantee to represent UTF-8 code units we should use `__cpp_lib_char8_t` macro instead to support UTF-8 code units otherwise use of `__cpp_char8_t` will lead to build failure....

**Describe the bug** On macOS, testing::TempDir() returns /tmp even when using bazel to run test. It would be better to use $TEST_TMPDIR or $GTEST_TMP_DIR if running under bazel. **Steps to...

bug

I think that the test app (i.e. `gtest_main`) should fail if given a filter matches no tests, or at least there should be such an option. I had accidentally misspelled...

enhancement