Completed
Last Updated: 20 Mar 2019 14:50 by Daniel
Stuart
Created on: 30 Dec 2015 17:07
Type: Feature Request
5
Rerun test on failure
When an automated test fails, it can sometimes be down to environmental issues or network instability and sometimes a rerun of the test would cause it to pass.

It would be good if there was an option to rerun test x number of times on failure.

This is particularly useful for automated deployments which run and can be hampered by tests that fail first time but potentially will pass a second or third time if run.
4 comments
Daniel
Posted on: 20 Mar 2019 14:50
In our latest Test Studio releases, we have implemented an option to rerun failed tests in a test list.
ADMIN
Daniel Djambov
Posted on: 01 Jan 2016 07:38
Telerik: I'm not sure what your definition of automated deployments is, so please specify your case in more details. What I mean is that if you run the Test List using ArtOfTest.Runner from command line script it will work. Also if using Scheduling to trigger runs, in an all-in-one setup in which the Scheduling Server and the Execution Server are on the same machine, this will work also. So please describe your needs in more details so I can tell you if and how it can work.
Stuart
Posted on: 31 Dec 2015 09:40
Thanks Daniel, the issue with this approach is "Note2: this will work only for local test list executions, not in a remote/scheduled runs on distributed machines"

That kind of eliminates the use for automated deployments.
ADMIN
Daniel Djambov
Posted on: 31 Dec 2015 05:21
Telerik: there is currently a way to achieve this using the Test Studio execution extension - you have to build the extension and put it in [Test Studio installation folder]\bin\plugins and this will do the job. Here is a post how to make it http://www.telerik.com/forums/automatic-re-run-of-failed-tests-from-a-test-list-execution. Hope this helps.