An open API service indexing awesome lists of open source software.

https://github.com/refi64/libcut

Easy, flexible C unit testing
https://github.com/refi64/libcut

Last synced: 8 months ago
JSON representation

Easy, flexible C unit testing

Awesome Lists containing this project

README

          

Libcut
======

Libcut (**Lib** rary for **C** **U** nit **T** esting) is an easy-to-use unit
testing framework designed for C11. It's in early development, but it's very
usable, consisting of a single header file (*libcut.h*). See
`the manual `_.

The output is nice and colorful, too; here's the output from running the *tst.c*
program included::

FF
error in test abc at tst.c:10: 1 != 0
error in test xyz at tst.c:5: 'a' != 'ab'
Tests run: 2
Tests succeeded: 0
Tests failed: 2