emma 应用


1. emma.jar 放到 “ java_home/jre/lib/ext” 下面
2Build包不起服务
3. JAR 包插装命令
java emma instr -m overwrite -ip /home/jiangyr/pc2test/stanley-1.0.0-t/pc2.server/pc2.server.deploy/pc2.server.web.jar -Dmetadata.out.file=/home/jiangyr/test.em
4.起服务,跑单元测试
5. 从远程机器上收集覆盖率信息
java emma ctl -command coverage.get,/home/jiangyr/test.ec
6. 生成覆盖率报告
 java emma report -r html -in test.em,test.ec -Dreport.html.out.file=/home/jiangyr/test.html
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章