Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-14380] Allow to configure in SwiftPM which targets to include in code coverage results #4442

Open
swift-ci opened this issue Mar 21, 2021 · 1 comment

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-14380
Radar rdar://problem/75697514
Original Reporter Koninis (JIRA User)
Type New Feature
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels New Feature
Assignee None
Priority Medium

md5: 4a5238d169739fae8267e1b589ce3cd4

Issue Description:

When executing tests using the SwiftPM, the code coverage results include all targets (including testing and dependencies targets).

Using an Xcode project I can configure a scheme to gather coverage for some targets only. But there's no such option when executing tests with SwiftPM.
It would be useful if we could configure which targets to include in code coverage results and have feature parity with xcodebuild.

This has also been discussed in https://forums.swift.org/t/gather-coverage-for-some-targets-with-swift-packages/31142.

@typesanitizer
Copy link

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants