Lightweight library to simplify and generalize unit tests for C

Edit Package cmocka
http://open.cryptomilk.org/cmocka

There are a variety of C unit testing frameworks available however many of them
are fairly complex and require the latest compiler technology. Some development
requires the use of old compilers which makes it difficult to use some unit
testing frameworks. In addition many unit testing frameworks assume the code
being tested is an application or module that is targeted to the same platform
that will ultimately execute the test. Because of this assumption many
frameworks require the inclusion of standard C library headers in the code
module being tested which may collide with the custom or incomplete
implementation of the C library utilized by the code under test.

Cmocka only requires a test application is linked with the standard C library
which minimizes conflicts with standard C library headers. Also, CMocka tries
to avoid the use of some of the newer features of C compilers.

This results in CMocka being a relatively small library that can be used to
test a variety of exotic code. If a developer wishes to simply test an
application with the latest compiler then other unit testing frameworks may be
preferable.

This is the successor of Google's Cmockery.

Refresh
Refresh
Source Files
Filename Size Changed
baselibs.conf 0000000220 220 Bytes
cmocka-1.1.7.tar.xz 0000084064 82.1 KB
cmocka-1.1.7.tar.xz.asc 0000000833 833 Bytes
cmocka.changes 0000007398 7.22 KB
cmocka.keyring 0000003432 3.35 KB
cmocka.spec 0000004208 4.11 KB
Revision 19 (latest revision is 22)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1068186 from Andreas Schneider's avatar Andreas Schneider (gladiac) (revision 19)
- Update to version 1.1.7
  * Fixed tarball generation
- Update to version 1.1.6
  * Added new assert macros to compare 2 double given an epsilon
  * Added meson build system
  * Added header with version to TAP13 output
  * Fixed issues with MSVC
  * Fixed TAP output for skipped tests
  * Fixed issue with fail_msg
  * CMake generated configs for find_package(cmocka)
  * Documentation improvements
Comments 0
openSUSE Build Service is sponsored by