Package Info

cmocka


Lightweight library to simplify and generalize unit tests for C


Productivity/Networking/Other

cmocka is an elegant unit testing framework for C with support for mock objects. It only requires the standard C library, works on a range of computing platforms (including embedded) and with different compilers.

Features:

  • Support for mock objects
  • Only requires the C library
  • Several supported output formats (Subunit, TAP, jUnit XML)
  • Fully documented API
  • Test fixtures
  • Exception handling for signals (SIGSEGV, SIGILL, ...)
  • No fork() used
  • Very well tested
  • Testing of memory leaks, buffer overflows and underflows.

Also, CMocka tries to avoid the use of some of the newer features of C compilers.


License: Apache-2.0
URL: http://cmocka.org

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
1.1.1-bp151.1.1 info GA Release 2019-07-17 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • libcmocka-devel
  • libcmocka-devel-64bit
  • libcmocka-devel-static
  • libcmocka0
  • libcmocka0-64bit
1.1.1-bp152.3.25 info GA Release 2020-04-16 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • libcmocka-devel
  • libcmocka-devel-64bit
  • libcmocka-devel-static
  • libcmocka0
  • libcmocka0-64bit
1.1.1-bp153.1.22 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • libcmocka-devel
  • libcmocka-devel-64bit
  • libcmocka-devel-static
  • libcmocka0
  • libcmocka0-64bit