Linux workstation

Upstream software project

cmocka

An elegant unit testing framework for C with support for mock objects (development files)

About cmocka

An elegant unit testing framework for C with support for mock objects (development files)

This project links 35 native package records across 10 recorded operating-system releases. Compare the retained versions and architectures below, then open the package for your own release.

These are catalog observations, not a guarantee of installation, compatibility, or upstream support.

Project pictures and package coverage

Alpine Linux 3.21: 2 package records; Alpine Linux 3.22: 2 package records; Alpine Linux 3.23: 2 package records; Debian 12 (Bookworm): 3 package records; Debian 13 (Trixie): 3 package records; Fedora 43: 3 package records; Fedora 44: 4 package records; openSUSE Leap 15.6: 5 package records; openSUSE Leap 16.0: 4 package records; openSUSE Tumbleweed: 7 package records. Catalog coverage diagram, not an application screenshot.cmocka: recorded package coverageAlpine Linux 3.212 recordsAlpine Linux 3.222 recordsAlpine Linux 3.232 recordsDebian 12 (Bookworm)3 recordsDebian 13 (Trixie)3 recordsFedora 433 recordsFedora 444 recordsopenSUSE Leap 15.65 records
OpenFactory diagram of linked package records. The first eight releases are shown; all 10 appear below. It is not an application screenshot.

Project identity

Project
cmocka
Publisher
Not authoritatively mapped
Native package records
35
Operating systems
alpine-linux-3-21, alpine-linux-3-22, alpine-linux-3-23, debian-12, debian-13, fedora-43, fedora-44, opensuse-leap-15-6, opensuse-leap-16-0, opensuse-tumbleweed
License expression
Apache-2.0
Metadata completeness
70/100 (not a software quality rating)
Source repository
Not reported

Source-reported description

The fullest retained description is shown with its source. Distribution packaging descriptions may include downstream details.

There are a variety of C unit testing frameworks available however many of them are fairly complex and require the latest compiler technology. Some development requires the use of old compilers which makes it difficult to use some unit testing frameworks. In addition many unit testing frameworks assume the code being tested is an application or module that is targeted to the same platform that will ultimately execute the test. Because of this assumption many frameworks require the inclusion of standard C library headers in the code module being tested which may collide with the custom or incomplete implementation of the C library utilized by the code under test. CMocka only requires a test application is linked with the standard C library which minimizes conflicts with standard C library headers. Also, CMocka tries to avoid the use of some of the newer features of C compilers. This results in CMocka being a relatively small library that can be used to test a variety of exotic code. If a developer wishes to simply test an application with the latest compiler then other unit testing frameworks may be preferable. This is the successor of Google's Cmockery.

Description source

Packages by operating system

Compare recorded versions, then open a package for dependency, file, checksum, and repository evidence. Version strings are distribution-specific, not a ranking of newer software.

Alpine Linux 3.21

  1. cmocka

    Alpine Linux 3.21 / source cmocka

    1.1.7-r2

    An elegant unit testing framework for C with support for mock objects

    aarch64x86_64v3.21
  2. cmocka-dev

    Alpine Linux 3.21 / source cmocka

    1.1.7-r2

    An elegant unit testing framework for C with support for mock objects (development files)

    aarch64x86_64v3.21

Alpine Linux 3.22

  1. cmocka

    Alpine Linux 3.22 / source cmocka

    1.1.7-r2

    An elegant unit testing framework for C with support for mock objects

    aarch64x86_64v3.22
  2. cmocka-dev

    Alpine Linux 3.22 / source cmocka

    1.1.7-r2

    An elegant unit testing framework for C with support for mock objects (development files)

    aarch64x86_64v3.22

Alpine Linux 3.23

  1. cmocka

    Alpine Linux 3.23 / source cmocka

    1.1.7-r2

    An elegant unit testing framework for C with support for mock objects

    aarch64x86_64v3.23
  2. cmocka-dev

    Alpine Linux 3.23 / source cmocka

    1.1.7-r2

    An elegant unit testing framework for C with support for mock objects (development files)

    aarch64x86_64v3.23

Debian 12 (Bookworm)

  1. cmocka-doc

    Debian 12 (Bookworm) / doc / source cmocka

    1.1.5-2.1

    documentation for the CMocka unit testing framework

    allbookworm
  2. libcmocka0

    Debian 12 (Bookworm) / libs / source cmocka

    1.1.5-2.1

    library for the CMocka unit testing framework

    amd64arm64bookworm
  3. libcmocka-dev

    Debian 12 (Bookworm) / libdevel / source cmocka

    1.1.5-2.1

    development files for the CMocka unit testing framework

    amd64arm64bookworm

Debian 13 (Trixie)

  1. cmocka-doc

    Debian 13 (Trixie) / doc / source cmocka

    1.1.7-3

    documentation for the CMocka unit testing framework

    alltrixie
  2. libcmocka0

    Debian 13 (Trixie) / libs / source cmocka

    1.1.7-3+b1

    library for the CMocka unit testing framework

    amd64arm64trixie
  3. libcmocka-dev

    Debian 13 (Trixie) / libdevel / source cmocka

    1.1.7-3+b1

    development files for the CMocka unit testing framework

    amd64arm64trixie

