[Boost-bugs] [Boost C++ Libraries] #5973: Support program option to repeat tests

Subject: [Boost-bugs] [Boost C++ Libraries] #5973: Support program option to repeat tests
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-04 06:36:42


#5973: Support program option to repeat tests
---------------------------------+------------------------------------------
 Reporter: paul.bormans@… | Owner: rogeeff
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: test
  Version: Boost 1.38.0 | Severity: Problem
 Keywords: |
---------------------------------+------------------------------------------
 Currently we support a program option (on top of the set by Boost.Test)
 that allows to repeat the entire test-tree n times. This is done by
 repeating the building of the testtree n times. This introduces a limit
 since even when a run_test filter excludes testcases, they are still added
 to the testtree.

 So the method like shown here is not very efficient, it would be much
 better when the same testtree can be repeated and results are accumulated.

 Such improvement should be added to Boost.Test (and not build on top of
 it)

 boost::unit_test::master_test_suite_t&
 rMasterTestSuite(boost::unit_test::framework::master_test_suite());
 for(int i(0); i < (*spVm)["repeat"].as<int>(); ++i)
 {
   rMasterTestSuite.add(...
 }

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5973>
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:07 UTC