【问题标题】:Generate JUnit Test report生成 JUnit 测试报告
【发布时间】:2014-09-26 13:18:30
【问题描述】:

是否可以在eclipse(kepler)中以html格式的JUnit Test报告数据,其中显示了许多测试用例以及通过了多少,测试用例的意图是什么等。

【问题讨论】:

    标签: eclipse junit


    【解决方案1】:

    是的,它可以使用 Ant eclipse 构建文件来完成阅读更多 here 由 eclipse 它自己生成的 Ant 构建文件。

    更多参考资料:

    1)http://www.java2s.com/Code/Java/Ant/Junitreport.htm

    2)http://earlwillis.wordpress.com/2012/01/31/getting-started-with-junit-reports/

    3)http://ant.apache.org/manual/Tasks/junitreport.html

    希望有帮助

    【讨论】:

    • [junitreport]:错误!非静态 Java 函数“replace”的第一个参数不是有效的对象引用。 [junitreport]:错误!无法编译样式表 [junitreport]:致命错误!无法将数据类型“void”转换为“reference”。原因:无法将数据类型“void”转换为“reference”。 [junitreport] 无法处理 C:\Users\gur35807\Desktop\WorkspaceM2MNew\M2MServiceCapabilityLayer\M2MTransport\M2MTransportContentBinding\M2MTransportContentBindingImplBundle\junit\TESTS-TestSuites.xml
    猜你喜欢
    • 1970-01-01
    • 2017-05-19
    • 1970-01-01
    • 1970-01-01
    • 2023-03-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多