cobertura Questions

2

I am trying to generate code coverage reports using cobertura plugin. I have this dependency in my pom.xml <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobe...
Murray asked 8/4, 2015 at 19:45

3

Solved

When I run cobertura-maven-plugin on Windows 8.1 with lengthy configuration (used to prohibit any coverage drop in the project) cobertura:check goal fails with error The command line is too long. ...
Pronunciamento asked 23/5, 2015 at 18:18

2

I have three projects which are stored in three separate repositories. Each of them is a individual mvn project. I wonder is there a way to aggregate three reports in one? I took a look at the cob...
Silky asked 5/11, 2013 at 15:26

2

I'am building an app in Java with gradle as build tool. I use Travis CI and wanted to get the code coverage with Coveralls. But when grade builds my project, I get the following output: HTTP/1.1 4...
Temperate asked 13/11, 2014 at 14:48

1

What I am trying to achieve is integrate SonarQube analysis into the build process, so that whenever mvn clean install is run, the code is analyzed with SonarQube. We want to use it for local analy...
Affright asked 17/3, 2015 at 12:54

0

I'm using cobertura and I am confused about the meaning assigned to the colors in the report. I checked the cobertura website, as well as their FAQ and github page, and searched old stack overflow ...
Bastille asked 10/10, 2014 at 14:55

1

[cobertura-report] net.sourceforge.cobertura.javancss.parser.TokenMgrError: Lexical error at line 29, column 59. Encountered: "\r" (13), after : "\"\u5bb8\u832c\u7ca1\u5a75\ufffd\u693f\u6769\ufffd;...
Potage asked 23/4, 2012 at 9:0

3

Solved

I have been trying unsuccessfully for the last few days to run Cobertura 2.4 with Maven 3.0.2. We have a very large project with many modules (sub-projects). What I found is that documentation is b...
Yeisk asked 3/8, 2011 at 18:29

1

I have a multi-module maven project in Jenkins 1.545.I am using Sonarqube version 4.2.I have installed cobertura plugin version 1.6.1 and java plugin version 2.2.1 in Sonarqube.I have successfully ...
Timbale asked 10/6, 2014 at 6:48

2

I have a multi-module maven project in Jenkins 1.502 with the jenkins-cobertura plugin version 1.9.3. My cobertura.xml file is generated in the web-app module and I can see it when I browse the wor...
Salters asked 12/2, 2014 at 18:52

1

I'm trying to get a build in Jenkins to show a coverage report of a Java unit test run. I can get the report at the high level showing that coverage has occurred at the class and method level, but ...
Gavette asked 14/5, 2014 at 5:13

4

I am using cobertura plugin in jenkins for code coverage. I want to change value of name column in Project Coverage summary on a per-report basis. Is there any way to change this. I want to give ...
Janeenjanek asked 21/3, 2014 at 10:9

5

We have a Play 1.2.4 application and we got Jenkins (on Ubuntu) for the application. We're having problems with Cobertura. After running the tests (succesfully), every now and then, we get the fo...
Amygdala asked 1/10, 2012 at 10:36

3

I am using maven 3.0.4, JRE 1.7.0_09. When I use mvn clean install all my tests passes and everything looks good - here is my surefire plugin configuration: <plugin> <version>2.12.4&...
Gintz asked 16/6, 2013 at 13:12

1

I tried by adding in org.slf4j.* in cobertura.exclude. but there is no use. my buildfile require 'buildr/java/cobertura' require 'buildr/scala' require 'buildr/myProject' ..... ..... compile.opti...
Allemande asked 26/2, 2014 at 16:34

3

Solved

What could cause something like this: The line def result shows only 2/6 branches covered, even though it has NO BRANCHES, while the following line, which actually has a conditional, is ok. Wh...
Embargo asked 20/9, 2013 at 17:44

2

Solved

Did someone find a good solution to ignore trivial methods? Using some automated testing like Unitils is not really an option, since the code-coverage should not go up if only getters/setters are t...
Newell asked 13/2, 2012 at 13:55

4

Solved

I'm using maven cobertura plugin to report code coverage in my multimodule project. The problem is that I don't know how to generate one report for all modules in project. So far I have generated...
Whelm asked 22/9, 2010 at 10:56

4

Solved

In my project I need to create Cobertura Code Coverage report from Hudson using maven build. In Hudson I have added the Cobertura Code Coverage plugin. I need the complete modification steps of pom...
Maxantia asked 5/1, 2010 at 12:40

7

Solved

I have a Maven project with 4 modules - 3 of them contain code and some tests (testing equals and hashcode of the classes) whereas the 4th module is for testing the 3 other modules. Now I want to ...
Drudgery asked 14/9, 2009 at 10:21

2

I am trying to tweak the phase when a maven plugin execution will run in maven-2. My specific issue is with attempting to run the cobertura:instrument step bound to the lifecycle phase process-te...
Dereliction asked 11/3, 2011 at 17:5

3

After reading this: What is the proper way to use Cobertura with Maven 3.0.2 and this: http://www.wakaleo.com/blog/292-site-generation-in-maven-3 my POM file looks like this: <build> <...
Rajasthan asked 4/11, 2011 at 10:20

1

I am trying to generate code coverage report for our multi-module maven project using cobertura. After I run mvn clean and then run mvn package. Then, in one of the modules from where we run JUnit ...
Thetisa asked 30/6, 2012 at 7:22

1

Solved

I am being asked to use Jenkins to test code coverage for a Java Project. The issue is I have never used Jenkins and have scarcely little experience with actual code coverage. I have been sea...
Leucoplast asked 15/6, 2013 at 0:37

0

I have a couple of dbunit-tests for a jee5-project. They work great when I try to run them with "run as TestNG test" in Eclipse. But when I try to run them as "Cover as TestNG test" they fails with...
Horten asked 10/6, 2013 at 6:20

© 2022 - 2024 — McMap. All rights reserved.