Skip to content

Conversation

stmontgomery
Copy link
Contributor

This adds a mention of the testing library's module name (import Testing) and its presence in officially-supported Swift toolchains in the README.

Motivation:

Some users have been confused about whether they need to declare a package dependency on the swift-testing package to use Swift Testing. It's included in Swift toolchains for officially-supported platforms, so we generally do not recommend declaring such a package dependency, and doing so can lead to a degraded experience with integrated tools.

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

@stmontgomery stmontgomery added this to the Swift 6.x (main) milestone Jul 22, 2025
@stmontgomery stmontgomery self-assigned this Jul 22, 2025
@stmontgomery stmontgomery requested a review from grynspan as a code owner July 22, 2025 15:37
@stmontgomery stmontgomery added the documentation 📚 Improvements or additions to documentation label Jul 22, 2025
@stmontgomery stmontgomery requested a review from briancroom as a code owner July 22, 2025 15:37
@stmontgomery stmontgomery added the enhancement New feature or request label Jul 22, 2025
Copy link
Contributor

@iamleeg iamleeg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good: it's always best to tell people what they should do before telling them what they don't need to do.

@stmontgomery stmontgomery merged commit 8517508 into swiftlang:main Jul 22, 2025
@stmontgomery stmontgomery deleted the README-getting-started branch July 22, 2025 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation 📚 Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants