Test
  • Introduction
  • Regression Testing
  • Unit Test
  • reflection
  • terminology
  • Defect Life Cycle
  • NullVSNotNull
  • @Before VS @BeforeEach VS...
  • JUnit Runner
  • run only functional test or integration test
  • cucumber/tags
  • cucumber/ options
  • cucumber/runwith
  • parallel cucumber test
  • cucumber/some eg
  • Hamcrest for testing
  • continuous integration
  • work flow for functional test
  • unit test for server side
  • other
  • Mock
  • jacoco&mutation
  • PowerMockito
  • performance test
Powered by GitBook
On this page

Was this helpful?

cucumber/ options

Previouscucumber/tagsNextcucumber/runwith

Last updated 5 years ago

Was this helpful?

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

@RunWith(Cucumber.class)
@CucumberOptions(
        features = "Feature"
        ,glue={"stepDefinition"}
        ,dryRun = true
        )

public class TestRunner {

}

http://toolsqa.com/cucumber/cucumber-tags/
http://toolsqa.com/cucumber/cucumber-hooks/
http://toolsqa.com/cucumber/cucumber-options/
http://toolsqa.com/cucumber/junit-test-runner-class/