Incomplete coverage reports for multi-target tests #24
Labels
area:build
[issue/PR] affects project files and/or build settings.
area:ci
[issue/PR] affects GitHub Actions.
bug
[issue/PR] reports / solves a bug.
Milestone
Affected version(s)
2.0.15-preview
Is this a regression?
NO - This bug also affected the previous version
Context
When a test project is multi-target, VSTest generates multiple subdirectories under
TestResults
, each with its own coverage report.Expected behavior
The result of merging all coverage reports is uploaded to Codecov.
Actual behavior
Coverage reports are not merged and only one of them is uploaded to Codecov.
How to reproduce
Run either
build-test-pack
orrelease
workflow when a test project is multi-target. Verify that, if there is some code that only runs for one of the targets, coverage never reaches 100%, even though the test project actually covers 100% of the library code.Configuration
n/a
Other information
No response
The text was updated successfully, but these errors were encountered: