我正在尝试使用Cobertura应用代码覆盖。该应用程序是在Tomcat 5中部署的 ,但是当我测试.class文件时, 应用程序停止工作。Tomcat上的Cobertura
这是我的步骤:
- 编译应用程序(此运行在Tomcat中)
仪器类文件。
D:\test\cobertura-1.9.4.1\cobertura-instrument.bat --destination D:\test\instrument D:\src\path_to_app\main\target\webapp
覆盖的
D:\src\path_to_app\main\target\webapp
类文件与仪表类文件D:\test\instrument
。- 通过Catalina conf或war文件在Tomcat中部署应用程序。 (该 应用程序无法正常工作)
是否有人有正确Tomcat中 与仪表的Cobertura类部署应用程序的正确步骤是什么?
参考:http://cobertura.sourceforge.net/faq.html
我使用的Cobertura-1.9.4.1
人们很难理解这种伟大的答案。谢谢你,兄弟。 +100500加入你的carma。 – 2015-04-09 18:10:33