LogoopenSUSE Build Service > Projects
Sign Up | Log In

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.

  * 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

Source Files

Filename Size Changed Actions
_service 675 Bytes Download File

Comments for home:clauded1:bareos-15.2 (0)

Login required, please login or signup in order to comment