Skip to main content

All Questions

0 votes
1 answer
205 views

How to exclude generated code from jacoco coverge report?

I have a maven project and the below step is mentioned right after executing surefire tests(for JUnit) and failsafe (for Integration tests). However, I am not able to exclude the files from generated-...
Ankit Singh's user avatar
0 votes
0 answers
630 views

Why 0% in Jacoco coverage for integration tests

I have setup maven project to get the integration test coverage in my it profile. But the jacoco report shows 0% for all the classes. My main POM Jacoco integration setup section in the profile and ...
Shabar's user avatar
  • 2,763
5 votes
0 answers
11k views

maven jacoco not generating code coverage for Integration tests

I have a multi-module java spring boot project. Here is my project structure - pom.xml (root) - war (project) --- pom.xml --- src/.../SBMainApplication.java - api (project) --- pom.xml --- src/../...
Tatha's user avatar
  • 1,293
2 votes
2 answers
628 views

Maven cargo plugin with Surefire + Jacoco report

I have a project that fires up tomcat using the cargo plugin and then runs integration tests against that tomcat instance. My goal is get integration test coverage reports of the code that runs in ...
spy's user avatar
  • 3,249
2 votes
0 answers
747 views

Integration test report with failsafe and jacoco shows 0% coverage

Goal:Use failsafe and jacoco,the two plugins to create integration test report. Issue:The report expected is created but it shows that coverage is 0%. report html Here goes the code in pom.xml about ...
Shao Jackie's user avatar
3 votes
0 answers
946 views

Selenium test coverage in jacoco report 0%

I am trying to get tests runnning with maven failsafe to show up in thwe jacoco report, I have split the unit and integration tests and all my tests pass and the verify runs fine. I get a created ...
berimbolo's user avatar
  • 3,689
2 votes
0 answers
428 views

Test coverage with jacoco, maven and sonar

I have more of a theoretical question. We have a project with complicated module hierarchy. The goal is to measure unit test coverage and in the future also integration test coverage. In order to ...
zlobi.wan.kenobi's user avatar