The CLion 2025.2 Early Access Program Is Open
#Clang #CLion #Eap #News #Clionnova #Cmake #Googletest
The CLion 2025.2 Early Access Program Is Open
#Clang #CLion #Eap #News #Clionnova #Cmake #Googletest
A multi-part series of #LinkedIn posts (ugh!) by the creator of the #GoogleTest framework on the fall of #Google:
“The Wasted Times Of Google – Part 1”, Zhanyong Wan (https://www.linkedin.com/pulse/wasted-times-google-part-1-zhanyong-wan-jzerc).
Anyone here a #googletest #gtest contributor and willing to take a look at my PR? Boosts very welcome :3
Okay, so when using #gtest / #gmock / #googletest to write C++ unit tests for code that uses dependency injection, how the *hell* do go about mocking dependencies of a class under test without having to mock the dependency class' dependencies, and *those* class' dependencies, and so on until you've mocked every class in the dependency tree of the class under test?
"Interfaces" or "templates" are *not* valid answers, as they drive complexity into your non-test code purely to support testing!