cmocka

Health

Risk
risk 10 low
  • +8 2.0.2 is behind upstream 2.0.3
  • +2 no meta.mainProgram, no versionCheckHook
Version
2.0.2 2.0.3 availablerepology ↗nixkeeper ↗
Update bot
succeeded 7h ago · not in the queue · logs
Channels
master 2.0.2 · nixos-unstable 2.0.2 · nixos-26.11 2.0.2 no channel is behind master
Advisories
none open
Packaging
no meta.mainProgram no versionCheckHook
Description
Lightweight library to simplify and generalize unit tests for C
Long description
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.
License
Platforms
79 platforms: Linux, Darwin
Source provenance
not set: built from source
Outputs
out
Status
not broken, not insecure, free
Maintainers

Version bumps 1

all open bumps
cmocka: 2.0.2 -> 2.0.3
#596357 by r-ryantm · opened 7h ago · checks fail

Pull requests 4

cmocka: 2.0.2 -> 2.0.3
#596357 by r-ryantm · opened 7h ago · checks fail
cygwin: add a system builder with a working nix draft treewide · 140 packages and 7 modules
#447520 by corngood · opened 14mo ago · checks pass
treewide: refactor sha256 = "sha256-*" to hash = "sha256-*" draft treewide · 2,836 packages
#422131 by guylamar2006 · opened 17mo ago
treewide: use hash instead of sha256 attrbute for sri hashes draft treewide · 2,658 packages
#389461 by afh · opened 20mo ago
Closed or merged in the last 60 days 1

Issues 0

None open.