空白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來爲此添加代碼。