Opmock is a mocking and testing tool for C and C++. It is useful if one wants to implement micro testing and TDD in a similar way of what exists in Java or C#. It is designed with legacy code in mind, and should work with all C++ and C compilers.

NEW : version 2.1 is out. Currently there are no binaries to download, please checkout the code from svn and compile from the sources.
You can checkout version 2.1 with the command:

svn checkout svn://svn.code.sf.net/p/opmock/code/tags/opmock2.1 opmock-code

Then read the updated docs in /documentation. Or just download the docs, read them and compile.


The current version is 2.1. This is a full rewrite of the 0.9x series. The 0.9x is still maintained for bug fixes, but new functionalities will go only in the 2.0 branch.

Have a look to the blog, the wiki and the download page for more information.

Project Activity

See All Activity >