« Return to Thread: skipping clover provides no test results

Re: skipping clover provides no test results

by Freddy Mallet :: Rate this Message:

Reply to Author | View in Thread

Hello,

We've never tested this configuration but if Clover is not executed, unit tests can't be executed. Could you explain why you want to deactivate Clover ?

If you really want to adopt such configuration, you need to use advanced parameters [1] and the following command line : 

mvn sonar:sonar -Dsonar.dynamicAnalysis=reuseReports -Dsonar.surefire.reportsPath=${yourSurfireDir}

Hope it helps
Freddy

[1] - http://docs.codehaus.org/display/SONAR/Advanced+parameters


On Mon, Jun 22, 2009 at 7:42 PM, dr3s <amarch@...> wrote:

This is what we run: clean sonar:sonar -Dmaven.clover.skip=true
-Dmaven.test.failure.ignore=true

It skips clover and runs the tests.  I confirmed the test results are there.
However, Sonar shows no tests.  I expected code coverage would be blank but
the test info would be there.

Any ideas?

--
View this message in context: http://www.nabble.com/skipping-clover-provides-no-test-results-tp24152107p24152107.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



 « Return to Thread: skipping clover provides no test results