Ok, I now better understand the issue even if I need to do further investigations in order to explain it :
- The Maven property "maven.clover.skip=true" doesn't really skip the Maven Clover execution, it just says to Clover : "doesn't instrument bytecode"
- The Clover Sonar plugin changes the Surfire report directory to target/clover/surfire-reports and try to collect reports from there
- But the Surfire Maven plugin generates its reports in the default directory target/surfire-reports instead of using target/clover/surfire-reports
It's why you don't get any measures on Unit Tests in the project Dashboard.
Regards,
Freddy
On Fri, Jul 10, 2009 at 7:36 PM, dr3s
<amarch@...> wrote:
Just to reiterate, mvn clean test sonar:sonar -Dmaven.clover.skip=true
-Dmaven.test.failure.ignore=true also doesn't show tests in sonar.
Bamboo isn't running anything but mvn clean sonar:sonar
-Dmaven.clover.skip=true -Dmaven.test.failure.ignore=true right now and I
have attached the log showing tests are run.
--
View this message in context: http://www.nabble.com/skipping-clover-provides-no-test-results-tp24152107p24431780.html
Sent from the Sonar user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email