(Also available in the readme file.)
This package, simplectest, is a simple testing framework for C and C++.
I wrote this framework when I got fed up with the flaws in other testing frameworks for C or C++. Because C++ is strictly typed and doesn't have support for reflection, all other resting frameworks:
- Required that you write out the test function names more than once; or
- Required that you use a scripting language to generate the list of tests.
Inspired by an article on C2.com, I wrote this - a simple, but very effective testing framework for C and C++. It is based on macros. It is not as full-featured as other testing frameworks, but it gets the job done and lets you focus on writing tests (and making them pass).
This project was developed as a side project to a summer project at Massey University over 2004/2005.