BSD Ports

devel/cunit 2.1.3_3 MidnightBSD

Automated unit testing framework for C

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
lgpl
Categories
devel

Description

CUnit is a lightweight system for writing, administering, and running unit tests in C. It provides C programmers a basic testing functionality with a flexible variety of user interfaces.

CUnit is built as a static library which is linked with the user's testing code. It uses a simple framework for building test structures, and provides a rich set of assertions for testing common data types. In addition, several different interfaces are provided for running tests and reporting results. These interfaces currently include: Automated, Basic, Console and Curses.

In the other systems

SystemPortVersion
MidnightBSDdevel/cunit2.1.3_3
FreeBSDdevel/cunit2.1.3_3
OpenBSDdevel/cunit2.1.2p3
NetBSDdevel/cunit2.1.3nb1
HardenedBSDdevel/cunit2.1.3_3
GhostBSDdevel/cunit2.1.3_3

Install

Binary package:

mport install cunit

From mports:

cd /usr/mports/devel/cunit && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	cunit>0:devel/cunit
LIB_DEPENDS=	libcunit.so:devel/cunit

Dependencies

Required by 1

Configuration

Options name: devel_cunit

OptionDefaultDescription
AUTOMATEDonAutomated (XML) interface
BASIConBasic interface
CONSOLEonConsole interface
CURSESonCurses interface
DEBUGonDebug interface
DOCSoff
EXAMPLESoffExample programs
MEMTRACEonInternal memory tracking
TESTonInternal test program
USES
autoreconf gmake libtool pathfix tar:bzip2
Service scripts
none
Conflicts with
c-unit

Files

Manual pages 1
  • CUnit(3)
pkg-plist 53
  • include/CUnit/Automated.h
  • include/CUnit/Basic.h
  • include/CUnit/CUCurses.h
  • include/CUnit/CUError.h
  • include/CUnit/CUnit.h
  • include/CUnit/CUnit_intl.h
  • include/CUnit/Console.h
  • include/CUnit/MyMem.h
  • include/CUnit/TestDB.h
  • include/CUnit/TestRun.h
  • include/CUnit/Util.h
  • lib/libcunit.a
  • lib/libcunit.so
  • lib/libcunit.so.1
  • lib/libcunit.so.1.0.1
  • libdata/pkgconfig/cunit.pc
  • share/man/man3/CUnit.3.gz
  • share/cunit/CUnit-List.dtd
  • share/cunit/CUnit-List.xsl
  • share/cunit/CUnit-Run.dtd
  • share/cunit/CUnit-Run.xsl
  • share/cunit/Memory-Dump.dtd
  • share/cunit/Memory-Dump.xsl
  • share/cunit/Test/test_cunit
  • share/doc/cunit/CUnit_doc.css
  • share/doc/cunit/error_handling.html
  • share/doc/cunit/fdl.html
  • share/doc/cunit/headers/Automated.h
  • share/doc/cunit/headers/Basic.h
  • share/doc/cunit/headers/CUCurses.h
  • share/doc/cunit/headers/CUError.h
  • share/doc/cunit/headers/CUnit.h
  • share/doc/cunit/headers/CUnit_intl.h
  • share/doc/cunit/headers/Console.h
  • share/doc/cunit/headers/MyMem.h
  • share/doc/cunit/headers/TestDB.h
  • share/doc/cunit/headers/TestRun.h
  • share/doc/cunit/headers/Util.h
  • share/doc/cunit/headers/Win.h
  • share/doc/cunit/index.html
  • share/doc/cunit/introduction.html
  • share/doc/cunit/managing_tests.html
  • share/doc/cunit/running_tests.html
  • share/doc/cunit/test_registry.html
  • share/doc/cunit/writing_tests.html
  • share/examples/cunit/Automated/AutomatedTest
  • share/examples/cunit/Automated/README
  • share/examples/cunit/Basic/BasicTest
  • share/examples/cunit/Basic/README
  • share/examples/cunit/Console/ConsoleTest
  • share/examples/cunit/Console/README
  • share/examples/cunit/Curses/CursesTest
  • share/examples/cunit/Curses/README
distinfo 1
FileSizeSHA256
CUnit-2.1-3.tar.bz2514500f5b29137f845bb08b77ec60584fdb728b4e58f1023e6f249a464efa49a40f214
Master sites 1
  • SF/cunit/CUnit/${PORTVERSION:R}-${PORTVERSION:E}