|
Boost : |
From: Darren Cook (darren_at_[hidden])
Date: 2003-05-23 03:10:17
>>>Following on from that, there seems some overlap between your proposed
>>>asserts and Boost.Test's BOOST_CHECK_() macros. I wonder if it would be
>>>possible to have an assert handler for use in the unit test framework,
>>> and
>>>then I can use SMART_ASSERT() in both main code and in test code and
>>> only have to learn one syntax.
>
> Indeed you can! Take a look at the things I've developed so far.
I didn't see anything specifically for this (i.e. something that updates the
number of failed/passed tests, and doesn't prompt the user).
Darren
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk