Skip to content

Instantly share code, notes, and snippets.

@sahajamit
Created February 23, 2016 08:44
Show Gist options
  • Save sahajamit/b1e2a63e1bd8286b431f to your computer and use it in GitHub Desktop.
Save sahajamit/b1e2a63e1bd8286b431f to your computer and use it in GitHub Desktop.
RunCukesByCompositionGrp1_Test2
@CucumberOptions(features = "src/test/resources/com.cucumber.testng.examples/date_calculator1.feature",
plugin = "json:target/cucumber2.json")
public class RunCukesByCompositionGrp1_Test2 {
@Test(groups = "examples-testng", description = "Example of using TestNGCucumberRunner to invoke Cucumber")
public void runCukes() {
new TestNGCucumberRunner(getClass()).runCukes();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment