cobertura report

≡放荡痞女 提交于 2019-12-13 06:54:45

问题


I am making a jar file of project1 and placing the jar file in project2.
For project2 I'm able to create the coberatura report.

My question is how do I get the cobertura report for project1(in jar format) which is in project2?


回答1:


I got solution.

  1. instrumented the class of project1
  2. build the jar
  3. place the jar in project2.
  4. .ser file created placed in tomcat home path.

I deployed project2 in tomcat and ran the application.

After stopping tomcat the .ser file was overwritten. Now generate the report.



来源:https://stackoverflow.com/questions/9117739/cobertura-report

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!