首页 新闻 会员 周边 捐助

测试emma覆盖率无法生成覆盖率文件是怎么回事?

0
[待解决问题]

[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [emma:instrument {execution: default-instrument}]
[INFO] Instrumenting classes with EMMA
processing instrumentation path ...
instrumentation path processed in 8328 ms
[692 class(es) instrumented, 290 resource(s) copied]
metadata merged into [D:\eclipse\workspace\gp\target\coverage.em] {in 93 ms

[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1419 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [emma:emma {execution: default-cli}]
processing input files ...
1 file(s) read and merged in 430 ms
nothing to do: no runtime coverage data found in any of the data files
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13 seconds
[INFO] Finished at: Thu Aug 07 15:30:37 CST 2014
[INFO] Final Memory: 31M/89M
[INFO] ------------------------------------------------------------------------
D:\eclipse\workspace\gp>

我不爱吃鱼丸的主页 我不爱吃鱼丸 | 初学一级 | 园豆:133
提问于:2014-08-07 15:38
< >
分享
所有回答(1)
0

no runtime coverage data found in any of the data files

ζ  简单ヾ° | 园豆:93 (初学一级) | 2014-08-07 17:36

对啊但是为什么啊 

支持(0) 反对(0) 我不爱吃鱼丸 | 园豆:133 (初学一级) | 2014-08-07 19:20

@我不爱吃鱼丸: 看下<fileset dir="xxx">中,路径有没有指明清楚

支持(0) 反对(0) ζ  简单ヾ° | 园豆:93 (初学一级) | 2014-08-07 19:44

@ζ  简单ヾ°: 配置文件没有问题啊

支持(0) 反对(0) 我不爱吃鱼丸 | 园豆:133 (初学一级) | 2014-08-08 09:06

@ζ  简单ヾ°: 网上的资料我都看了 你说的那个东西是那个配置文件中的啊

支持(0) 反对(0) 我不爱吃鱼丸 | 园豆:133 (初学一级) | 2014-08-08 09:10
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册