Boost C++ Libraries: Ticket #5973: Support program option to repeat tests https://svn.boost.org/trac10/ticket/5973 <p> 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. </p> <p> 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. </p> <p> Such improvement should be added to Boost.Test (and not build on top of it) </p> <p> boost::unit_test::master_test_suite_t&amp; rMasterTestSuite(boost::unit_test::framework::master_test_suite()); for(int i(0); i &lt; (*spVm)<a class="missing wiki">repeat</a>.as&lt;int&gt;(); ++i) { </p> <blockquote> <p> rMasterTestSuite.add(... </p> </blockquote> <p> } </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5973 Trac 1.4.3 Gennadiy Rozental Sun, 16 Oct 2011 21:52:04 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5973#comment:1 https://svn.boost.org/trac10/ticket/5973#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> <p> I believe this is possible with current trunk. All you need is to implement custom test runner, which executed framework::run multiple times </p> Ticket