Hello,

a bit off-topic, please hop to the sonarqube forum for further details.

Basically you have to create the coverage beforehand by running e.g. “mvn
Test” after configuring the jacoco-maven-plugin in your project.

mvn sonar:sonar will then pick up the coverage data and show you detailed
reports. How to create separate reports for integration tests is better
asked in the sonarqube forum.

Regards
Mirko

<[email protected]> schrieb am Fr. 24. Aug. 2018 um 02:28:

> Hi
>
>       Thanks for your answer.
>       I have googled the sonarqube and find it is a code analysis tool.It
> also can do code coverage anlysis.Do you know the principle ? I mean does
> sonarqube use jacoco to get the full code coverage and do some analysis to
> get the code coverage on new line? Or it does this all by itself?
>        Besides , I want get integration test report,not the unit test
> (which the test code and the tested code are in the same project) report, I
> have created a integration test project which is separated from the tested
> project. Does sonarqube support this scenario?
>
> Best regards
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "JaCoCo and EclEmma Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jacoco/25f3f405-23dc-42e1-adba-818aa32aafea%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Regards Mirko
--
http://illegalstateexception.blogspot.com/
https://github.com/mfriedenhagen/
https://bitbucket.org/mfriedenhagen/

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/CAK8jvqwc4D5Yn%2BVE4sDDVLJFSVdiGUWOxhw4OEhiO2iX8hhvpg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to