googletest
googletest copied to clipboard
GoogleTest - Google Testing and Mocking Framework
how to generate a XML file consisting all test cases 1. I've tried `export GTEST_OUTPUT=xxx.xml`, but the xml file was overwritten 2. if not specify xml file name, there are...
### Describe the issue Output from `testsuite --gtest_list_tests` is structured by test suites, listing test names with indentation. This makes it impossible to compose a filter for the option `--gtest_filter`,...
Hello everyone, I am attempting to build `googletest` and `googlemock` from its source directly using Premake5. Background on builder choice: *My project is using Premake5 because it seemed easier to...
**REASON:** Closes [#4566](https://github.com/google/googletest/issues/4566) which desired an error message to be outputted when `GetTempFileName` fails, in order to try and fix the issue with some more knowledge as to why it...
### Does the feature exist in the most recent commit? I noticed the CMake imposes this in projects that use googletest and compile it as part of their build process....
### Why this change When building with MSVC, the sources of `gtest` are included directly in `gmock` rather than linking to `gtest` as a separate library. This resulted in `GTEST_HAS_ABSL`...
### Describe the issue The target fails to link with linker message "undefined reference to `testing::internal::PrintU8StringTo`" when `std::u8string` is used in tests. ### Steps to reproduce the problem ## Example...
Add `OnScopedTraceEnter` / `OnScopedTraceExit` callbacks for `TestEventListener` Issue #4178
### Does the feature exist in the most recent commit? Nope: https://github.com/google/googletest/blob/ff233bdd4cac0a0bf6e5cd45bda3406814cb2796/googletest/include/gtest/gtest-spi.h#L1 ### Why do we need this feature? gtest-spi.h allows checking for non-fatal failures with `EXPECT_NONFATAL_FAILURE()` and matching the...
**Describe the bug** In previous versions of gmock SetArrayArgument could be used with array references. In newer version it is compile error. Tested passing: 1.8.0 Tested failing: 1.11.0 **Steps to...