Created
April 12, 2021 13:15
-
-
Save akashdktyagi/13cf30493f5c81c126a1c3d39df79ffd to your computer and use it in GitHub Desktop.
Test Runner for Cucumber Automation
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 runner; | |
import org.junit.runner.RunWith; | |
import cucumber.api.CucumberOptions; | |
import cucumber.api.junit.Cucumber; | |
@RunWith(Cucumber.class) | |
@CucumberOptions | |
( features="classpath:features", | |
glue="", | |
tags="", | |
plugin = {"pretty", | |
"html:target/html/", | |
"json:target/json/file.json", | |
"com.aventstack.extentreports.cucumber.adapter.ExtentCucumberAdapter:"}, | |
dryRun=false | |
) | |
public class RunTest { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment