Boost logo

Boost :

From: Stephan Tolksdorf (andorxor_at_[hidden])
Date: 2006-07-25 15:22:45


Gennadiy,

while we are discussing exceptions in Boost::Test, I've got a small request:

Could you maybe provide an equivalent macro to BOOST_CHECKPOINT (or
extend BOOST_CHECKPOINT) whose message is also displayed if
BOOST_REQUIRE fails? The reason I ask is that I sometimes outsource
common testing routines into helper functions and would like to print
context information if the test fails (as the line number itself is not
very informative in these instances). I'm sure that would be a help to
others too.

Regards,
   Stephan


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk