googletest icon indicating copy to clipboard operation
googletest copied to clipboard

Missing documentation for InitGoogleMock

Open morynicz opened this issue 4 years ago • 1 comments

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 suite using gtest_main.a or using testing::InitGoogleTest in main to initialize gtest.

What version of GoogleTest are you using? 1.10 What operating system and version are you using Linux

What compiler and version are you using? gcc 9.3.0

What build system are you using? cmake 3.17

Additional context None

morynicz avatar Mar 04 '21 12:03 morynicz

Yeah, you can have it.

Pozdrawiam, Michał Orynicz

pt., 18 cze 2021 o 18:49 Shivam Tripathi @.***> napisał(a):

@morynicz https://github.com/morynicz can I take this, I kinda replicated the issue.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/google/googletest/issues/3299#issuecomment-864162112, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATN4INWQWC2GLENT7WAVB3TTN2LBANCNFSM4YTEYKTQ .

morynicz avatar Jun 18 '21 20:06 morynicz