摘要: 1. 没有生成coverage.emma?这个原因主要是因为在运行代码的时候,没有使用emma instr生成的class来运行,而只是使用javac编译的class来运行。正确的做法是先使用instr注入要运行的class,然后把这个class放到运行代码的class path中,如junit2. no sources will be embedded in the report这个问题曾经困扰了比较长的时间,就是生成的coverage上不能链接到对应的java源文件,后来在emma官方网站找到如下解释:3.8. Why does report/report generate wei 阅读全文
posted @ 2010-12-06 16:49 lettoo 阅读(587) 评论(0) 推荐(0) 编辑