Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to instantiate driver for failed test Serenity and Junit 5 #2784

Open
bachhavdipak opened this issue Apr 18, 2022 · 1 comment
Open

Comments

@bachhavdipak
Copy link
Contributor

bachhavdipak commented Apr 18, 2022

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?

@wakaleo
Copy link
Member

wakaleo commented Apr 18, 2022

I don't think that is currently supported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants