Updates:
Summary: Rerun failed tests
Comment #5 on issue 702 by pekka.klarck: Rerun failed tests
http://code.google.com/p/robotframework/issues/detail?id=702
Bad news:
RF 2.6 is delayed until later this spring so it will take a bit more time
before this feature is in.
Good news:
As part of mailing list discussion Mikko wrote a simple script that creates
an argument file with failed tests collected from an output file [1]. A
limitation of that script was that it didn't work well when there was test
with same name multiple times -- in practice all of them would be executed.
RF 2.5.6 supports specifying tests to run with their long names (issue 757)
so this limitation can be lifted. I just did that and the enhanced version
of Mikko's script is attached. It uses long names with RF 2.5.6 or never
(also trunk version) and normal names with older. I hope this script is
useful until we get rerun support into the framework itself.
[1]
http://groups.google.com/group/robotframework-users/browse_thread/thread/4ef9c72d3f22aa12/21f1175cbc3c0f94?lnk=gst&q=rerun+failed#21f1175cbc3c0f94
Attachments:
gather_failed_tests.py 1.1 KB