Re: [Boost-bugs] [Boost C++ Libraries] #11543: Adding Test Groups to BOOST.TEST

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11543: Adding Test Groups to BOOST.TEST
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-08-31 01:25:18


#11543: Adding Test Groups to BOOST.TEST
-------------------------------+----------------------
  Reporter: sumedhghaisas@… | Owner: rogeeff
      Type: Feature Requests | Status: reopened
 Milestone: To Be Determined | Component: test
   Version: Boost 1.57.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+----------------------

Comment (by rogeeff):

 Am I right and what you want is essentially data driven test suites? Does
 API like this look right:

     std::vector params{"a", "b", "c", "d" };

     BOOST_DATA_TEST_SUITE( s1, params )

     BOOST_DATA_TEST_CASE(test1)
     {
        // sample is one of the string here
     }

     BOOST_DATA_TEST_CASE(test2)
     {
        // sample is one of the string here
     }

     BOOST_TEST_SUITE_END()

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11543#comment:6>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC