Replies: 3 comments 5 replies
-
Beta Was this translation helpful? Give feedback.
-
We have JaCoCo integration combined with unit tests in the Quarkus Superheroes sample application. Take a look at https://github.com/quarkusio/quarkus-super-heroes/blob/main/rest-villains/pom.xml. We also use |
Beta Was this translation helpful? Give feedback.
-
@edeandrea , do you have a gradle example for code coverage? The documentation for gradle on this is missing: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm looking to add JaCoCo to my integration tests, but Quarkus is failing to create/initialize a Redis service.
Error:
"this.keyCommands" is null
I'm basically following the guides as close as I can to get this working. Here is the Redis service I'm using:
Maven configuration:
The JaCoCo IT docs state:
and
The build process is in two parts:
First, build and skip ITs (works).
-DskipITs
-Dquarkus.package.write-transformed-bytecode-to-build-output=true
Second, run integration tests:
Here is the output log:
I'm pretty sure I'm meeting all of the requirements.
quarkus.package.write-transformed-bytecode-to-build-output=true
As a side note, running the Tests and ITs against a native binary works fine when not trying to add JaCoCo support to ITs:
Beta Was this translation helpful? Give feedback.
All reactions