5,399 questions
1
vote
1
answer
85
views
GCC 14.2.0 Coverage (.gcda files) Not Generated at Runtime After Upgrade from GCC 8.5.0 + glibc 2.23
I have created a cflow build and when loading the image in the system, I could see only fewer number of gcda files.
After upgrading from GCC 8.5.0 to GCC 14.2.0, runtime code coverage (.gcda file ...
0
votes
1
answer
60
views
Flutter Code Coverage Not Working When Running Appium Automation (Port Not Free)
I am trying to collect Flutter code coverage while running Appium test automation.
Operations have tried so far
Running Flutter app from Visual Studio Code
Running test automation scripts from ...
-6
votes
1
answer
165
views
Executed line confusion
In the Python program below:
a = 3
if a > 10:
print("gt10")
elif a > 5:
print("gt5 lt10")
elif a > 2:
print("bw25")
else: # Line 9
pass
when I ...
Tooling
0
votes
0
replies
26
views
Accessing coverage report as a database
I'm working on a large java project and want to analyse the coverage of the Database-layer in the System. For that purpose, I'm generating a code coverage Report with Intellij. It allows me to see the ...
2
votes
0
answers
89
views
Why doesn't pytest-cov fail with a non-zero exit code when code coverage threshold isn't met, when running on multiple directories?
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 ...
1
vote
2
answers
226
views
Visual Studio Code Coverage Reports Not Listing Or Highlighting All Tested Code
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 ...
0
votes
0
answers
73
views
How to measure .NET MAUI application code coverage triggered by Appium UI automation tests?
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 ...
0
votes
1
answer
60
views
How to collect code coverage for an IIS-hosted web application during manual/automated UI tests using dotCover CLI in Azure DevOps pipeline?
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 ...
0
votes
0
answers
34
views
Ignore compiled files in .NET 9.0 code coverage report
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....
2
votes
1
answer
93
views
SonarQube shows 0% coverage for Angular (LCOV exists) while .NET coverage is OK
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 ...
0
votes
0
answers
67
views
Is it possible to collect code coverage for a shared library (.so) without using an executable file in LLVM?
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 ...
0
votes
1
answer
41
views
Differential code coverage policy at folder level in ADO pull requests
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 ...
0
votes
0
answers
56
views
Test Coverage Report including foreign namespace MSTest.Analyzers
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 ...
0
votes
0
answers
46
views
How to generate an OpenCover report for part of an application?
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 ...
0
votes
0
answers
68
views
Apache Camel Route Coverage report shows an unrealistically high number of routes
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%...