空白XML JUnit的报告时,使用下面的代码IM:空白XML正在产生与使用Cucumber.Options正在生成
import cucumber.api.CucumberOptions;
import cucumber.api.junit.Cucumber;
import org.junit.runner.RunWith;
@RunWith(Cucumber.class)
@CucumberOptions(plugin = "junit:target/cucumber-report.xml")
public class RunCukesTest {
}
我用黄瓜版本1.2.4。代码中是否存在一些错误,或者存在某些版本问题。因为它与1.2.5一起工作,但只要与常春藤结合,它就停止生成。是否有任何其他的jar来为此添加代码。