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.
-
1
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:clauded1:bareos-16.2/cmocka && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
baselibs.conf | 0000000220 220 Bytes | |
cmocka-1.0.0-fix_build_with_newer_gcc.patch | 0000001044 1.02 KB | |
cmocka-1.1.0.tar.xz | 0000085132 83.1 KB | |
cmocka.spec | 0000007590 7.41 KB |
Comments 0