Re: [Boost-bugs] [Boost C++ Libraries] #13024: Using function as data source in BOOST_DATA_TEST_CASE initiate the conflict with static variables initialization

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13024: Using function as data source in BOOST_DATA_TEST_CASE initiate the conflict with static variables initialization
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-12-28 19:34:40


#13024: Using function as data source in BOOST_DATA_TEST_CASE initiate the conflict
with static variables initialization
-------------------------------+-------------------------------
  Reporter: mikhail@… | Owner: Gennadiy Rozental
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: test
   Version: Boost 1.64.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+-------------------------------

Comment (by Raffi Enficiaud):

 To unblock you, you can always mimic the dataset behaviour by manually
 registering test cases in the init of the test framework:

 *
 http://www.boost.org/doc/libs/release/libs/test/doc/html/boost_test/adv_scenarios/test_module_init_overview.html
 for test initialization function
 *
 http://www.boost.org/doc/libs/release/libs/test/doc/html/boost_test/tests_organization/test_cases/test_organization_nullary.html#ref_BOOST_TEST_CASE
 for manual registration

 You may for instance collect the files and then manually register a test
 for each of them.

-- 
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13024#comment:4>
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-12-28 19:50:58 UTC