Cucumber - @Cucumber.Options(format={"html:output"}) | Selenium Forum
M
Posted on 26/02/2016
In Cucumber runner.class, when I add @Cucumber.Options(format={"html:output"}) it is showing error, after research found that @Cucumber.Options is changed to @Cucumberoptions, but I couldn't find the correct html output formatter.

could you pelase guide on this.

M
Replied on 28/02/2016

try this


format = {"pretty", "html:target/cucumber-html-report"}


M
Replied on 29/02/2016

Hi Laxmi,

Now @Cucumber.Options is changed to @Cucumberoptions and also Format keyword is not discontinued instead of Format you can use Plugin keyword:

@CucumberOptions(Plugin={"html:target/cucumber-html-report"})


M
Replied on 29/02/2016

thanks Mohit, its working