Cucumber Tutorial (BDD Framework)

  • Install Cucumber
  • Download Cucumber
  • Cucumber Plugin for eclipse
  • Running Cucumber
  • All you need is a single empty class with an annotation:
    package mypackage;
    
    import cucumber.api.junit.Cucumber;
    import org.junit.runner.RunWith;
    
    @RunWith(Cucumber.class)
    @CucumberOptions(features="pathOfFeatureFile", glue= {"packageOfStepExecutor"}, plugin = {"pretty", 
    "html:target/cucumber"})
    public class RunCukesTest { }

No comments:

Post a Comment