Skip to content

Update package templates to use Swift Testing in the toolchain rather than as a package dependency. #7872

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

Merged

Conversation

grynspan
Copy link
Contributor

@grynspan grynspan commented Aug 12, 2024

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.

… than as a package dependency.

This PR updates the various package and test target templates (accessible via
`swift package init` and `swift package add-target`) 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
Copy link
Contributor Author

@swift-ci test

@grynspan
Copy link
Contributor Author

@swift test

@grynspan
Copy link
Contributor Author

@swift-ci test

@grynspan
Copy link
Contributor Author

@swift-ci test Windows

@grynspan
Copy link
Contributor Author

@swift-ci test

@grynspan
Copy link
Contributor Author

@swift-ci please test

@grynspan
Copy link
Contributor Author

@swift-ci test Windows

@grynspan
Copy link
Contributor Author

@swift-ci test

@grynspan
Copy link
Contributor Author

@swift-ci test Windows

@grynspan
Copy link
Contributor Author

@swift-ci test

@grynspan
Copy link
Contributor Author

@swift-ci test Windows

@grynspan
Copy link
Contributor Author

@swift-ci please test

@grynspan
Copy link
Contributor Author

@swift-ci test Windows

@grynspan
Copy link
Contributor Author

See also swiftlang/swift-integration-tests#146

@grynspan
Copy link
Contributor Author

@swift-ci please test

@grynspan
Copy link
Contributor Author

@swift-ci test Windows

@grynspan
Copy link
Contributor Author

@swift-ci please test Linux

@grynspan
Copy link
Contributor Author

@swift-ci test

@grynspan
Copy link
Contributor Author

@swift-ci test Windows

@grynspan grynspan merged commit 9f13aba into main Aug 23, 2024
5 checks passed
@grynspan grynspan deleted the jgrynspan/update-package-templates-to-use-swift-testing branch August 23, 2024 17:50
grynspan added a commit that referenced this pull request Aug 23, 2024
…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 added a commit that referenced this pull request Aug 23, 2024
…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.
bnbarham pushed a commit that referenced this pull request Aug 24, 2024
…rather than as a package dependency. (#7910)

**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](rdar://128272585)
**Original PR:**
#7872
**Risk:** Moderate
**Testing:** Original PR tested with toolchain builds.
**Reviewer:** @bnbarham @briancroom @xedin
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants