argouml-tigris-org / argouml

Main project of argouml. Some information in the wiki. Some old releases in releases. (depends on parentpom, testmodels)
250 stars 93 forks source link

Tests are failing when running with coverage #2

Closed linustolke closed 4 years ago

linustolke commented 4 years ago

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.

alepekhin commented 4 years ago

Works for me with maven 3.6 and Java 8 Nevertheless I have added popular jacoco plugin, so we don't need cobertura anymore.

linustolke commented 4 years ago

This is now resolved with the settings for the jacoco plugin you provided.