code-coverage Questions
6
Solved
Is it possible to forcefully exclude a folder from PHPUnit's code coverage?
Problem I've got is, that I have a Symfony 1.4 project, which has folders at ./lib/vendor/symfony/*. I want to exclude a...
Nuremberg asked 17/1, 2013 at 12:52
6
I'm kind of a rookie with python unit testing, and particularly coverage.py. Is it desirable to have coverage reports include the coverage of your actual test files?
Here's a screenshot of my HTML...
Heretical asked 27/10, 2009 at 6:8
8
I have configured IntelliJ to paint the background of any line that has been executed at runtime to green when running in Coverage mode.
At times, I would like to just make all the files in the pro...
Scoville asked 29/7, 2015 at 22:39
4
Just trying to get gcov up and running, getting the following error:
$ gcov src/main.c -o build
build/main.gcno:version '404*', prefer '407*'
gcov: out of memory allocating 14819216480 bytes afte...
Subtrahend asked 17/9, 2012 at 6:35
3
Solved
I don't understand, I try to generate code coverage report with JaCoCo and Maven, the simplest.
I have the following plugin in my pom.xml :
<plugin>
<groupId>org.jacoco</groupId&g...
Omnipresent asked 16/4, 2019 at 21:21
4
When I want to test C++ coverage, I can build my program with -fprofile-arcs -ftest-coverage, run all tests, and run gcov to get coverages.
However, when it comes to Rust, I get totally lost. What ...
Inaugural asked 8/10, 2021 at 6:50
0
I'm trying to exclude some classes & packages which are based on HILT generated contents, few modules & all BindingImplementations from the JACOCO report. It does not return the expected re...
Lactase asked 20/11, 2023 at 9:29
2
Solved
I am using VSC for my Java project with maven help.
I would like to use a Code Coverage tool but I lost the directions in the many possibilities you have.
My goals are:
run the Code Coverage goa...
Mullock asked 22/8, 2018 at 9:49
3
Solved
As of Xcode 11 using SwiftUI, it looks very difficult/no way to enable code coverage in unit tests and have preview working.
This is what I did:
Select target -> Edit scheme in Xcode
Select Tes...
Boothman asked 27/9, 2019 at 4:33
3
Solved
Hi guys I have a express application and I'm playing around with gitlab to add Gitlab test coverage visualization
Here is my .gitlab-ci.yml
stages:
- test
- dockerize
- staging
- production
un...
Concession asked 15/3, 2021 at 5:53
4
Solved
I am trying to measure code coverage by my pytest tests. I tried following the quick start guide of coverage (https://coverage.readthedocs.io/en/6.4.1/)
When I run my test with the following comman...
Zirkle asked 17/6, 2022 at 14:31
4
Solved
I have an abstract base class along the lines of:
class MyAbstractClass(object):
__metaclass__ = ABCMeta
@abstractproperty
def myproperty(self): pass
But when I run nosetests (which coverage...
Marjie asked 8/2, 2012 at 22:48
2
Solved
I usually set the attribute [ExcludeFromCodeCoverage] to my Program class, as there are no unit tests for this class possible anyways (or don't make sense either), so it doesn't show up as "mi...
Sales asked 26/4, 2022 at 8:24
14
Solved
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:prepar...
Malan asked 23/10, 2012 at 13:11
3
I have an entity framework .net core application as a backend and .net core react app for the front-end.
I am trying to setup azure pipelines for this project.
While I am setting the pipeline for...
Volding asked 21/5, 2019 at 10:59
16
Solved
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://w...
Sequoia asked 27/4, 2015 at 5:25
6
Solved
We need to check test coverage for our React.js app and ideally get lcov.info output to send to a third-party coverage tracker like Coveralls or CodeClimate
Its unclear from the Jest API how to ge...
Dextroglucose asked 2/2, 2015 at 17:32
5
I am trying to show a coverage badge for a Python project in a private Gitlab CE installation (v11.8.6), using coverage.py for Python. However, the badge always says unknown.
This is the relevant j...
Clavichord asked 14/5, 2019 at 16:52
2
Solved
When I run ng test --code-coverage, and then run sonar-scanner, still not able to see coverage report on sonar server.
I tried setting up new project using Angular 13 and setting up as per official...
Mastoiditis asked 4/3, 2022 at 19:31
4
Solved
Has anyone managed to combine test coverage report from two separate jest test runs?
I am newbie trying to use the default jest coverage reporters: ["json", "lcov", "text&q...
Vaientina asked 24/6, 2020 at 16:53
10
Solved
I am generating failsafe and surefire reports with maven with the JaCoCo plugin, but I can only manage to get them in separate reports. I would like to have a overall coverage view (merge between b...
Jereme asked 26/10, 2015 at 15:42
2
Solved
A few months ago, when our projects were still in .NET 4.7.2, we used to run unit tests on our Azure DevOps Server using the Visual Studio Test task. We used parameter Test files to specify which t...
Radbun asked 14/11, 2021 at 10:35
3
Solved
I did flutter test --coverage
A lcov.info was generated under coverage
I want to convert this into html but I don't find a tool for Windows.
On linux, you just do:
sudo apt-get update -qq -y
su...
Forcemeat asked 4/6, 2020 at 0:13
3
We are currently running an OpenCover session, which is running the nunit3.console.exe.
Our command line is the following:
"C:\Program Files (x86)\OpenCover\OpenCover.Console.exe" -output:"%CD%\o...
Ambrogino asked 31/1, 2017 at 8:25
12
Solved
I ran a build last night, successfully. I got up this morning and ran another without changing any configuration or modifying any source code. Now my build is failing with the message "No source fo...
Wrote asked 5/3, 2010 at 13:21
© 2022 - 2024 — McMap. All rights reserved.