
20 Oct
2012
20 Oct
'12
7:25 p.m.
Steven Watanabe wrote:
I. New testing tool BOOST_CHECKA
This tool is based on excellent idea from Kevlin Henney. I chose the name CHECKA for this tool due to the lack of better name, but I am open to suggestions.
BOOST_CHECK_EXPR? Ideally I'd like this to be called BOOST_CHECK, but I don't think that can be made perfectly backwards compatible.
How about BOOST_CHECK_EXPRESSION ?
II. New "data driven test case" subsystem
<snip> Here are couple examples:
int samples1[] = {1,2,3}; BOOST_DATA_TEST_CASE( t1, samples1, sample ) { BOOST_CHECKA( foo(sample) > 0 ); }
How about BOOST_TEST_FOREACH(<test?>, <collection>, <item name>) ? Robert Ramey