科贝图拉报告 [英] cobertura report

查看:74
本文介绍了科贝图拉报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在制作一个project1的jar文件,并将该jar文件放在project2中。

对于project2,我可以创建coberatura报告。

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.

我的问题是如何获取project2中的project1(以jar格式)的cobertura报告?

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

推荐答案

我知道了。


  1. 插入了project1的类

  2. 构建罐子

  3. 将罐子放在project2中。

  4. .ser 文件放置在tomcat主目录中。

  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.

我在tomcat中部署了project2并运行了该应用程序。

I deployed project2 in tomcat and ran the application.

停止tomcat之后,.ser文件被覆盖。
现在生成报告。

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

这篇关于科贝图拉报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