`
aaron_ch
  • 浏览: 179652 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论

Generate the JUNIT report by Ant and Junit

    博客分类:
  • TDD
阅读更多

Prerequisite:   JUNIT4.0 , Ant 1.6.5
Due to accessing DB, also need classes12.jar

Throw the junit.jar into the ant/lib, and configure the ANT_HOME in ENV,  asscociate with the %ANT_HOME%\bin in PATH.

the tree of file as below list:

  .
   build.xml
   build.properties
   src(all source files)
   lib( not put classes12.jar in the dir,so you need add it)
   unit(java file in src reference class file from unit)

分享到:
评论

相关推荐

    junit ant集成生成html,xml,文本结果

    集成Junit和Ant,我们需要在Ant构建脚本中添加一个`junit`任务。以下是一个简单的示例: ```xml <project name="Junit-Ant-Integration" basedir="." default="test"> ${build.dir}/classes"/> ${build.dir...

    eclipse中ant的配置与测试

    ### Eclipse中Ant的配置与测试 #### 一、Ant简介 Ant是一款强大的自动化构建工具,主要应用于Java项目中。...此外,Ant还可以与其他工具(如JUnit、FindBugs等)结合使用,进一步提高软件开发的质量和效率。

    Eclipse中Ant的配置与测试 build.xml

    ### Eclipse中Ant的配置与测试详解 #### 一、引言 随着软件开发项目的日益复杂化,自动化构建工具成为提高开发效率的关键因素之一。Apache Ant作为一款强大的Java平台下的自动化构建工具,它能够帮助开发者自动完成...

    Maven2 的新特性.7z

    尤其是Report部分的plugin,有的是因为目前还没有,如junit-report。有的则是一些莫名其妙的问题,如checktyle和pmd,在本地locale下都无法正常工作。以pmd举例,在产生PMD报告时会抛出如下异常: java.util....

Global site tag (gtag.js) - Google Analytics