...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.
Get Tools
At your convenient directory:
git clone https://git.code.sf.net/p/cpp-tools-in-ruby/code tools
Get Mocker++11
git clone https://git.code.sf.net/p/mockerplusplus11/code mocker++
Run it
Change directory to mocker++
./Mocker++ --help
(On Mac/Unix, you may need to run dos2unix)
Code samples (unit test codes) are found in 'unittest/MockerppTest
Win flex-bison is a port Flex & Bison tools to the Windows platform
...UPDATE2: Now "winflexbison" available as package in Chocolatey (https://chocolatey.org/packages/winflexbison and https://chocolatey.org/packages/winflexbison3)
UPDATE3: You can use VS custom build rules to simplify working with winflexbison in Visual Studio 2010 and upper (https://sourceforge.net/p/winflexbison/wiki/Visual%20Studio%20custom%20build%20rules/).
...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://sourceforge.net/p/mockerplusplus/code/ci/master/tree/
Download everything except copy-tools.sh (which is for my internal use)
(You can also skip unittest/ if you are not interested)
doc/ folder contains a documentation that explains Mocker++
Code samples (unit test codes) are found in 'unittest/MockerppTest'
A simple way to create a syntax highlighting editor for a custom language/grammar and/or create custom grammar parsers. This is a .NET project written in C#. See details here: http://acct001.com/wordpress/?p=190