相关疑难解决方法(0)

与maven一起运行junits和cobertura

在我们的项目中,我们使用maven运行junits和cobertura.我面临的问题是,

  1. junit测试用例运行两次,一次在jar创建过程之前,然后再次用于生成cobertura覆盖报告.当用蚂蚁运行cobertura和junits时,我们只运行一次junits,因为cobertura与junits一起运行.有没有办法用maven配置上述情况.我知道我们可以使用"maven.test.skip"属性跳过junits.但是当我这样做时,我无法看到junit xml和html文件报告.
  2. 另外,在maven中如何配置junits以批处理或并行方式运行?

谢谢!

ant junit maven-2 cobertura

23
推荐指数
1
解决办法
9753
查看次数

标签 统计

ant ×1

cobertura ×1

junit ×1

maven-2 ×1