C++ Mocks Made Easy – An Introduction to gMock
Mock objects make unit testing easier and more effective. They cut code dependencies, make the tests fast and robust, make the test intent clear, and enable developers to easily test the interaction between components. While an invaluable technique, mocks haven’t caught on in the C++ land due to limitation of …