cobertura Questions
1
I have a solution containing two dotnet core 2.1 projects (c#).
The first is a console application
The seconds is a test project with unit tests
I generate code coverage stats about project 1 ...
Wort asked 18/1, 2019 at 18:57
5
Solved
Is there a way to exclude code from inclusion into Cobertura coverage reports? We have some methods that should not be included in the coverage report and therefore not drive down the coverage numb...
Accomplishment asked 4/6, 2009 at 16:15
2
I have a Jenkins build which build all my java/angularJS project. It launch testNG tests for the java part and karma tests for the javascript part. So I can generate one testNG report (for java) an...
Exclaim asked 7/10, 2014 at 8:17
2
We had installed version of our applications (without any instrumentation or cobertura jar included before generating application bundles).
After installation we instrumented all the jar with cob...
1
I see a strange cobertura report. It says that line number 89 (see screenshot)
siteMapItems = getItemFromPage(navParentPage, 0);
is executed once, but the method called on this line (getItemFr...
Gendron asked 19/2, 2018 at 19:20
6
I have a Maven project with a test case DefaultViewTypeToFragmentMapperTest.java in the directory /src/test/java/test/com/mycompany/myproduct/android/viewtype2fragmentmapper/.
I want this test cas...
3
Question
Cobertura instrumentation is breaking springs autowiring in a specific case. Does anyone know how to resolve this?
Scenario
I am running MVN 3.0.4 with the cobertura-maven-plugin versi...
Bhayani asked 26/10, 2012 at 2:58
8
Solved
I am trying to generate a coverage.xml so that I can reference it in Cobertura plugin of Hudson, but the file is not being created.
I've added the following to my POM
<reporting>
<plug...
Overfeed asked 22/2, 2012 at 16:19
2
Solved
I recently added the Cobertura plugin to my Java/Spring-MVC project. The strange thing is that all my unit tests were passing, and they still pass when Maven does its initial test run, but then whe...
Jillianjillie asked 6/8, 2013 at 15:30
5
Any ideas when cobertura will support java 7?
Found http://sourceforge.net/tracker/index.php?func=detail&aid=3295711&group_id=130558&atid=720018
We preferred cobertura over emma and o...
6
I am having trouble getting the Cobertura plugin to run integration tests in Maven. The closest answer to this question I have found is http://jira.codehaus.org/browse/MCOBERTURA-86. However, the i...
Quillan asked 2/2, 2010 at 22:22
1
I am using a code coverage tool that can only generate Emma XML report, while what I need is Cobertura or gcov format. Does there already exist some tool for doing the conversion? If not, I'm afrai...
Lankford asked 4/6, 2012 at 2:17
3
I have maven 3, cobertura maven plugin 2.51 and some classe.
I need to know test coverage of my class. But I don't want to test setters/getters. So I wand just to ignore them.
<plugin>
<...
1
Solved
I used mvn cobertura:cobertura to generate this cobertura JUnit test coverage report. Can anyone explain to me what do the numbers beside the line number mean? Thank you.
Megaron asked 21/10, 2016 at 16:21
4
I am getting following error message when I tried to install cobertura plugin in eclipse kepler (java/j2ee version) through eclipse market place.
Cannot complete the install because one or more re...
Layfield asked 5/9, 2013 at 7:21
1
Problem
I am setting-up unit-test code coverage for an Android library which uses Robolectric to run the tests and PowerMock/Mockito for mock-testing.
However, running unit-tests with Cobertura res...
Underdrawers asked 29/3, 2016 at 13:3
1
Solved
I am writing a JUnit test case for a method to get a Line and Branch coverage. Method under test invokes another method of type Boolean and I am unable to cover that part because on the Cobertura r...
Duomo asked 11/5, 2016 at 17:26
3
Solved
I see that in the cobertura-maven-plugin, I can configure my instrumentation with both excludes and ignores. What is the difference between these two?
Alarise asked 17/9, 2014 at 21:52
2
Solved
I can't understand how Cobertura cooperates with JUnit. As I understood cobertura modifies compiled byte code and inserts in this byte code its own commands. Ok. After that we run Junit framework a...
Semele asked 16/2, 2016 at 10:40
3
Solved
After updating cobertura-maven-plugin from 2.6 to 2.7 Cobertura plugin conflicts with FindBugs plugin. FindBugs plugin detects error in cobertura-instrumented code:
[INFO] Incorrect lazy initializ...
3
I just installed ecobertura plugin, but it looks like not a very user-friendly tool from within eclipse. is there any good plugin for cobertura in eclipse or article to describe how to use ecobertu...
Regin asked 17/2, 2011 at 11:36
2
Solved
So I'm trying to test out my coverage for a Java Application in Eclipse. I installed eCobertura from the "Install new Software" dialog and successfully installed. But when eclipse starts up it thro...
1
Solved
I am trying to get Cobertura to work on a really simple example project with Maven and Scala.
Here is my pom:
EDIT: Meanwhile, I found out that this pom is rather bad. If you're looking for a bet...
Gamez asked 17/12, 2015 at 15:33
3
Solved
Is it just me or the cobertura-maven-plugin doesn't work with java 8? when it runs I get
[INFO] --- cobertura-maven-plugin:2.6:instrument (default) @ provider-impl ---
[INFO] Cobertura 2.0.3 - GNU...
Proofread asked 2/9, 2014 at 16:14
5
Solved
I've been using Cobertura plugin for report generation and instrumentation (with surefire).
Here is the issue I am facing:
I am unable to make the plugin ignore report generation for specific cl...
Clawson asked 7/3, 2011 at 9:27
© 2022 - 2024 — McMap. All rights reserved.