
18 Aug
2006
18 Aug
'06
3:59 a.m.
"Pierre-Jules Tremblay"
I am such an impatient lad, I answered my own question:
#include
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?
Looks right. I would define a alias for boost::unit_test.
How about providing a tool wrapper for this feature?
Why do you need this? How frequent do you think this would be requested? Gennadiy