1,931 questions
Advice
0
votes
0
replies
29
views
Jacoco Configuration in java Project- Parent pom.xml configuration to include aggregated code coverage of all the modules
root pom.xml file
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.11</version>
<...
Advice
2
votes
4
replies
103
views
How to integrate JaCoCo into a spring boot OCI image to measure E2E testing code coverage?
I am packaging my Spring Boot App with the Spring Boot gradle plugin.
tasks.bootBuildImage {
builder.set("paketobuildpacks/builder-jammy-full:latest")
imageName.set(devImageName)
...
0
votes
0
answers
64
views
How to configure the Maven multi module build to get a CodeCoverage report in Azure with jacoco
I have a Maven Multi-Module Build. This works fine in the Azure Build Pipeline. Now I try to add CodeCoverage Report. For that I added this to my azure-pipelines.yml
- task: PublishCodeCoverageResults@...
0
votes
0
answers
45
views
Jacoco report execution error for Android kotlin based project
I am trying to generate Jacoco report for Android kotlin based project. I am using Android Emulator for running androidTests and generate ec file for coverage. But facing following issue all the time.
...
0
votes
1
answer
129
views
How to use `jacoco-report-aggregation` plugin in a Gradle multi module project?
The source code is here: https://github.com/yvasyliev/telegram-forwarder-bot/tree/feature/multimodule
I have a Gradle multi module project. The sub-modules are:
telegram-forwarder-bot (a console ...
1
vote
1
answer
94
views
How to isolate code coverage to specific interactions, excluding Spring Boot startup, in IntelliJ Ultimate?
I want to use IntelliJ IDEA Ultimate's "Run with Coverage" on a Spring Boot app to see which lines are executed during manual testing (e.g., hitting an endpoint with Postman).
My goal is to ...
0
votes
1
answer
66
views
Jacoco produces truncated xml and csv file
We are using the Jacoco maven plugin to generate the code coverage for some Quarkus project. It has worked fine so far, but recently we have had some occurrences of an intermittent issue on some of ...
0
votes
1
answer
46
views
Getting failsafe coverage for classes in nested modules
I have a repository with multiple projects. There is a project which has all the 'integration-tests' in it.
The 'integration-tests' project runs as follows:
Checks if a service is up.
If service is ...
0
votes
1
answer
29
views
how to add exclusions in gitlab pipeline using jacoco with ant for code coverage of java
How to add exclusions in gitlab pipeline using jacoco with ant for code coverage of java in gitlab? we are not using sonar.
Is there any direct command/property to add exclusions in gitlab?
just ...
-1
votes
1
answer
89
views
Jacoco not producting any output (Maven and Spring Boot)
We have a multi-module Java Maven project structured like this:
parent
├── child-1
├── child-2
└── common
There is no code in the parent, and the code and tests are mostly in common.
We want to ...
0
votes
0
answers
54
views
Can I exclude classes from Jacoco Report via maven pom configuration when I use quarkus-jacoco?
I know I can exclude classes from the Jacoco report via the application.properties with quarkus.jacoco.excludes but is there a way to exclude it with the configuration you can set via jacoco maven ...
0
votes
0
answers
43
views
How to send aggregated jacoco coverage report to coveralls?
I am generating an aggregated jacococ coverage report in a Maven module project like below
<build>
<plugins>
<plugin>
<groupId>org.jacoco<...
0
votes
0
answers
88
views
Pull JaCoCo Code Coverage Report from the SonarQube to Be Able to See Code Coverage During PR Review
Environment
Bitbucket Data Center v8.17.0
Bamboo 8.2.9
SonarQube v2025.1.1
Current Setup
Hi Atlassian Community!
I currently have the following workflow implemented:
Create Pull Requests in ...
0
votes
0
answers
41
views
Don't know which branch is missing in jacoco report
I am writing Unit test for usecase in kotlin but don't know how to cover missing branch.
// ConnectFTPUseCaseImpl
// ConnectFTPUseCase
interface ConnectFTPUseCase {
suspend fun connect(): Result&...
0
votes
0
answers
114
views
Problem with Mockito and Junit when fulfilling coverage in Jacoco
Good afternoon, I'm testing a microservice with Junit and Mockito in Quarkus (a Java framework). I'm also using Jacobo for Covegare. However, the EventRepositoryImplTest class, which simulates ...