我希望通过JUnit-Runner生成http://etorreborre.github.io/specs2/guide/org.specs2.guide.Runners.html中所述的HTML输出
文档声明“您可以使用-Dspecs2.commandline属性并将html或控制台值传递给它。”
如何在gradle任务中做到这一点。
是的,我知道gradle可以生成超文本标记语言测试报告,但我需要specs2可以生成的报告。
还有一个问题仍然存在。I don#t获取左侧的导航菜单。每个页面都有单独的菜单和结果
发布于 2013-10-16 21:13:33
只需使用systemProperty使-D变白即可
test {
systemProperty "specs2.commandline" , "html"
systemProperty "specs2.outDir" , "$buildDir/reports/specs2" // to put the reports in the same dir as other gradle reports
}https://stackoverflow.com/questions/19404110
复制相似问题