Cobertura makes my unit test fail. How to solve it?
I have a java class in a java project. I wrote 3 test cases for it with junit. The test cases are successful if I run them in E开发者_C百科clipse or mvn test in cmd. But every time I run them with mvn cobertura:cobertura, they all fail. However every other test case in the same project will pass.
Any suggestions? Or has someone seen this before?
Thanks in advance. :)
精彩评论