nixpkgs / 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.

Homepage - https://cmocka.org/

License - Apache-2.0

Maintainers - Louis Taylor - Alexey Shmalko

Outputs

out (expand/collapse)

Releases

1.1.5 (expand/collapse)
From commit 04cc8385 to 00460bd6
1.1.1 (expand/collapse)
From commit 0045164b to 0045164b
1.1.5 (expand/collapse)
From commit 01c27f11 to 06fad89b
1.1.3 (expand/collapse)
From commit 03071af3 to 03071af3
1.1.5 (expand/collapse)
From commit 043d233d to 0215ee05
1.1.3 (expand/collapse)
From commit 00971938 to 00971938
1.1.1 (expand/collapse)
From commit 075e4883 to 0624deb5
1.0.1 (expand/collapse)
From commit 044ceae2 to 044ceae2
1.1.1 (expand/collapse)
From commit 035b5892 to 0560caa5
1.0.1 (expand/collapse)
From commit 020a6663 to 020a6663
1.1.1 (expand/collapse)
From commit 011773ed to 031367af
1.0.1 (expand/collapse)
From commit 0765936b to 07684202