code-coverage Questions
2
Interested to find code coverage tools for kotlin that work well in a CI pipeline. use intellij built in code coverage but cant use this in CI. Thanks
Francophile asked 24/11, 2017 at 9:48
3
Solved
I use nosetest's coverage.py plugin. Is it somehow possible to exclude entire files or folders from the coverage report? My use case is having an external library in my project folder that obviousl...
Jerroldjerroll asked 30/8, 2012 at 15:36
1
I want exclude all migration classes from the code coverage analyze result. So I used the following code in codecoverage.runsettings file but code coverage analyze result is include migration names...
Operand asked 31/10, 2021 at 12:40
4
Solved
I've always used Jasmine for my unit tests, but recently I started using Istanbul to give me code coverage reports. I mean I get the gist of what they are trying to tell me, but I don't really know...
Outrelief asked 28/10, 2014 at 20:52
7
There is a big javascript library (~ 40 000 lines of code) and an application which uses less than 50% of the library's code.
There is a test which utilizes all the needed functionality from the l...
Engel asked 20/3, 2018 at 10:32
4
Solved
backgrond
my setup for codecov has worked well so far
you can regular updates with each pr commits here
I haven't change my repo settings
as I've inadvertently pushed a folder that I wasn't sup...
Inconsiderable asked 6/6, 2021 at 16:31
1
Solved
First, some context: I have a Visual Studio solution containing several production class libraries and nine unit test projects. All the projects are targeting .NET 5. I am running .NET 5.0.401. All...
Patella asked 28/9, 2021 at 21:9
1
I'm pretty new to this awesome feature of IntelliJ. When I run code coverage, I can see in the IDE green marks that indicate the line was covered and red marks that indicate the line was not covere...
Indira asked 21/9, 2021 at 10:19
2
I'm using PDE and in my build.xml I compile my code and try to create a coverage report using JaCoCo and JUnit. I noticed that it does now show the sourcefile, even though I added sourcefiles secti...
Vano asked 30/8, 2021 at 16:19
1
We're having trouble with code coverage on our Visual Studio Online (VSTS) build definition, where no results are returned when we define a custom .runsettings file.
Locally this is working fine, ...
Mamoun asked 1/11, 2017 at 12:53
2
Solved
I have been trying to get Cypress code coverage working with my Angular production project to no avail.
To try and help diagnose it, I have created a minimal implementation project to make sure I w...
Fuzz asked 12/6, 2020 at 14:51
6
Coverage.py will include __init__.py in its report and show it as 0 lines, but with 100% coverage.
I want to exclude all blank files from the coverage report. I can't just add */__init__.py to omit...
Maldon asked 6/1, 2014 at 14:18
2
Problem:
I'm using the following flags to generate the code coverage of my Qt application (.pro file):
QMAKE_CXXFLAGS += --coverage
QMAKE_LFLAGS += --coverage
The code coverage is correctly gen...
Silt asked 20/11, 2017 at 13:38
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...
Phan asked 29/10, 2020 at 13:53
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
2
Solved
Current situation:
To enable our Azure DevOps 2019 Server (Agents) to build ASP.NET Core 3 and .Net Core 3 applications we installed Build Tools for Visual Studio 2019 (expander Tools for Visual S...
Swellfish asked 13/11, 2019 at 19:27
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
5
I am working on a new project for Android. Currently, I am using Android studio as IDE. I need to run Unit test and System (CI) test flows which can be run on both Local machine (JVM) and Emulator/...
Sit asked 16/11, 2015 at 15:28
1
I could not find my requirement for coverage in the jest docs. I have tried the following options but could not find the required solution to get jest coverage only for changed code.
npm test -- --...
Belle asked 27/11, 2019 at 6:28
4
In Intellij IDEA 14.1.5 Community edition, I imported maven to get coverage from jacoco.exec file. Steps followed
right click on imported module.
select Analyze-->Show Converage Data.
provided va...
Longspur asked 3/11, 2015 at 10:39
3
Solved
In my Python project, we have a big number of unit tests (some thousands). Though they are logically distributed between files and classes, I need sometimes a lot of time in order to find ones, whi...
Mandle asked 22/4, 2015 at 16:13
4
Solved
I have unit-test in my project implemented using Boost Unit Test Framework and organized into several modules, i.e.:
#define BOOST_TEST_MODULE Connection_test
#ifndef BOOST_TEST_DYN_LINK
#define ...
Ottava asked 10/9, 2018 at 10:16
2
Solved
Given a .Net 5 solution with multiple xUnit test projects I can run dotnet test from the root of the solution and it will run all the tests.
I would like to generate reports so based on https://lea...
Iseabal asked 12/7, 2021 at 13:15
5
Solved
Following method shall only be called if it has been verified that there are invalid digits (by calling another method). How can I test-cover the throw-line in the following snippet? I know that on...
Lanell asked 20/8, 2010 at 21:57
4
Solved
I am new to coverage and ran into a strange problem. My coverage is taking my virtual environment site packages into account.
Here is the output of the coverage run:
coverage run test.py
............
Oribella asked 22/8, 2015 at 20:26
© 2022 - 2024 — McMap. All rights reserved.