Projects / crpcut

crpcut

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
Licenses
Operating Systems
Implementation

RSS Recent releases

  •  24 Jan 2012 22:12

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.

  •  03 Jan 2012 21:43

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.

  •  20 Dec 2011 22:13

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.

  •  10 Dec 2011 00:15

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.

Screenshot

Project Spotlight

Strings edit

A string editing library for Ada.

Screenshot

Project Spotlight

JStock

A stock market application.