Hire QA – Specialized in QA Recruitment, Technical Interviews and Testing Solutions

Sample Test Runner file

Category: BDD Cucumber
package cucumberTest;

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

@RunWith(Cucumber.class)
@CucumberOptions(
                features = ""Feature""
                ,glue={""stepDefinition""}
                ,dryRun=true
                ,monochrome = false
                ,format = {""pretty"", ""html:target/Destination""} )
                )

public class TestRunner {

}

Leave a Reply

Your email address will not be published. Required fields are marked *