clm971910 / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

allow "run failed tests first" feature #347

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
various continual integration suites, such as teamcity, have a feature called 
"run failed tests first" in which they tell the test runner which tests to run 
first, in order to see if tests have failures faster.
such a feature would be nice in googletest.

Original issue reported on code.google.com by avia...@gmail.com on 29 Dec 2010 at 7:13

GoogleCodeExporter commented 9 years ago
Please send proposals to the googletestframework@googlegroups.com mailing list 
instead.  Thanks.

The proposed feature requires the test runner to know which tests failed in the 
previous run, and thus is better done *outside* of gtest.  You can get the list 
of failed tests from gtest's output (textual or XML), and use the 
--gtest_filter flag to select these tests to run.  You can use --gtest_filter 
with a negative filter to run the rest of the tests later.

Original comment by w...@google.com on 29 Dec 2010 at 7:18