[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#757295: RFP: CHEAT -- A minimal unit testing framework for the C programming language



Package: wnpp
Severity: wishlist

* Package Name:         cheat
  Version:              1.0.0
  Upstream Author:      Sampsa Kiiskinen <tuplanolla@gmail.com>
* URL:                  http://github.com/Tuplanolla/cheat
* License:              BSD
  Programming Language: C
  Description:          A minimal unit testing framework for the C programming language

CHEAT stands for C Header Embedded Automated Testing or something like that.
It is a minimal unit testing framework for the C programming language.
It has no dependencies and requires no installation or configuration.
Only a header file and a test case is needed.

	#include <cheat.h>

	CHEAT_TEST(mathematics_still_work,
		cheat_assert(2 + 2 == 4);
		cheat_assert_not(2 + 2 == 5);
	)

Packaging the framework should be quite easy.
The most essential files are cheat.h, cheats.h and cheat.7.
They belong in /usr/include and /usr/share/man/man7.
Files matching LICENSE* and README* should also be given the appropriate treatment.


Reply to: