For a quick tour of unit testing with CppUnit, see the Cookbook in the latest documentation.
CppUnit v1.x includes these features:
- XML output with hooks for additional data
- Compiler-like text output to integrate with an IDE
- Helper macros for easier test suite declaration
- Hierarchical test fixture support
- Test registry to reduce recompilation need
- Test plug-in for faster compile/test cycle (self testable dynamic library)
- Protector to encapsulate test execution (allow capture of exception not derived from std::exception)
- QT based graphic test runner
There are additional features available as patches - see CppUnitPatches.