5,387 questions
2
votes
0
answers
37
views
xcodebuild .xcresults coverage and modules change on each test run
Issue
To ensure code quality our company uses CodeCoverage reports of xcresults to be converted to sonar, to then enforce 80% coverage. We have found that xcresults seem to have non-deterministic ...
0
votes
0
answers
167
views
OpenCppCoverage not reporting untouched files
I have a Visual Studio solution with this architecture:
core.lib
api.dll (imports core.lib, no actual code)
tests.exe (imports core.lib)
I'm running OpenCppCoverage from the root of the solution ...
6
votes
0
answers
180
views
Code coverage reports uncovered branch on method returning IAsyncEnumerable<T> [closed]
I have the following function, which is basically a wrapper around something that makes a SQL call and reshapes the results:
public async IAsyncEnumerable<T> ExecuteTable<T>(string sql, ...
2
votes
1
answer
255
views
Testing without losing template coverage
I’m using Angular 21 with standalone components and Vitest (via @angular/build:unit-test).
I have a parent standalone component that imports a child component:
@Component({
selector: 'app-child',
...
2
votes
0
answers
168
views
Profile mismatch error : Xcode 26 :No profile can be merged
I am getting the issue while generating the coverage . I have tried it over Xcode 16 , Xcode 26 but still issue . Out of 10 , only 1-2 time it generates coverage on Xcode 16.4 only .
Error:
raw ...
1
vote
0
answers
169
views
Improve code coverage on Angular 21 "signal oriented" directive
I am currently building an Angular 21 component library and I am facing a code coverage issue related to the use of input and computed signals inside a directive. Although my unit tests seem correct, ...
1
vote
2
answers
296
views
SonarQube code coverage with .NET 10 sdk and Testing Platform
I'm having problems uploading a code coverage report to the SonarQube analyses in an Azure pipeline.
The application is a new .NET 10, using the .NET 10 SDK. Tests and coverage are executed with the ...
1
vote
1
answer
112
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
86
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
168
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
34
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
195
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
1
answer
248
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 ...
1
vote
0
answers
118
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
104
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 ...