I can call mvn cobertura:cobertura on the tool, run unit tests (using surefire ) and generate reports.
I can call mvn verify to run unit tests and integration tests (using the failsafe Maven plugin).
But how can I call Maven a tool, do unit tests and integration tests, and also create reports? The answer to Performing integration tests with the Cobertura Maven plugin did not help me, nor would I like to call verify with every Cobertura launch, but only for nightly coverage.
source share