ebojd Messages: 225 Registered: January 2007 Location: USA
Experienced Member
Thanks luzr,
I'll look into this. It sounds similar to what I typically write into my test suites. As a note, when testing I typically do not halt on error, but report the test and error and continue on -- so if there are more than one error I get an end report of all errors. This should be easily configurable (similar to the current build system).
For organization I typically put my own test programs in a "test" subdirectory of the specific package/module/library to make sure they are physically together. This probably makes no sense with U++, but if someone gives a copy of the program away I want to make sure they have the associated test suite (for that specific version of the source). This also allows me the run "make check" which recursively traverses the source tree and runs all tests.
Is there any documentation available for your testing framework?