I have fixed the tests so that mvn test now shows no failing tests.
However, mvn cobertura:cobertura, running the same tests, fails for some of them. This means that the coverage result reported is not the actual coverage result from running the tests.
To solve this I guess knowledge of how the cobertura plugin and mvn configuration works.
I have fixed the tests so that
mvn test
now shows no failing tests.However,
mvn cobertura:cobertura
, running the same tests, fails for some of them. This means that the coverage result reported is not the actual coverage result from running the tests.To solve this I guess knowledge of how the cobertura plugin and mvn configuration works.