Skip to content

Conversation

@stmontgomery
Copy link
Contributor

This updates the Swift Package Manager "Getting Started" page to showcase usage of Swift Testing instead of XCTest.

In conjunction with this changes to the website content, I am updating the linked example package repo in swiftlang/swift-getting-started-package-library#4.

Motivation:

Swift Testing is generally recommended over XCTest now for new packages.

Modifications:

  • Update the test file to replace XCTest usage with analogous Swift Testing test code.
  • Update the example console output to emphasize Swift Testing.

Result:

The article now shows Swift Testing.

@stmontgomery stmontgomery requested a review from a team as a code owner August 1, 2025 19:38
@heckj heckj merged commit bfbf121 into swiftlang:main Aug 1, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants