Skip to content

Instantly share code, notes, and snippets.

@rahulrathore44
Created January 16, 2021 04:27
Show Gist options
  • Save rahulrathore44/3d5263672669cc5e3ca69994a8642223 to your computer and use it in GitHub Desktop.
Save rahulrathore44/3d5263672669cc5e3ca69994a8642223 to your computer and use it in GitHub Desktop.
Cucumber runner with multiple feature file
@CucumberOptions(
features = {"src/main/java/com/webdriver/page/BugCreation.feature",
"src/main/java/com/webdriver/page/ShoppingCart.feature",
"src/main/java/com/webdriver/page/Payment.feature"
},
glue = {"com.webdriver.page","com.webdriver.generichook"},
dryRun = false,
monochrome = true,
plugin = {"pretty","json:target/bugcreationrunner.json"}
)
public class BugCreationRunner extends AbstractTestNGCucumberTests {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment