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

How to run @BeforeAll(Cucumber7) using our current serenity version #2611

Closed
sandlok opened this issue Nov 24, 2021 · 3 comments
Closed

How to run @BeforeAll(Cucumber7) using our current serenity version #2611

sandlok opened this issue Nov 24, 2021 · 3 comments

Comments

@sandlok
Copy link

sandlok commented Nov 24, 2021

Hi Team,
Cucumber 7 has introduced @BeforeAll and @afterall annotations. However when running the individual feature file its working with current v2.5.8 version serenity. However when executing through cucumberserenity runner class its not working. Can some please advise me on this.

@wakaleo
Copy link
Member

wakaleo commented Nov 24, 2021

Serenity only supports Cucumber 6 at the moment. The quickest solution is to update the code to support Cucumber 7 and propose a pull request.

@wakaleo
Copy link
Member

wakaleo commented Dec 26, 2021

Cucumber 7 works with Serenity 3.1.15

@wakaleo wakaleo closed this as completed Dec 26, 2021
@sandlok
Copy link
Author

sandlok commented Dec 26, 2021

Thanks Wakaleo

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