Skip to content
This repository has been archived by the owner on Mar 18, 2019. It is now read-only.

How to use before and after class with cucumber-jvm-parallel pluging #64

Closed
rahullodha85 opened this issue Sep 7, 2016 · 2 comments
Closed

Comments

@rahullodha85
Copy link

I want to use before and after class annotations of junit to execute clean-up actions such as close browser after test. However, the parallel class created by this plugin does not create before and after class in cucumberrunnertest file. I am able to execute clean-up as another cucumber step at the end of my tests but it will be skipped in case of a test failure. So is there a way I can always execute test clean-up regardless of test pass or failure with this plugin?

@sugatmankar
Copy link
Contributor

Hello @rahullodha85,
Please go through #53.

Template used in "Tagwise parallel rerun" has before class after class implementation, copy repo in your local and modify it as per your requirement.

@temyers
Copy link
Owner

temyers commented Nov 18, 2016

Duplicate of issue #61

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

No branches or pull requests

3 participants