I am getting the Initialization Error, while Running the RunnerClass. Please help

  • 1 Answer(s)

    package runner;package runner;
    import org.junit.runner.RunWith;
    import cucumber.api.CucumberOptions;

    import cucumber.api.junit.Cucumber;
    @RunWith(Cucumber.class)

    @CucumberOptions( plugin = { “json:target/Ok.json” },

    features = “classpath:features/Ok.feature”,

    glue = {“features”}

    )

    public class TestRunner {
    }

    you should try this.

    Default Answered on January 12, 2018.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.