我正在嘗試使用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