All Questions

72
votes
8answers
57227 views

How to configure multi-module Maven + Sonar + JaCoCo to give merged coverage report?

I've searched up and down the internet for this one. There's lots of half-answers out there, to do with Maven properties such as ${sonar.jacoco.reportPath}, or org.jacoco:jacoco-maven-plugin:prepare-a...
55
votes
6answers
36102 views

Testng, Emma, Cobertura, coverage and JDK 7 result in ClassFormatError and VerifyError

I have switched to the newest JDK 7 and I am having problems with running testng unit test on byte code that is fiddled by emma coverage tool. None of my test cases are run correctly and for most of t...
35
votes
5answers
33217 views

How do I get a jacoco coverage report using Android gradle plugin 0.10.0 or higher?

I'm trying to get a test coverage report using Gradle Android plugin 0.10.2. But I still can't get a coverage report after running some tests. (connectedAndroidTest). my main module's build.gradle is...
32
votes
4answers
18480 views

Android test code coverage with JaCoCo Gradle plugin

I'm new to Gradle and Android testing but I've already converted my Android project to build with Gradle. Now I'm trying to perform test coverage of an Android project with Gradle's JaCoCo plugin. I...
3
votes
1answers
8153 views

integrating JaCoCo in sonar using Ant

I am stuck integrating JaCoCo with sonar using Ant. Very new to this task, and integrating for the first time. I have gone through many links like https://github.com/SonarSource/sonar-examples/blob/...
47
votes
4answers
23627 views

Filter JaCoCo coverage reports with Gradle

Problem: I have a project with jacoco and I want to be able to filter certain classes and/or packages. Related Documentation: I have read the following documentation: Official jacoco site: http://...
21
votes
4answers
28975 views

Jacoco Code Coverage in android studio

I am trying to generate Jacoco code coverage report. I have used AndroidTestCase for my test classes. I have found using testCoverageEnabled true and using default android -studio default jacoco, ...
33
votes
4answers
46027 views

Maven Jacoco Configuration - Exclude classes/packages from report not working

I have a maven multi-module project and I'm using jacoco-maven for code coverage reports. Some classes should not be reported, as they're Spring configuration and I'm not interested in them. I have d...
42
votes
8answers
24607 views

Cannot use jacoco JVM args and surefire JVM args together in maven

I am using maven with the jacoco plugin to generate code coverage metrics. I am having some difficulty in configuring the surefire plugin with the java options required by the jacoco plugin. I've seen...
42
votes
8answers
47028 views

Getting "Skipping JaCoCo execution due to missing execution data file" upon executing JaCoCo?

I'm using Maven 3.0.3, JUnit 4.8.1, and Jacoco 0.6.3.201306030806, and am trying to create test coverage reports. I have a project with unit tests only but I can't get reports to run, repeatedly gett...

Previous Next