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

[6.0] Update package templates to use Swift Testing in the toolchain rather than as a package dependency. #7910

Conversation

grynspan
Copy link
Contributor

Explanation: Changes package templates to use Swift Testing by default instead of XCTest and removes package dependencies on the swift-testing package.
Scope: swift package init, swift package add-target
Issue: N/A
Original PR: #7872
Risk: Moderate
Testing: Original PR tested with toolchain builds.
Reviewer: @bnbarham @briancroom @xedin

…rather than as a package dependency. (#7872)

This PR updates the package templates used by `swift package init` to
use Swift Testing by default where possible, and to not add a package
dependency on the Swift Testing open-source repository since it is now
building in the toolchain.

Resolves rdar://128272585.
@grynspan grynspan added enhancement swift package init Package templates command changes command-line interface swift 6.0 Related to Swift 6.0 release branch swift package `swift package` subcommand labels Aug 23, 2024
@grynspan grynspan self-assigned this Aug 23, 2024
@grynspan grynspan requested a review from a team as a code owner August 23, 2024 18:02
@grynspan
Copy link
Contributor Author

@swift-ci test

@bnbarham bnbarham merged commit 05db61b into release/6.0 Aug 24, 2024
5 checks passed
@bnbarham bnbarham deleted the jgrynspan/update-package-templates-to-use-swift-testing-6.0 branch August 24, 2024 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command-line interface enhancement swift package init Package templates command changes swift package `swift package` subcommand swift 6.0 Related to Swift 6.0 release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants