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.
- Links to devel:libraries:c_c++ / cmocka
- Has a link diff
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:Simmphonie:yubico/cmocka && cd $_
- Create Badge
Refresh
Refresh
Source Files (show unmerged sources)
Filename | Size | Changed |
---|---|---|
baselibs.conf | 0000000327 327 Bytes | |
cmocka-1.1.7.tar.xz | 0000084064 82.1 KB | |
cmocka-1.1.7.tar.xz.asc | 0000000833 833 Bytes | |
cmocka.changes | 0000008131 7.94 KB | |
cmocka.keyring | 0000003432 3.35 KB | |
cmocka.spec | 0000004695 4.58 KB |
Latest Revision
Torsten Gruner (Simmphonie)
committed
(revision 1)
Comments 0