quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.79k stars 2.68k forks source link

Document How to Create Code Coverage Reports for Custom Extensions #19065

Open lannuttia opened 3 years ago

lannuttia commented 3 years ago

There are explanations of how to create code coverage reports for applications. However, I haven't been able to find any documentation on how to configure code coverage reports for custom extensions. It doesn't appear to be as simple as adding the quarkus-jacoco extension.

It would be nice if we could get some documentation on how to set up code coverage reporting for custom extensions in one of the guides related to creating custom Quarkus extensions.

softmetz commented 2 years ago

I created a custom extension and added the test to the deployment project. I only get coverage for the processor but not classes in the runtime module. Is that even possible to achieve?

quarkus-bot[bot] commented 2 years ago

/cc @MichalMaler, @ebullient, @hmanwani-rh, @inoxx03, @michelle-purcell, @sheilamjones, @sunayna15