Qt Mocks

Qt Test Code Mocking Library


Qt Mocks is inspired by Google Mocks, but designed to be used with Qt Test.

Stable Version 0.6.0

There are packages of the current stable version below, or checkout the stable release branch using Mercurial .


Known Issues

  1. Some tests require the explicit expected testing type to be passed.

Report Issues

If you have an issue, enhancement, or wish that you would like to let us know. Please submit your report and we'll address it.

Downloads & Packages

Operating system specific packages and installers are available below. Select the download which most matches your computer and desired install wishes.


Select a download below to have a runnable version installed onto your computer. All binary packages are signed using this FSF key .
The signatures can be verified using GNU Privacy Guard .

Type Debian Fedora macOS Mageia Windows
Executable AMD 64 x86_64 x86_64 Win 64 Installer
Debug AMD 64 x86_64 x86_64 Source x86_64 x86_64 Source
Development AMD 64 No Arch No Arch
Source Orig Packaging DSC Build Info Changes SRC Src


Select the download below to have the source code extracted onto your computer.


You can track the development version by using Mercurial on the default branch .

Repository hosting is generously provided by Octobus and Clever cloud .