尝试运行带有向JSON文件报告的黄瓜方案,但由于某种原因,“格式”无法正常工作。它指出“无法解析方法”格式。我正在学习一个教程,但不明白为什么它不起作用。任何帮助将不胜感激,谢谢
使用selenium / java / intelliJ / testNG
答案 0 :(得分:4)
@RunWith(Cucumber.class)
@CucumberOptions(features = "classpath:features/functional/",
glue = {"com.jacksparrow.automation.steps_definitions.functional" },
plugin = { "pretty","json:target/cucumber-json/cucumber.json",
"junit:target/cucumber-reports/Cucumber.xml", "html:target/cucumber-reports"},
tags = { "@BAMS_Submitted_State_Guest_User" },
strict = false,
dryRun = false,
monochrome = true)