rerunner-jupiter icon indicating copy to clipboard operation
rerunner-jupiter copied to clipboard

Unable to instantiate driver for failed test Serenity and Junit 5

Open bachhavdipak opened this issue 2 years ago • 0 comments

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?

bachhavdipak avatar Apr 18 '22 18:04 bachhavdipak