cmocka

Lightweight library to simplify and generalize unit tests for C

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.

There is no official package available for openSUSE Leap 15.5

Distributions

openSUSE Tumbleweed

openSUSE Leap 15.6

openSUSE Leap 15.5

openSUSE Leap 15.4

SUSE SLE-15-SP1

SUSE SLE-12-SP5

CentOS CentOS-7

Unsupported distributions

The following distributions are not officially supported. Use these packages at your own risk.