devel/check 0.15.2 NetBSD
Unit test framework for C
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- gnu-lgpl-v2.1
- Categories
- devel
- Package size
- 70.8 KiB, 307.7 KiB installed
Description
Check is a unit test framework for C. It features a simple interface for defining unit tests, putting little in the way of the developer. Tests are run in a separate address space, so Check can catch both assertion failures and code errors that cause segmentation faults or other signals. The output from unit tests can be used within source code editors and IDEs.
There is a tutorial introduction to check at
http://check.sourceforge.net/tutorial.html
This includes a brief comparison of check with other C unit test frameworks, such as GNU Autounit, cUnit, and CUnit.
Check was inspired by similar frameworks that currently exist for most programming languages; the most famous example being JUnit for Java (www.junit.org). There is a list of unit test frameworks for multiple languages at www.xprogramming.com/software.htm .
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/check | 0.15.2 |
| FreeBSD | devel/check | 0.15.2_1 |
| OpenBSD | devel/check | 0.15.2p0 |
| DragonFly | devel/check | 0.15.2_1 |
| MidnightBSD | devel/check | 0.15.2 |
Install
Binary package:
pkgin install check
From pkgsrc:
cd /usr/pkgsrc/devel/check && make install clean