#googletest

रञ्जित (Ranjit Mathew)rmathew
2024-03-01

A multi-part series of posts (ugh!) by the creator of the framework on the fall of :

“The Wasted Times Of Google – Part 1”, Zhanyong Wan (linkedin.com/pulse/wasted-time).

DragonFox Saphira - @GPN! 3513📱 :therian:littlefox@gotosocial-dev.svc.0x0a.network
2023-10-31

Anyone here a #googletest #gtest contributor and willing to take a look at my PR? Boosts very welcome :3

https://github.com/google/googletest/pull/4402

2023-04-18

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!

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst