17 Aug
2006
17 Aug
'06
9:08 p.m.
I am such an impatient lad, I answered my own question: #include <boost/test/results_collector.hpp> if ( boost::unit_test::results_collector.results( boost::unit_test::framework::current_test_case().p_id ).passed() ) { // do something useful. } Is there a better way? How about providing a tool wrapper for this feature? Cheers pj On 8/17/06, Pierre-Jules Tremblay <iamtrep@gmail.com> wrote:
This must be an FAQ but I haven't found the answer in the documentation. With Boost.Test, is there a way to know whether the current test case's success/failure status?
Cheers
pj