...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
generators and helper macros for parameterized tests
BOOST_PARAM_TEST_CASE(function, begin, end) BOOST_PARAM_CLASS_TEST_CASE(function, tc_instance, begin, end)
namespace boost { namespace unit_test { template<typename ParamType, typename ParamIter> unspecified make_test_case(boost::function< void(ParamType)> const & test_func, const_string tc_name, const_string tc_file, std::size_t tc_line, ParamIter par_begin, ParamIter par_end); template<typename ParamType, typename ParamIter> unspecified make_test_case(void(*)(ParamType) test_func, const_string tc_name, const_string tc_file, std::size_t tc_line, ParamIter par_begin, ParamIter par_end); template<typename UserTestCase, typename ParamType, typename ParamIter> unspecified make_test_case(void(UserTestCase::*)(ParamType) test_method, const_string tc_name, const_string tc_file, std::size_t tc_line, boost::shared_ptr< UserTestCase > const & user_test_case, ParamIter par_begin, ParamIter par_end); } }