rerunner-jupiter
rerunner-jupiter copied to clipboard
Unable to instantiate driver for failed test Serenity and Junit 5
I am using serenity with junit5 and Gradle. I am trying to run the failed scenario using the below dependency.
testImplementation group: 'io.github.artsok', name: 'rerunner-jupiter', version: '2.1.6'
But failed to instantiate driver when the test failed in the first attempt.
@RepeatedIfExceptionsTest(repeats = 2, exceptions = Exception.class, name = "Rerun failed test. Attempt {currentRepetition} of {totalRepetitions}", suspend = 15000L).
Is there any way to execute serenity failed cases using junit5?