Replies: 1 comment 2 replies
-
@HerrDerb did you manage to fix the problem? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a quarkus extension that has a
runtime
and adeplyoment
module. The runtime module contains regular jUnit tests and the deployment module contains@QuarkusUnitTest
s.When applying the
io.quarkus:quarkus-jacoco
gradle plugin to the project I do get an aggregated coverage of the runtime and the deployment module.When inspecting the coverage created for the deployment module, I figured that the measured coverage is not what I would have expected. The build processors [deplyoment module] get a full coverage, also the pojos. But all beans do not get a coverage at all, although I do inject them into the test and call methods on them.
Is this somehow of a classpath problem as
@QuarkusUnitTest
for the deployment module are kind of different?Is a special configuration required to get a correct coverage for deployment module tests or is there a technical issue that prevents this at all?
My configuration (root build.gradle) looks like this:
Beta Was this translation helpful? Give feedback.
All reactions