Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

crpcut / News: Recent posts

crpcut-1.9.0 released

Version 1.9.0 of the Compartmented Robust Posix C++ Unit Test system has been released.

This is a feature enhancement release with the highlights being an additional library without heap instrumentation to enable tests of code that implements its own heap functions, abolished need to predefine tags when compiled with C++11, and an added attribute "location" to all violation reports in XML format.

Posted by Bjorn Fahller 2013-04-05

crpcut-1.8.4 released

Version 1.8.4 of the Compartmented Robust Posix C++ Unit Test system has been released.

This is a minor bugfix release correcting valgrind instrumentation problems, test dependencies and faulty test duration attribute in XML reports.

Posted by Bjorn Fahller 2013-03-16

crpcut-1.8.3 released

Version 1.8.3 of the Compartmented Robust Posix C++ Unit Test system has been released.

This is a minor feature enhancement preparing for an eclipse plugin in development. Reports of violations now always begin with file:line. When an exact location for the violation cannot be found, for example if the test has unexpectedly exited, the location refers to the test definition. An attribute "duration_us" has been added to every test node in XML-reports.

Posted by Bjorn Fahller 2012-07-21

crpcut-1.8.1 released

Version 1.8.1 of the Compartmented Robust Posix C++ Unit Test system has been released.

This minor feature enhancement makes the command line parameter --timeout-multiplier=factor now also have effect on the timeouts for fixture construction and destruction.

Posted by Bjorn Fahller 2012-06-12

crpcut-1.8.0 released

Version 1.8.0 of the Compartmented Robust Posix C++ Unit Test system has been released.

This minor feature enhancement adds a new command line parameter --timeout-multiplier=factor, which extends all checked timeouts . This allows the safety guards against no-progress bugs even if an auto builder runs unit tests in a severely slowed down environment, like a code coverage collector or valgrind.

Posted by Bjorn Fahller 2012-06-06

crpcut-1.7.2 released

Version 1.7.2 of the Compartmented Robust Posix C++ Unit Test system has been released.

This fixes a minor bug with the NO_CORE_FILE test modifier, when on Linux /proc/sys/kernel/core_pattern describes piping the core dump to a program rather than to a file.

Posted by Bjorn Fahller 2012-05-17

crpcut-1.7.1 released

Version 1.7.1 of the Compartmented Robust Posix C++ Unit Test system has been released.

This release fixes a buffering bug which could cause output intensive tests to time out.

Posted by Bjorn Fahller 2012-04-06

crpcut-1.7.0 released

Version 1.7.0 of the Compartmented Robust Posix C++ Unit Test system has been released.

This is a major update with many new features, among them easier writing and matching of predicates, display disabled tests and improved control of data type representation in reports.

Posted by Bjorn Fahller 2012-03-11

crpcut-1.6.1 released

Version 1.6.1 of the Compartmented Robust Posix C++ Unit Test system is released.

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

Posted by Bjorn Fahller 2012-01-24

crpcut-1.6.0 released

Version 1.6.0 of the Compartmented Robust Posix C++ Unit Test system is released.

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

Posted by Bjorn Fahller 2012-01-19

crpcut-1.5.0 released

Version 1.5.0 of the Compartmented Robust Posix C++ Unit Test system is released.

The major new feature is tagging of tests. Tags are a test selection method orthogonal to that of testsuites. Tags can also be used to distinguish between test that are critical (e.g. regressions) and test that are non-critical (e.g. the functionality currently worked on.)

Experimental support is also available for decorating test reports with, for example, ANSI-colour escapes.

Posted by Bjorn Fahller 2012-01-03

crpcut-1.4.1 released

Version 1.4.1 of crpcut is released. 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.

Posted by Bjorn Fahller 2011-12-20

crpcut-1.4.0 released

Version 1.4.0 of the Compartmented Robust Posix C++ Unit Test system is released.

This is a major release with much new functionality - the most prominent being the possibility to register custom describers for exception information, and converting between the character set produced by tests and the character set displayed.

Posted by Bjorn Fahller 2011-12-09

crpcut on google+

While plodding along towards a 1.4.0 release, a google+ page has been created. Please visit http://tinyurl.com/crpcut-plus for news and discussions.

Posted by Bjorn Fahller 2011-11-26

crpcut-1.3.2 released

Version 1.3.2 of the Compartmented Robust Posix C++ Unit Test system is released.

This is a minor release focusing mainly on compile time speedup for test cases. A user contributed web presentation for test runs is also included.

Posted by Bjorn Fahller 2011-08-01

Compile time optimizations

Optimizations on the template use in the header file crpcut.hpp has lead to a reduction in compile time for test code by as much as 50%.

This optimization will be included in the next release, but is already available through git://crpcut.git.sourceforge.net/gitroot/crpcut/crpcut

Posted by Bjorn Fahller 2011-07-14

HTML result display for crpcut

An HTML-presenter of test results from crpcut is available with the html-display from https://github.com/mattiash/crpcut

It will be incorporated into the next release of crpcut.

Posted by Bjorn Fahller 2011-06-16

crpcut-1.3.1 released

Version 1.3.1 of the Compartmented Robust Posix C++ Unit Test system is released.

This is a minor release that fixes an XML schema violation bug and also adds an optional identifier for a test run, useful for web-presentation of results from auto-builders.

Posted by Bjorn Fahller 2011-05-30

crpcut-1.3.0 released

Version 1.3.0 of the Compartmented Robust Posix C++ Unit Test system is released.

This release includes improved support for negative tests, and timeout guards for fixture creation/destruction.

Posted by Bjorn Fahller 2011-05-24

crpcut debian packages

With the help of my friend and collegue, Jonas Larsson, debian packages for crpcut are now available from launchpad. Go to http://launchpad.net/~jonlar/+archive/crpcut and follow the instructions for installation.

Posted by Bjorn Fahller 2011-05-15

crpcut debian packages

With the help of my friend and collegue, Jonas Larsson, debian packages for crpcut are now available from launchpad. Go to http://launchpad.net/~jonlar/+archive/crpcut and follow the instructions for installation.

Posted by Bjorn Fahller 2011-05-15

GCC 4.6 and crpcut

crpcut-1.2.0 is verified to compile and run flawlessly with GCC 4.6 RC.

Posted by Bjorn Fahller 2011-03-22

crpcut-1.2.0 released

Version 1.2.0 of the Compartmented Robust Posix C++ Unit Test system is released.

Version 1.2.0 includes much improved support for asserting correct timing and heap consistency, VERIFY macros which mirror the ASSERT macros in functionality, except that they let execution continue after violations and also experimental support for backtraces on heap objects (must be explicitly enabled at build time.)

Posted by Bjorn Fahller 2011-01-23

crpcut-1.1.1 released

Version 1.1.1 of the Compartmented Robust Posix C++ Unit Test system is released.

ASSERT_TRUE() and ASSERT_FALSE() now allows you to write conditions in natural C++ syntax by interpreting the expressions and give detailed information of the subexpressions on failures. For example ASSERT_TRUE(a + b == 5) can yield the message "evaluated as: 1 + 3 == 5". See the ChangeLog for details.

Posted by Bjorn Fahller 2010-11-21

crpcut-1.1.0 released

Version 1.1.0 of the Compartmented Robust Posix C++ Unit Test system is released.

The big news is that test can be expected to timeout while requiring a limit on spent CPU-time, effectively making it possible to verify that a test goes to sleep. In addition there are a number of bugfixes and minor improvements. See the ChangeLog for details.

Posted by Bjorn Fahller 2010-10-25