Mocker++
C++ Mock object with automatic generator
Unlike Java or other languages where reflection / introspection is available, mocking is not easy with C++. Even with Google Mock, we need some hand writing.
I solved this problem by using home made class definition parser/generator that reads the class definition (header file), then generates a mock class.
What you need is to run the generator and full featured mock class is there for your unit test.
----
How to use:
You need Ruby. Obtain it if you don't have it yet.
Go to
https...