retry for Maven/Cucumber/Serenity-Screenplay

时间:2019-04-16 22:50:13

标签: cucumber-serenity

I have the following technology stack

  • Maven
  • Cucumber
  • Serenity-Screenplay

I currently use the runner

@RunWith(CucumberWithSerenity.class)

and the newer version of serenity disabled the retry feature however i need it.

I did research and cucumber retry was one option and the other is using the surefire failsafe plugin. However, I found that none of those work since one the project is cucumber(failsafe plugin) and 2 im running cucumberwithserenity.class.

Can someone direct me to the correct way of implementing this? I know the solution is to not do the retry at all, but this is not a choice i have.

This is the framework i am using https://github.com/serenity-bdd/serenity-cucumber-starter

0 个答案:

没有答案