devel/cmockery2 1.3.9 NetBSD
Reviving cmockery unit test framework from Google
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- apache-2.0
- Categories
- devel
- Package size
- 35.5 KiB, 164.9 KiB installed
Description
Cmockery tests are compiled into a stand-alone executable and linked with the cmockery library, the standard C library and module being tested. Any symbols external to the module being tested should be mocked - replaced with functions that return values determined by the test - within the test application. Even though significant differences may exist between the target execution environment of a code module and the environment used to test the code the unit testing is still valid since its goal is to test the logic of a code modules at a functional level and not necessarily all of its interactions with the target execution environment.
Other features:
- Lightweight C Unit test with mocking support
- JUnit XML report output which can be used with Jenkins
- Provides design-by-contract support
This project is a successor of http://code.google.com/p/cmockery-staging/ which is a successor of Google's http://code.google.com/p/cmockery/.
In the other systems
The newest version among them is 1.3.9, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| NetBSD | devel/cmockery2 | 1.3.9 newest | none known | - | [email protected] | - |
| FreeBSD | sysutils/cmockery2 by name | 1.3.8 | none known | - | [email protected] | - |
| DragonFly | sysutils/cmockery2 by name | 1.3.8 | none known | - | [email protected] | - |
| HardenedBSD | sysutils/cmockery2 by name | 1.3.8 | no data | - | [email protected] | - |
| GhostBSD | sysutils/cmockery2 by name | 1.3.8 | no data | - | [email protected] | - |
Install
Binary package:
pkgin install cmockery2
From pkgsrc:
cd /usr/pkgsrc/devel/cmockery2 && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 1.3.9 |
| NetBSD 10.1 aarch64 | 1.3.9 |
| SmartOS / illumos x86_64 | 1.3.9 |
| macOS 15 arm64 | 1.3.9 |
Dependencies
No port depends on this one.