cmockery2-devel - Lightweight C unit testing framework

Distribution: Fedora 25
Repository: Fedora x86_64
Package name: cmockery2-devel
Package version: 1.3.9
Package release: 3.fc24
Package architecture: x86_64
Package type: rpm
Installed size: 25.68 KB
Download size: 15.45 KB
Official Mirror:
Cmockery tests are compiled into a stand-alone executable and linked with the Cmockery library, the standard C library and module being tested. Any symbols external to the module being tested should be mocked - replaced with functions that return values determined by the test - within the test application. Even though significant differences may exist between the target execution environment of a code module and the environment used to test the code the unit testing is still valid since its goal is to test the logic of a code modules at a functional level and not necessarily all of its interactions with the target execution environment. Other features: * Lightweight C Unit test with mocking support * JUnit XML report output which can be used with Jenkins * Provides design-by-contract support This project is a successor of which is a successor of Google's Package provides necessary headers for C unit test development


  • cmockery2-devel = 1.3.9-3.fc24
  • cmockery2-devel(x86-64) = 1.3.9-3.fc24
  • pkgconfig(cmockery2) = 1.3.9

    Install Howto

    Install the cmockery2-devel rpm package:

    # dnf install cmockery2-devel


    • /usr/include/cmockery/cmockery.h
    • /usr/include/cmockery/cmockery_override.h
    • /usr/include/cmockery/pbc.h
    • /usr/lib64/
    • /usr/lib64/pkgconfig/cmockery2.pc