This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.
1 / 6
Dec 2018

Hello ,

I’m using cucumber-jvm , and trying to implement global @after method which should be executed only once after all scenario’s execution was completed.
The @After method should quit the appium driver.

Currently @After hook being executed after each running scenario , and it means that the driver should be created each time from scratch , but I do want to reuse it.

Any help will be much appreciated

  • created

    Dec '18
  • last reply

    Jan '19
  • 5

    replies

  • 411

    views

  • 3

    users

  • 2

    links

How it will solve the teardown problem?
I want to have teardown only once after last scenario

no teardown then. But you will have to set up driver only once before run. Can you show what you already have?