Skip to main content
Stack Overflow for Teams is now Stack Internal: See how we’re powering the human intelligence layer of enterprise AI. Read more >
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
1 vote
2 answers
210 views

using Visual Studio 17.14.18 I'm asking Visual Studio to give me a code coverage report, which it does. But there are lots of methods being used by the completed / passing tests that are not included ...
TRH's user avatar
  • 474
0 votes
0 answers
58 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
1 answer
40 views

I’m trying to generate a coverage report for an ASP.NET application hosted on IIS using JetBrains dotCover CLI in an Azure DevOps pipeline. I can achieve this manually using dotCover standalone and ...
KR Akhil's user avatar
  • 1,017
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
2 votes
1 answer
79 views

I run a single batch script to analyze a mixed solution: .NET backend + Angular frontend. The .NET coverage (OpenCover) is imported correctly, but Angular/TypeScript coverage always shows 0% in ...
Vignesh Kumar A'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
1 answer
38 views

I'm exploring the usage of azurepipelines-coverage.xml to enable differential code coverage policy. I would like to know if this supports a sub-folder level target for differential code coverage. I ...
Alen Alex's user avatar
  • 1,011
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
42 views

My Application starts with frmmain Public Class frmmain Private Sub frmmain_Shown(sender As Object, e As EventArgs) Handles Me.Shown Call load_interface() ' Fetch backend data, prepare ...
Research Guy IT's user avatar
0 votes
0 answers
58 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
1 vote
1 answer
94 views

I want to use IntelliJ IDEA Ultimate's "Run with Coverage" on a Spring Boot app to see which lines are executed during manual testing (e.g., hitting an endpoint with Postman). My goal is to ...
jam's user avatar
  • 539
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
51 views

I have added a CI using Codecov to ensure that code is sufficiently covered when PR are done in my code. But the job is still failing after the modifications I made. Here is the full report from ...
Thomas's user avatar
  • 398
0 votes
0 answers
26 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
1 vote
1 answer
67 views

In a C# project (using Visual Studio or VS Code, and Azure Devops), if I have a line like this: var result = variable.Property.InnerProperty.InnerMostProperty.FinalValue.ToString(); I have a unit ...
Alireza's user avatar
  • 5,571
0 votes
0 answers
52 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
0 votes
0 answers
61 views

I’ve recently moved from a Java/Spring Boot stack where I used tools like JaCoCo for code coverage to working with WSO2 Micro Integrator, where most of the integration logic is defined in XML-based ...
santi cazorla'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
  • 642
1 vote
0 answers
98 views

I'm generating code coverage for a C++ project. My project has multiple binaries in it. When I'm running unit tests, it generates the gcda files and I generate code coverage based on the respective ...
Alen Alex's user avatar
  • 1,011
2 votes
1 answer
431 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
0 answers
43 views

I am generating an aggregated jacococ coverage report in a Maven module project like below <build> <plugins> <plugin> <groupId>org.jacoco<...
tuk's user avatar
  • 6,954
0 votes
1 answer
96 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
57 views

I have a test suite that runs a bunch of system tests on an API. Some system tests interact with the API by using Flask's test_client, whereas a few specific tests interact with the API by making HTTP ...
Arseni Mourzenko's user avatar
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
1 vote
2 answers
49 views

I know how to use coverage module to get "human readable" coverage output (using popular third party coverage module). This can be used with pytest or unittest (with some differences in the ...
Amit's user avatar
  • 2,138
0 votes
0 answers
332 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
1 answer
74 views

I have a large application which forks and execv another binary. I have compiled both parent application and forked child application using --coverage flags. Noticed that .gcno files are created for ...
M09Y's user avatar
  • 15
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
0 votes
2 answers
479 views

I have a scenario where I have multiple tests (for the same source code) that are run in parallel The code coverage report is generated and stored in separate folders per test End of the day, I need ...
Alen Alex's user avatar
  • 1,011
2 votes
2 answers
121 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
23 views

I have a webserver made with Express.js and I want check the coverage of some request made with Postman, but nyc don't show any line as reached by the requests. I have made a small reprocucible ...
Simone Nigro's user avatar
  • 4,947
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
0 votes
1 answer
59 views

I'm working on a project, where I have a pull request pipeline for a logical monorepo. For this I'm using the git submodule functionality to pull a few repositories into mine, and building them. I use ...
Alen Alex's user avatar
  • 1,011
-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
0 votes
1 answer
107 views

How should I add ignore_bin in child class for a coverpoint which is defiened in base class? I tried extending base covergroup but it shows compilation errors for keyword extend in this context ...
Sam's user avatar
  • 1
1 vote
1 answer
531 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
59 views

I'm trying to create a jacoco report on our project The project is in java 17 version and the jacoco-maven-plugin is on version 0.8.8.In the target folder the jacoco.exec file gets created. But the ...
vr3w3c9's user avatar
  • 1,148
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
254 views

In the bitbucket server doc (https://confluence.atlassian.com/bitbucketserver/enhancements-to-your-code-review-workflow-1014275076.html), I see this note: We've got your code covered (released 7.0) ...
Littlee's user avatar
  • 4,365
0 votes
1 answer
837 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
0 votes
0 answers
529 views

I'm working on a Java project using Maven, and I've been trying to generate a Jacoco code coverage report. However, even though all of my test cases are passing successfully, the generated Jacoco ...
Rach's user avatar
  • 1
3 votes
0 answers
201 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
2 votes
1 answer
166 views

When I'm debugging in uVision 5 the Disassembly window shows the interleaved source code and assembly instructions and the index of the current executed instruction. I need this window exported in a ...
Vlad Gheorghiu's user avatar
1 vote
0 answers
101 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
1 answer
796 views

I have multi module project with both Android & Kotlin modules. To simplify I have the following modules: :data is an Android module. This just has the variants debug and release. :domain is a ...
Wirling's user avatar
  • 5,525
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
2 votes
2 answers
153 views

I am stuck in a situation where I am not able to fix the 1 of 6 branches issue. Below is the small code I tried to produce package org.example; public class Testing { public static final String ...
PAA's user avatar
  • 12.2k
0 votes
0 answers
208 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
0 votes
0 answers
67 views

I've been having a very strange problem with IntelliJ's code coverage report, which I haven't been able to find mentioned anywhere else. For a few of the classes in one package, if I run the ...
naomimyselfandi's user avatar

1
2 3 4 5
109