Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
37 views

When the average test coverage threshold across multiple modules isn't met, pytest doesn't fail with a non-zero exit code, even though it should. My command: ❯ pytest --cov module1 --cov module2 --cov ...
Sam's user avatar
  • 325
0 votes
0 answers
60 views

I have a .NET MAUI application (targeting .NET 9) that runs on Windows. In the same repository, I also have a separate Appium-based UI automation project (using .NET 8), which drives the MAUI app ...
Aswin M's user avatar
0 votes
0 answers
25 views

I have an ASP.NET Core 9 Web API project and in the Azure DevOps pipeline, there are compiled files being collected for coverage - and there is no test code for those. For example the Mediator Library....
pickYourCode's user avatar
0 votes
0 answers
42 views

I am working with an Android application (APK) that uses JNI and depends on a shared library. I modified the build parameters to include code coverage instrumentation. After running the APK on an ...
叶甜心's user avatar
0 votes
0 answers
49 views

I am currently loosing it about the attempt to generate test coverage reports for a current Corpo project. This worked flawlessly quite some time and is now running wild. The tests are done using ...
Thomas's user avatar
  • 84
0 votes
0 answers
59 views

I am using Apache Camel 4.10.6 with the route coverage plugin enabled. When I run the report, the overall summary looks like this: [INFO] Overall coverage summary: Coverage: 54 out of 1509950778 (0.0%...
Luigia Falasca's user avatar
0 votes
1 answer
68 views

NB I have the custom targets which run by python scripts. So I couldn't use bazel coverage directly for this one. 1. I defined in .bazelrc build:coverage --collect_code_coverage build:coverage --...
Ulrich Von Rekkenin's user avatar
0 votes
0 answers
27 views

Our project structure looks like this: apps | ---api ---api-e2e with the e2e using @nx/jest for testing. I'm trying to generate the coverage for API, but haven't been able to do it successfully. I ...
jonianas's user avatar
0 votes
0 answers
53 views

have a correct method to remove unique method or line from check coverage sonar? like //NOSONAR? I've tried but I wouldn't like to have to use sonar.exclusions= in my sonar-project.properties file
Bruno Barbosa's user avatar
1 vote
0 answers
40 views

I have an Azure YML pipeline that runs the tests inside a docker container and produces test and coverage results. However if I try to publish the code coverage it succeeds only party because the ...
Alberto B's user avatar
  • 650
2 votes
1 answer
439 views

I am trying to get the "Run Tests with Coverage" button working as expected for a C++ project based on CMake. When I hit it, the tests are executed properly, but then it shows the info that ...
Dradux's user avatar
  • 21
0 votes
1 answer
97 views

We have a repository that we build using Arduino IDE and we're trying to setup Coverity Checks for it. I tried using arduino-cli for cov-build but it gives the error "No files were emitted". ...
NYPY's user avatar
  • 13
0 votes
1 answer
83 views

I have a simple code packages in a module/folder "src" File sample.py import multiprocessing def f(x): return x*x def big_run(n): with multiprocessing.Pool(5) as p: p.map(f,...
Sébastien Eskenazi's user avatar
0 votes
0 answers
338 views

I am using Visual Studio Code, with the CMake Tools extension from Microsoft (https://marketplace.visualstudio.com/items?itemName=ms-vscode.cmake-tools) In the left bar, there is an icon shaped like ...
spierepf's user avatar
  • 2,962
0 votes
0 answers
31 views

I am using nyc, mocha, and Nodejs (TS) as my tech stack. I run my Nyc command on precompiled code, i.e., only JS and JS map files are present in the build. When I run my test command Nyc code coverage ...
Hacker's user avatar
  • 7,926
2 votes
2 answers
124 views

I have code coverage enabled and published in my ADO pull request pipeline. I'm looking at adding code coverage diff to it. The Microsoft Learn Document doesn't mention how to fail a build if the ...
Alen Alex's user avatar
  • 1,011
0 votes
0 answers
105 views

I'm working with GHDL (GHDL - v6.0.0-dev - Ubuntu 24.04 (x86-64, LTS) - gcc backend) and LCOV to analyze code coverage for VHDL projects, but I'm encountering unexpected behavior in the branch ...
AGHMOUR Abdelmalek's user avatar
-1 votes
3 answers
1k views

I have two projects (actually, a project and its sidecar) in the same repository - the server (root) and aux/sidecar (at aux/sidecar folder). I generate coverage for them using jest --coverage calls, ...
Leonardo Alves Machado's user avatar
1 vote
1 answer
540 views

I'm trying to analyze code coverage in SonarQube for a .NET project using GitLab CI/CD. My setup is: Windows runner for tests Linux container for SonarQube analysis ReportGenerator for coverage ...
Greenstuff's user avatar
0 votes
0 answers
11 views

It's possible to create via command line Coverity subcomponents, add a regex to them and assign them to a stream?
Adrian Vulpeanu's user avatar
0 votes
1 answer
849 views

In the latest version of VS 17.13.2, FCC is breaking with the below error System.InvalidOperationException: Failed to load RunSettings file: 'C:\Users\xyz\src\Services.UnitTests\bin\Debug\net8.0\fine-...
lokanath das's user avatar
3 votes
0 answers
205 views

I have an Android project that uses Kover to measure code coverage. These results are then sent to SonarQube. This all works fine except that I want some code to be excluded from code coverage. This ...
Wirling's user avatar
  • 5,525
1 vote
0 answers
102 views

I have been testing coverage collection with Bazel and wanted to share my findings in response to a point noted in the Bazel documentation on coverage. Documentation Claim: The documentation mentions: ...
Roshan Kumar's user avatar
1 vote
0 answers
50 views

Context We are implementing a hybrid implementation with AEM + REACT using AEM as a Cloud Service. We are having our REACT code coverage in *.tsx files under ui.frontend module. We have configured &...
Som's user avatar
  • 21
0 votes
0 answers
210 views

How can we extract the total coverage from JaCoCo? I just need that number to use it for external reporting. I see the coverage total in the Jacoco report (HTML), but do not see it in the jacoco.xml. ...
techjourneyman's user avatar

1
2 3 4 5
109