Rerun after scenario failed

55 views
Skip to first unread message

sai krishna

unread,
Feb 20, 2015, 6:49:06 AM2/20/15
to cu...@googlegroups.com
Hi All,

I currently use @rerun.txt to run the failed cases, but this runs at the end of the suite. Is it possible for me to run the failed scenario immediately before going to the next scenario?

Can someone help me on this ?

Regards,
Sai

Paolo Ambrosio

unread,
Feb 20, 2015, 2:22:54 PM2/20/15
to cu...@googlegroups.com


On 20 Feb 2015 11:49, "sai krishna" <saikris...@gmail.com> wrote:
>
> Hi All,
>
> I currently use @rerun.txt to run the failed cases, but this runs at the end of the suite. Is it possible for me to run the failed scenario immediately before going to the next scenario?

Why do you want to do it? If they fail without a reason you should fix the cause, not rerun them and hope they work!

Paolo

> Can someone help me on this ?
>
> Regards,
> Sai
>

> --
> Posting rules: http://cukes.info/posting-rules.html
> ---
> You received this message because you are subscribed to the Google Groups "Cukes" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to cukes+un...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

sai krishna

unread,
Feb 23, 2015, 5:24:40 AM2/23/15
to cu...@googlegroups.com
The fail could be of Bad network, or my server timeout or anything as such. As i run ma tests on mobile. The next i run it passes.

thats the reason i need to run after the failure scenario it self.. 

Paolo Ambrosio

unread,
Feb 23, 2015, 8:09:02 AM2/23/15
to cu...@googlegroups.com
On Mon, Feb 23, 2015 at 10:24 AM, sai krishna <saikris...@gmail.com> wrote:
The fail could be of Bad network, or my server timeout or anything as such. As i run ma tests on mobile. The next i run it passes.

thats the reason i need to run after the failure scenario it self.. 


Actually that's the reason why you should fix the underlying issue and not re-run scenarios.
 
Paolo


On Friday, February 20, 2015 at 5:19:06 PM UTC+5:30, sai krishna wrote:
Hi All,

I currently use @rerun.txt to run the failed cases, but this runs at the end of the suite. Is it possible for me to run the failed scenario immediately before going to the next scenario?

Can someone help me on this ?

Regards,
Sai

--
Reply all
Reply to author
Forward
0 new messages