cucumber-serenity

Rerunning the failed scenario using Maven/Cucumber/Serenity

≡放荡痞女 提交于 2019-12-09 19:46:53
问题 Has anyone used maven surefire plug-in or any other mechanism for rerunning failed scenario. I am using Cucumber with Serenity and Maven. I tried below different ways in order to rerun failed scenario without any manual intervention For example: If out of 5 test cases 2 test cases are getting error out then automatically my script should execute these 2 failed scenario before generating final serenity report 1. Maven surefire I have added below lines in pom.xml file <properties> <failsafe