cucumber re-run failed scenarios automatically with a tag?

后端 未结 2 586
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-13 17:20

In our build there are certain scenarios that fail for reasons which are out of our control or take too long to debug properly. Things such asynchronous javascript etc.

2条回答
  •  野性不改
    2021-02-13 17:56

    More recent versions of Cucumber have a retry flag

    cucumber --retry 2
    

    Will retry tests two times if it fails

提交回复
热议问题