如何使用 emma 或类似工具获得系统测试的覆盖率结果!

发布于 2024-09-04 17:24:55 字数 64 浏览 1 评论 0原文

对于涉及部署在单个应用程序服务器中的两个或多个 Web 应用程序的系统,是否有任何方法可以获得系统测试覆盖率结果?

Is there any way to get system tests coverage results for a system involving two or more web applications deployed in single app server?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

痴情 2024-09-11 17:24:55

我对 cobertura 和 jboss 做了类似的事情。您应该只“检测”所有必要的类,之后部署多少个模块都无关紧要。数据文件将位于服务器周围的某个位置,可能位于“bin”目录中。

编辑
这里有关于网络应用程序的部分。不过,我无法帮你解决艾玛的问题。
http://cobertura.sourceforge.net/faq.html

I did similar thing with cobertura and jboss. You should just 'instrument' all necessary classes, after that it doesn't matter how many modules you have deployed. Datafile will be somewhere around the server, perhaps in the 'bin' directory.

edit
Here they have section about web applications. Can't help you with emma, though.
http://cobertura.sourceforge.net/faq.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文