Created
June 17, 2019 01:25
-
-
Save bcarun/de7f7b643190da0af89ff3137de131ae to your computer and use it in GitHub Desktop.
To run cucumber test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.arun.cucumber.hello.bdd; | |
import cucumber.api.CucumberOptions; | |
import cucumber.api.junit.Cucumber; | |
import org.junit.runner.RunWith; | |
/** | |
* To run cucumber test. | |
*/ | |
@RunWith(Cucumber.class) | |
@CucumberOptions(features = "classpath:features", plugin = {"pretty", "json:target/cucumber-report.json"}) | |
public class CucumberTest { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment