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-7832] Default executable SwiftPM package should have tests #4799

Closed
ankitspd opened this issue May 31, 2018 · 1 comment
Closed

[SR-7832] Default executable SwiftPM package should have tests #4799

ankitspd opened this issue May 31, 2018 · 1 comment
Labels

Comments

@ankitspd
Copy link
Member

Previous ID SR-7832
Radar rdar://problem/36554558
Original Reporter @aciidb0mb3r
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug, StarterBug
Assignee None
Priority Medium

md5: eba7317dcd67b6c03f9b303e977ef305

Issue Description:

`swift package init` generates a project with a test target, but `swift package init --type executable` does not. This should be fixed.

Since it is not possible to import executable targets in test targets, I think we should provide a test target which tests the executable target using the Foundation Process APIs.

@ankitspd
Copy link
Member Author

Resolved with #1610

@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
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant