A C/C++ unit tester. Features include composite test suites, each test can be run in it's own process, trapping of hung tests, setup and teardown, extensible interface and support for mocking functions.
- Composite test suites
- Each test is run in it's own process
- Traps hung tests
- Set up and tear down xUnit style
- Mocking of functions
- Extensible interface
- Optional BDD style with Subject Under Test
- Fluent assert/constraint/mock interface
I compared a lot of free unit test frameworks. an important point was that the test should continue after an illegal memory operation has been commited. most of the frame works died or became unpredictable even if they detected the segfault. cgreen and libu did the best job. since cgreen has additional mocking features, this one became my favorite.
Thumbs up! will try to contribute