Testing is my own small Unit-testing framework that I wrote and integrated into a couple of my different projects. It provides the basic UnitTest class to derive all unit tests from, as well as a DefTest macro to create an instance of the unit test to be ran at run-time. This utilitizes static-global initialization as well as some template magic to register the derived classes with the base class and run the tests before main() is ever hit.
Sun, 03/17/2013 - 23:47