[plugin are showing attribute undefined][1] Hence trying to add couple of decencies and still showing the same result. Please help. I am actually trying to Generate Cucumber Report.
Please advise any alternatives.
import cucumber.api.CucumberOptions;
import cucumber.api.junit.Cucumber;
import com.cucumber.listener.Reporter;
//this is a cucumber annotation dictating the cucumber runner
@RunWith(Cucumber.class)
//this is how we want the results formatted. The only customizable line, different formats can
be added or removed. I�ve included the most common ones for convenience
@CucumberOptions(
features = "classpath:features" ,
glue = {"test"},
plugin = {"html:target/cumber-html-report"},
format={
"pretty", "html:target/results",
"html:target/cucumber-reports/cucumber-pretty",
"json:target/cucumber.json",
"rerun:target/cucumber-reports/rerun.txt"
}
, tags = {
// Write your desire Test Case Annotation Name to Execute the Test.
//"@Broker_Create_Account_End_To_End"
//"@Broker_Portal_End_To_End_Testing"
"@TestCaseB"
//"@Individual_Configure_Account"
}
, dryRun = false
, monochrome = true
)
//this is an empty class to run with. This needs to remain empty
public class RunCucmberTest {
@AfterClass
public static void shutdownDriver(){
if(GlobalEng.webDriver !=null){
GlobalEng.webDriver.quit();
GlobalEng.webDriver = null;
}
}
public void setup() {
}
}