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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章