Comment #9 on issue 702 by [email protected]: Rerun failed tests
http://code.google.com/p/robotframework/issues/detail?id=702

This is such a usefull feature that its worth waiting for. Please dont drop this feature. I have a different way to implement that that would handle all(?) the scenarios.

How about having a keyword that would be run on either suit setup/testcase setup/teardown that instructs to rerun n times if it encounters a specific error.

eg,

Rerun Testcase On Error  no_of_attempts, *list_of_error

I use RF for E2E integration testing and most of our test suites run for a couple of hours. At the end of which we see that some of the fail randomly. I suspect its because of race conditions as RF + Selenium updated the web page very fast and it would be sad to slow it down with many sleeps'. But the company would pay for fixing it as its not possible to recreate manually.

tl;dr its needed in cases where "Its not an error if its not reproduceable."

Reply via email to