Fedora 43

  1. cmocka-doc

    Fedora 43 / Unspecified / source cmocka

    1.1.8-3.fc43

    API documentation for the cmocka unit testing framework

    noarch43
  2. libcmocka

    Fedora 43 / Unspecified / source cmocka

    1.1.8-3.fc43

    Lightweight library to simplify and generalize unit tests for C

    aarch64i686x86_6443
  3. libcmocka-devel

    Fedora 43 / Unspecified / source cmocka

    1.1.8-3.fc43

    Development headers for the cmocka library

    aarch64i686x86_6443

Fedora 44

  1. cmocka-doc

    Fedora 44 / Unspecified / source cmocka

    2.0.2-3.fc44

    API documentation for the cmocka unit testing framework

    noarch44
  2. libcmocka

    Fedora 44 / Unspecified / source cmocka

    2.0.2-3.fc44

    Lightweight library to simplify and generalize unit tests for C

    aarch64i686x86_6444
  3. libcmocka-cmake-devel

    Fedora 44 / Unspecified / source cmocka

    2.0.2-3.fc44

    CMake support for the cmocka library

    aarch64i686x86_6444
  4. libcmocka-devel

    Fedora 44 / Unspecified / source cmocka

    2.0.2-3.fc44

    Development headers for the cmocka library

    aarch64i686x86_6444

openSUSE Leap 15.6

  1. libcmocka0

    openSUSE Leap 15.6 / System/Libraries / source cmocka

    1.1.5-150400.3.2.3

    Lightweight library to simplify and generalize unit tests for C

    aarch64ppc64les390xx86_64leap-15.6
  2. libcmocka0-32bit

    openSUSE Leap 15.6 / System/Libraries / source cmocka

    1.1.5-150400.3.2.3

    Lightweight library to simplify and generalize unit tests for C

    x86_64leap-15.6
  3. libcmocka-devel

    openSUSE Leap 15.6 / Development/Libraries/C and C++ / source cmocka

    1.1.5-150400.3.2.3

    Development headers for the cmocka library

    aarch64ppc64les390xx86_64leap-15.6
  4. libcmocka-devel-32bit

    openSUSE Leap 15.6 / Development/Libraries/C and C++ / source cmocka

    1.1.5-150400.3.2.3

    Development headers for the cmocka library

    x86_64leap-15.6
  5. libcmocka-devel-static

    openSUSE Leap 15.6 / Development/Libraries/C and C++ / source cmocka

    1.1.5-150400.3.2.3

    Static cmocka library

    aarch64ppc64les390xx86_64leap-15.6

openSUSE Leap 16.0

  1. libcmocka0

    openSUSE Leap 16.0 / System/Libraries / source cmocka

    1.1.7-160000.2.2

    Lightweight library to simplify and generalize unit tests for C

    aarch64ppc64les390xx86_64leap-16.0
  2. libcmocka0-32bit

    openSUSE Leap 16.0 / System/Libraries / source cmocka

    1.1.7-160000.2.2

    Lightweight library to simplify and generalize unit tests for C

    x86_64leap-16.0
  3. libcmocka-devel

    openSUSE Leap 16.0 / Development/Libraries/C and C++ / source cmocka

    1.1.7-160000.2.2

    Development headers for the cmocka library

    aarch64ppc64les390xx86_64leap-16.0
  4. libcmocka-devel-32bit

    openSUSE Leap 16.0 / Development/Libraries/C and C++ / source cmocka

    1.1.7-160000.2.2

    Development headers for the cmocka library

    x86_64leap-16.0

openSUSE Tumbleweed

  1. libcmocka0

    openSUSE Tumbleweed / System/Libraries / source cmocka

    2.0.2-1.5

    Lightweight library to simplify and generalize unit tests for C

    x86_64tumbleweed
  2. libcmocka0-32bit

    openSUSE Tumbleweed / System/Libraries / source cmocka

    2.0.2-1.5

    Lightweight library to simplify and generalize unit tests for C

    x86_64tumbleweed
  3. libcmocka-cmake-devel

    openSUSE Tumbleweed / Development/Libraries/C and C++ / source cmocka

    2.0.2-1.5

    CMake support for the cmocka library

    x86_64tumbleweed
  4. libcmocka-cmake-devel-32bit

    openSUSE Tumbleweed / Development/Libraries/C and C++ / source cmocka

    2.0.2-1.5

    CMake support for the cmocka library

    x86_64tumbleweed
  5. libcmocka-devel

    openSUSE Tumbleweed / Development/Libraries/C and C++ / source cmocka

    2.0.2-1.5

    Development headers for the cmocka library

    x86_64tumbleweed
  6. libcmocka-devel-32bit

    openSUSE Tumbleweed / Development/Libraries/C and C++ / source cmocka

    2.0.2-1.5

    Development headers for the cmocka library

    x86_64tumbleweed
  7. libcmocka-doc

    openSUSE Tumbleweed / Development/Libraries/C and C++ / source cmocka

    2.0.2-1.5

    Documentation for the cmocka library

    noarchtumbleweed

Project resources and further reading

Mapping provenance

Only source-backed identity signals create public cross-OS links. A reviewer can later approve or dispute an inferred relationship without rewriting native package history.

No field-level source record is published yet.