Hi Andreas,

On Friday, December 14, 2018 at 11:38:35 AM UTC+1, Andreas Sewe wrote:
>
> Hi all, 
>
> is it possible at the moment to include the test sources/classes in the 
> reported generated by jacoco-maven-plugin:report? 
>

No, it is not possible with jacoco-maven-plugin:report
 

> AFAICT from the jacoco.exec, the test classes have probes inserted in 
> them, but the generated reports only show code from src/main/java (and 
> other registered source directories), but not from src/test/java. 
>
> Is there some way to include them in the report? (Use case: Spotting 
> tests that are not executed, e.g., due to a missing @Test annotation or 
> not matching Maven's **Test.java naming convention.) 
>

To achieve this you can use JaCoCo Ant Task report 
( https://www.jacoco.org/jacoco/trunk/doc/ant.html ) via maven-antrun-plugin
 

>
> Best wishes, 
>
> Andreas 
>
> -- 
> Dr. Andreas Sewe | s...@cqse.eu | +49 152 56342856 
> CQSE GmbH | Lichtenbergstrasse 8 | 85748 Garching | www.cqse.eu 
> Amtsgericht Muenchen | HRB 177678 | GF: F. Deissenboeck, M. Feilkas 
>

-- 
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 jacoco+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/08f6960a-3072-4bca-956e-f7609f3d6b5c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to