swiftlang / swiftlang/swift-testing

Update documentation to discuss raw identifiers.

Open
#894 2 comments 1 reaction 1 assignee View on GitHub

@iamleeg is already working on this.

Since Jan 7, 2025.

documentation enhancement raw-identifiers
Dominant language
Swift
Stars
2.2k
Forks
169
Avg merge
1d 18h
Merged PRs (30d)
56

Description

We need to update our documentation, especially around @Suite and @Test, to discuss raw identifiers in place of the displayName argument. In particular, where we currently recommend something like:

@Test("foo bar baz") func f() { ... }

We probably want to offer this instead:

@Test func `foo bar baz`() { ... }

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.