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

#3970 But I'm not sure about mutex usage: when I have to touch the mutex and when I haven't to. Currently I didn't touch it and everything looks fine.

#4038 Now the test case works fine. ```cpp TEST(Foo, Bar) { GTEST_FAIL_AT("foo.c", 5)

`GTEST_FAIL()` is defined through these macros, ultimately ending up at `GTEST_MESSAGE_AT_()`: ```c++ #define GTEST_FAIL() GTEST_FATAL_FAILURE_("Failed") #define GTEST_FATAL_FAILURE_(message) \ return GTEST_MESSAGE_(message, ::testing::TestPartResult::kFatalFailure) #define GTEST_MESSAGE_(message, result_type) \ GTEST_MESSAGE_AT_(__FILE__, __LINE__, message, result_type) ```...

bug

**Describe the bug** When working with C++ and XCode's XCTests, contrary to the description provided in [gtest sharing resources](https://github.com/google/googletest/blob/main/docs/advanced.md#sharing-resources-between-tests-in-the-same-test-suite) gtest does invoke both `static void SetUpTestSuite()` and `static void TearDownTestSuite()`...

bug

Hi, I think we need to make it possible to install your own exception handler. since it is always very inconvenient to write such code (not beautiful) ``` TEST(ATweet, RequiresUserNameToStartWithAtSign)...

enhancement
help wanted

https://github.com/google/googletest/issues/3433

cla: yes

I'm trying to to use MatchesRegEx to match a date but it always returns failed. I'm run this test on MacOS so it's a posix system but i'm just trying...

When I build the current stable branch (760060059fb746018a9849234e02dc9bf003861b) of the reference mdspan implementation (https://github.com/kokkos/mdspan) with nvc++ (either 22.7 or a pre-release version), I get a couple build warnings like the...

**Describe the bug** --gmock_verbose=LEVEL option is mentioned in documentation but to work it either requirres using gmock_main.a or calling ::testing::InitGoogleMock in main. **Steps to reproduce the bug** Compile any test...

bug

Hello everyone :), Today the following issue opened in the older gmock repository saved me several hours: https://github.com/google/googlemock/issues/113 I would suggest to put it somewhere in this new repository so...

question