为什么JUnit的抱怨缺少的XSL文件? [英] Why does junit complain about missing xsl files ?
问题描述
即时得到我的Ant构建一个投诉是指缺少junit的文件:
Im getting a complaint in my Ant build which refers to a missing junit file :
/reports/style/junit-frames.xsl
/reports/style/junit-frames.xsl
此错误穆斯特后我加入了标签我的Ant任务,作为一种方法用于打印单元测试失败了。
This error creeped up after I added the tag to my ant tasks, as a method for printing the failures of unit tests out .
推荐答案
的JUnit框架预计XSL样式表正确格式化报告。这些是的JUnit frames.xsl
和的JUnit noframes.xsl
。你需要创建这些文件,或从某处复制它们。我猜你定义它不存在或东西styledir?
JUnit frames expects XSL stylesheets to format the reports correctly. These are junit-frames.xsl
and junit-noframes.xsl
. You'll need to create these files, or copy them from somewhere. I guess you've defined a styledir which doesn't exist or something?
请参阅 JUnitReport任务,参数部分。
有在示例文件<蚂蚁安装目录方式>的/ etc
这篇关于为什么JUnit的抱怨缺少的XSL文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!