Comment #7 on issue 702 by [email protected]: Rerun failed tests
http://code.google.com/p/robotframework/issues/detail?id=702
Our need here is the former one you describe (read failed tests from an
earlier output file and execute only them).
The way we use Robot is the following. It could help you decide what you do
on this subject.
1) QA add new test cases during the day using RIDE (executing them one by
one)
1.1) during this time DEV are adding/fixing the product under tests
2) at night, the whole Robot regression tests suite run (can last 6 hours)
3) in the morning we have the report with some failed tests and we would
like to run only the failed one (otherwise it is too long). First level of
func would be to run it through Robot in command line like suggested by
previous posts. Second level would be to "load" the report within RIDE to
see green/ref on the different test case and rerun the failed/red ones.
And I tried the script gather_failed_tests.py but I did not success. My
feeling was that I had issue because my test suites names were full of
underscore that became whitespace... but I have to check that again.
Hope this help,
Laurent