crpcut is the Compartmented Robust Posix C++ Unit Test system. crpcut (pronounced "Crap Cut") runs all test cases in their own process and their own working directory, which makes it perfectly normal to test that asserts do trap, and the test suite continues even in the event of an unexpected SIGSEGV. By using the C++11 features long available in GCC, the tests are extremely easy to write.
| Tags | Software Development Testing Stable Unit test |
|---|---|
| Licenses | BSD Revised |
| Operating Systems | POSIX Linux |
| Implementation | C++ |
Recent releases


Release Notes: This is a patch for a bug that in some cases caused malformed XML output by missing a close on the blocked_tests list.


Release Notes: The new features are an additional optional parameter to ASSERT_THROW() and VERIFY_THROW() that checks the value of an exception object, two istream based versions of get_parameter() to pick values passed from the command line, and an option to build libcrpcut as a static or shared library.


Release Notes: The major new feature is tagging of tests. Tags are a test selection method orthogonal to that of test suites. Tags can also be used to distinguish between tests that are critical (e.g. regressions) and tests that are non-critical (e.g. the functionality currently being worked on). Experimental support is also available for decorating test reports with, for example, ANSI-colour escapes.


Release Notes: This is a major bugfix release that fixes a hidden dependency on librt.so, which caused crpcut to SIGSEGV at startup on Ubuntu 11.10.


Release Notes: The most prominent new features are that you can register customized exception describers which translate from exceptions to human-readable strings for inclusion in violation messages, and the ability to convert between the character set produced by the tests and the character set displayed in messages.