cobertura Questions

1

I have a dotcover coverage report generated using dotcover.exe. I want to integrate the report in Jenkins and show the coverage. How can I generate a cobertura or openclover xml from it?
Ligetti asked 30/3, 2020 at 15:44

2

Solved

I have enabled code coverage in Cobertura format and I am trying to exclude some files (Especially 3rd party DLLs) from Code Coverage analysis in the Azure DevOps pipeline. Currently, below is the ...
Herminahermine asked 14/6, 2022 at 12:6

7

Solved

I am testing a helper class with only static methods with JUnit4 and Cobertura. Testing methods was easy task and is done already. However, cobertura shows that the class is not covered by tests ...
Rikki asked 14/3, 2012 at 10:31

2

Solved

In our gitlab-ci.yml file, we have include reports in our testing stage from cobertura. The yml worked fine up until a few days ago, and although literally nothing has been changed on the yml file,...
Postulant asked 8/5, 2022 at 19:11

2

Solved

I'm not able run the gitlab pipeline due to this error Invalid CI config YAML file jobs:run tests:artifacts:reports config contains unknown keys: cobertura
Jared asked 6/5, 2022 at 8:1

3

I'm with this error on third day already and I can't resolved. There is something that I can't grasp on and no matter what I do the error still persists. I'm reading a book called "Jenkins a defin...
Bounden asked 28/5, 2015 at 1:9

7

We are looking for a creative way to measure code coverage on new code separate from existing code. We have a large legacy project and want to start getting 90+% coverage on any new functionality. ...
Towny asked 3/9, 2010 at 14:12

1

I'm having trouble getting my code coverage up to min. 90% because XCode takes the PreviewProvider into account. What should I do? Remove all the SwiftUI previews? Or is there a way I can exclude s...
Lawsuit asked 30/10, 2020 at 7:25

3

Solved

I am trying to publish a detailed report online in my Azure DevOps Pipeline, but all I got is a link to download this Coverage file. (That can not be read anymore with the community version since t...

3

I have a small PHP project that uses PHPUnit for unit tests and coverage. I would like to generate the coverage reports in cobertura XML format. Is there any tool or plugin that I can use to achi...
Forbidding asked 16/4, 2014 at 6:32

3

Solved

I'm using Cobertura to calculate code/branch coverage for a Java project with JUnit test cases. I know 100% coverage does not tell how good the code is, but at the moment it's 6%. Branch coverage i...
Talkingto asked 2/12, 2011 at 15:32

3

I'm using Jenkins ver. 1.466 with Jenkins Cobertura Plugin ver. 1.5. I generated coverage report for Django project. All charts looks good, but when I want to see source code I have warning message...
Uncanonical asked 30/5, 2012 at 11:43

1

Solved

I'm currently trying to create a Coverlet coverage report with a pipeline on Azure DevOps. But, since my project is a ".Net FrameWork 4.7" project, I can't create a coverage report using ...
Loriannlorianna asked 28/9, 2020 at 15:44

3

Solved

I have class Assembly implementing IAssembly. I see following error when starting the application Caused by: java.lang.IllegalAccessError: class <Assembly > cannot access its superinterfac...
Labanna asked 16/9, 2011 at 14:42

3

Configure cobertura to ignore certain blocks of code From what I have read from above question, there's no way in Cobertura to exclude given code part from being tested versus having coverage in t...
Stefanstefanac asked 23/4, 2012 at 7:43

3

Solved

I have set up SonarQube, Maven and Cobertura to upload unit test coverage at every build run. I want to use the differential views to get coverage for the delta (new code only). The coverage itsel...
Kokoschka asked 30/8, 2016 at 21:50

5

Solved

I have c++/c application with a lots of unit tests. I would like to get overall coverage and also individual coverage of each test with condition that each test can be run only once. Format of cove...
Dutchman asked 20/10, 2014 at 15:16

2

Solved

Background I have large c++ application with complex directory structure. Structure is so deep that code repository can't be stored in Jenkins workspace, but is some root directory, otherwise buil...
Dugong asked 21/1, 2020 at 13:55

4

Solved

I want to generate and view a coverage report for a Java-Maven project. I've added the following to pom.xml: <reporting> <plugins> <plugin> <groupId>org.codehaus.mojo&l...
Whall asked 18/5, 2011 at 13:46

4

Solved

I'm using the pipeline plugin for jenkins and I'd like to generate code coverage report for each run and display it along with the pipeline ui. Is there a plugin I can use to do that(e.g. Cobertura...
Closefitting asked 28/4, 2016 at 14:56

10

Solved

After running coverage reports in Eclipse (using cobertura or an EMMA plugin), my source code files get highlighted in green, red and yellow depending on which lines of code were covered by tests. ...
Masters asked 24/5, 2011 at 15:3

7

Solved

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 o...
Eastman asked 10/8, 2011 at 12:20

2

I tried to build a job and it returns following error: > Failed to execute goal > org.codehaus.mojo:cobertura-maven-plugin:2.7:instrument (default-cli) > on project addressbook: Executio...
Sharecrop asked 8/8, 2018 at 19:6

2

I have a XML file generated in a test. Is there a way to convert it to a HTML report ala Jenkins?
Danialah asked 2/4, 2013 at 17:55

2

I put the surefire and cobertura plugins in my pom.xml, but I can't configure them to work fine. Or cobertura doesn't run or the tests are executes twice. So, how could I configure the plugins for...
Hutchison asked 17/2, 2012 at 1:55

© 2022 - 2024 — McMap. All rights reserved.