Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

swiftlang/swift-testing

A modern, expressive testing package for Swift

swiftlang/swift-testing 对新手友好吗?

近 30 天,swiftlang/swift-testing 合并了外部贡献者提交的 47 个 PR 中的 35 个,维护者通常 1 天内回复。 目前没有开放的新手友好 issue,下方列出了我们收录的该仓库的其他 issue。

星标
2.2k
派生
169
开放的新手 issue
0
已索引 issue
72
平均合并
1 天 1 小时
30 天内合并 PR
36
主要语言
Swift
许可证
Apache-2.0
最近 GitHub push
2026年10月14日
最近索引
2026年9月19日
贡献指南
贡献指南
行为准则
行为准则
新手标签
help wanted good first issue

如何为 swiftlang/swift-testing 做贡献

  1. 先读贡献指南:它说明了维护者希望如何提出、测试和评审改动。
  2. 项目提供 Dockerfile 或 Docker Compose 文件,不必安装整套工具链就能跑起来。
  3. 读一下行为准则:它同样适用于 issue 和 PR,而不只是聊天。
  4. 关注这个仓库,有新的新手友好 issue 时就能知道;也可以看看下方的其他 issue。
正在加载 Issue

可能已有人在做的 issue 排在最后。 全部按时间排序

  • Define handling for XML 1.0 disallowed control characters in JUnit output
    可能重新可做 @Hokila 于 35 天前认领,目前没有进行中的 PR。 未关闭
    bug swiftpm-integration tools integration

    swiftlang/swift-testing#1917 · 2 条评论 · 已指派 1 人 ·

    维护者通常 1 天内回复

  • Expose Test.Case.arguments as public API in Swift Testing
    未关闭
    enhancement

    难度 5/5 一周以上 新手友好度 38/100

    swiftlang/swift-testing#1889 · 6 条评论 ·

    维护者通常 1 天内回复

  • Add a GHA workflow to test our CMake build
    可能重新可做 @finagolfin 于 230 天前认领,目前没有进行中的 PR。 未关闭
    bug build github_actions macros

    swiftlang/swift-testing#1614 · 14 条评论 · 已指派 1 人 ·

    维护者通常 1 天内回复

  • Support NonisolatedNonsendingByDefault
    可能重新可做 @stmontgomery 于 247 天前认领,目前没有进行中的 PR。 未关闭
    concurrency enhancement tech-debt

    swiftlang/swift-testing#1570 · 7 条评论 · 已指派 2 人 ·

    维护者通常 1 天内回复

  • Support for granular OOP control of domain-layered test
    未关闭
    enhancement

    难度 5/5 一周以上 新手友好度 35/100

    swiftlang/swift-testing#1432 · 2 条评论 ·

    维护者通常 1 天内回复

  • Add image attachments support for Wasm (JavaScript)
    可能重新可做 @grynspan 于 357 天前认领,目前没有进行中的 PR。 未关闭
    attachments/activities cross-import-overlays enhancement help wanted image-attachments wasi/wasm

    swiftlang/swift-testing#1387 · 2 条评论 · 已指派 1 人 ·

    维护者通常 1 天内回复

  • Add support for Android
    可能重新可做 @compnerd 于 372 天前认领,目前没有进行中的 PR。 未关闭
    android enhancement help wanted new-platform-support

    swiftlang/swift-testing#1366 · 8 条评论 · 1 个 reaction · 已指派 3 人 ·

    维护者通常 1 天内回复

  • Add image attachments support using the Android NDK
    未关闭
    android attachments/activities cross-import-overlays enhancement help wanted image-attachments

    难度 5/5 一周以上 新手友好度 25/100

    swiftlang/swift-testing#1278 · 9 条评论 ·

    维护者通常 1 天内回复

  • Add image attachments support using GTK
    可能重新可做 @grynspan 于 429 天前认领,目前没有进行中的 PR。 未关闭
    attachments/activities cross-import-overlays enhancement freebsd help wanted image-attachments linux openbsd

    swiftlang/swift-testing#1277 · 1 条评论 · 已指派 1 人 ·

    维护者通常 1 天内回复

  • Add image attachments support using Qt
    可能重新可做 @grynspan 于 429 天前认领,目前没有进行中的 PR。 未关闭
    attachments/activities cross-import-overlays enhancement freebsd help wanted image-attachments linux openbsd

    swiftlang/swift-testing#1276 · 3 条评论 · 1 个 reaction · 已指派 1 人 ·

    维护者通常 1 天内回复

  • Diffing for equality (e.g. ==) expressions in expectations
    未关闭
    enhancement issue-handling

    难度 5/5 一周以上 新手友好度 30/100

    swiftlang/swift-testing#1271 · 2 条评论 · 1 个 reaction ·

    维护者通常 1 天内回复

  • Recording issues from non-test targets
    未关闭
    enhancement

    难度 5/5 一周以上 新手友好度 25/100

    swiftlang/swift-testing#1264 · 1 条评论 · 1 个 reaction ·

    维护者通常 1 天内回复

  • Console output should clarify when a test is unfinished
    未关闭
    command-line experience enhancement triaged

    难度 5/5 一周以上 新手友好度 35/100

    swiftlang/swift-testing#1235 · 5 条评论 ·

    维护者通常 1 天内回复

  • Change `_read` to `yielding borrow`
    可能重新可做 @grynspan 于 480 天前认领,目前没有进行中的 PR。 未关闭
    attachments/activities discovery enhancement exit-tests public-api triaged

    swiftlang/swift-testing#1186 · 2 条评论 · 已指派 1 人 ·

    维护者通常 1 天内回复

  • Expand documentation discussion about .serialized and global actors
    未关闭
    concurrency documentation enhancement triaged

    难度 3/5 1-2 天 新手友好度 48/100

    swiftlang/swift-testing#1151 · 1 条评论 ·

    维护者通常 1 天内回复

  • Make it easier to search for test failures in a log from CI
    未关闭
    command-line experience enhancement issue-handling

    难度 3/5 1-2 天 新手友好度 25/100

    swiftlang/swift-testing#1144 · 4 条评论 ·

    维护者通常 1 天内回复

  • swift-testing build fails to load TestingMacros on Windows
    未关闭
    bug build windows

    难度 4/5 3-5 天 新手友好度 35/100

    swiftlang/swift-testing#1137 · 2 条评论 ·

    维护者通常 1 天内回复

  • Allow using 'withKnownIssue' as a test or suite trait
    可能重新可做 @stmontgomery 于 513 天前认领,目前没有进行中的 PR。 未关闭
    enhancement issue-handling public-api traits triaged

    swiftlang/swift-testing#1132 · 8 条评论 · 已指派 1 人 ·

    维护者通常 1 天内回复

  • Add a built-in trait for creating a temporary directory scoped to a test
    可能重新可做 @stmontgomery 于 529 天前认领,目前没有进行中的 PR。 未关闭
    cross-import-overlays enhancement public-api traits triaged

    swiftlang/swift-testing#1113 · 2 条评论 · 已指派 1 人 ·

    维护者通常 1 天内回复

  • Augment `.serialized` trait
    未关闭
    enhancement traits triaged

    难度 5/5 一周以上 新手友好度 30/100

    swiftlang/swift-testing#1112 · 1 条评论 ·

    维护者通常 1 天内回复

  • Crashing tests result in empty xunit output with Swift Testing
    未关闭
    bug

    难度 4/5 3-5 天 新手友好度 45/100

    swiftlang/swift-testing#1110 · 8 条评论 · 2 个 reaction ·

    维护者通常 1 天内回复

  • Expose parallelism
    未关闭
    concurrency enhancement

    难度 5/5 一周以上 新手友好度 30/100

    swiftlang/swift-testing#1086 · 2 条评论 ·

    维护者通常 1 天内回复

  • thrown error from a naked try (not inside #expect/#require) from a test does not report correct line number
    未关闭
    enhancement issue-handling

    难度 4/5 3-5 天 新手友好度 35/100

    swiftlang/swift-testing#1079 · 2 条评论 ·

    维护者通常 1 天内回复

  • Automatically determine the testing library version instead of hardcoding it, including for release branches
    可能重新可做 @Hokila 于 53 天前认领,目前没有进行中的 PR。 未关闭
    build enhancement help wanted

    难度 4/5 3-5 天 新手友好度 58/100

    swiftlang/swift-testing#1063 · 11 条评论 ·

    维护者通常 1 天内回复

  • Allow tests to differentiate between iterations when ran repeatedly
    未关闭
    enhancement public-api tools integration

    难度 4/5 3-5 天 新手友好度 38/100

    swiftlang/swift-testing#1041 · 7 条评论 ·

    维护者通常 1 天内回复

  • TestingMacros plugin location is inconsistent between platforms
    可能重新可做 @stmontgomery 于 575 天前认领,目前没有进行中的 PR。 未关闭
    build enhancement macros tools integration

    swiftlang/swift-testing#1039 · 6 条评论 · 已指派 1 人 ·

    维护者通常 1 天内回复

  • Introduce conditional trait that support "all must be met" and an "any must be met" to enable the test
    未关闭
    enhancement public-api traits

    难度 5/5 一周以上 新手友好度 25/100

    swiftlang/swift-testing#1034 · 28 条评论 ·

    维护者通常 1 天内回复

  • Add support for Embedded Swift
    未关闭
    embedded-swift enhancement help wanted new-platform-support

    难度 5/5 一周以上 新手友好度 25/100

    swiftlang/swift-testing#977 · 11 条评论 · 9 个 reaction ·

    维护者通常 1 天内回复

  • Expand discussion on when to use #expect vs. #require
    可能重新可做 @iamleeg 于 623 天前认领,目前没有进行中的 PR。 未关闭
    documentation enhancement

    swiftlang/swift-testing#935 · 1 条评论 · 已指派 2 人 ·

    维护者通常 1 天内回复

  • Add support for Cygwin
    未关闭
    enhancement help wanted new-platform-support windows

    难度 5/5 一周以上 新手友好度 25/100

    swiftlang/swift-testing#886 · 1 条评论 ·

    维护者通常 1 天内回复

  • Add support for PlayStation 4 and PlayStation 5
    可能重新可做 @harlanhaskins 于 268 天前认领,目前没有进行中的 PR。 未关闭
    enhancement help wanted new-platform-support playstation

    swiftlang/swift-testing#885 · 3 条评论 · 3 个 reaction · 已指派 1 人 ·

    维护者通常 1 天内回复

  • Add support for Haiku
    未关闭
    enhancement haiku help wanted new-platform-support

    难度 5/5 一周以上 新手友好度 25/100

    swiftlang/swift-testing#884 · 1 条评论 ·

    维护者通常 1 天内回复

  • Add support for Fuchsia
    未关闭
    enhancement fuchsia help wanted new-platform-support

    难度 5/5 一周以上 新手友好度 25/100

    swiftlang/swift-testing#883 · 1 条评论 ·

    维护者通常 1 天内回复

  • Add support for QNX
    未关闭
    enhancement help wanted new-platform-support qnx

    难度 5/5 一周以上 新手友好度 20/100

    swiftlang/swift-testing#868 · 2 条评论 · 1 个 reaction ·

    维护者通常 1 天内回复

  • `swift test` output does not differentiate tests with the same name from different suites
    可能重新可做 @stmontgomery 于 621 天前认领,目前没有进行中的 PR。 未关闭
    command-line experience enhancement

    swiftlang/swift-testing#841 · 5 条评论 · 2 个 reaction · 已指派 1 人 ·

    维护者通常 1 天内回复

  • Adopt `RawSpan` in `Attachable` protocol
    可能重新可做 @grynspan 于 710 天前认领,目前没有进行中的 PR。 未关闭
    attachments/activities enhancement public-api

    swiftlang/swift-testing#818 · 4 条评论 · 1 个 reaction · 已指派 1 人 ·

    维护者通常 1 天内回复

  • Ability to write tests right in the same file
    未关闭
    enhancement

    难度 5/5 一周以上 新手友好度 25/100

    swiftlang/swift-testing#795 · 1 条评论 · 7 个 reaction ·

    维护者通常 1 天内回复

  • `confirmation` reports confirmed zero times, despite being confirmed, when triggered on the Main Actor
    未关闭
    bug concurrency issue-handling

    难度 4/5 3-5 天 新手友好度 38/100

    swiftlang/swift-testing#788 · 5 条评论 ·

    维护者通常 1 天内回复

  • Add support for Nerd Fonts
    可能重新可做 关联的 PR 已关闭且未合并。 未关闭
    command-line experience enhancement help wanted tools integration

    难度 5/5 一周以上 新手友好度 25/100

    swiftlang/swift-testing#702 · 1 条评论 · 1 个 reaction ·

    维护者通常 1 天内回复

  • Ability to uniquely identify a parameterized test
    可能重新可做 @stmontgomery 于 776 天前认领,目前没有进行中的 PR。 未关闭
    enhancement public-api

    swiftlang/swift-testing#671 · 6 条评论 · 已指派 1 人 ·

    维护者通常 1 天内回复

  • Cannot mark suite as @available
    未关闭
    enhancement

    难度 4/5 3-5 天 新手友好度 35/100

    swiftlang/swift-testing#608 · 5 条评论 · 6 个 reaction ·

    维护者通常 1 天内回复

  • Link to tool-specific documentation about adding test resource files
    未关闭
    documentation enhancement

    难度 2/5 1-3 小时 新手友好度 35/100

    swiftlang/swift-testing#562 · 4 条评论 ·

    维护者通常 1 天内回复

  • Add support for Sixel graphics
    可能重新可做 @grynspan 于 828 天前认领,目前没有进行中的 PR。 未关闭
    command-line experience enhancement help wanted linux tools integration

    swiftlang/swift-testing#547 · 7 条评论 · 1 个 reaction · 已指派 1 人 ·

    维护者通常 1 天内回复

  • Write documentation for tools integration ("how to write a CI plugin" sort of thing)
    未关闭
    documentation enhancement tools integration

    难度 3/5 1-2 天 新手友好度 58/100

    swiftlang/swift-testing#546 · 2 条评论 ·

    维护者通常 1 天内回复

  • Capture source location of elements in collection literal test arguments
    可能重新可做 @stmontgomery 于 577 天前认领,目前没有进行中的 PR。 未关闭
    enhancement parameterized-testing

    swiftlang/swift-testing#519 · 6 条评论 · 1 个 reaction · 已指派 1 人 ·

    维护者通常 1 天内回复

  • Support for hosting UI automation tests
    未关闭
    darwin enhancement public-api question

    难度 5/5 一周以上 新手友好度 25/100

    swiftlang/swift-testing#516 · 2 条评论 · 8 个 reaction ·

    维护者通常 1 天内回复

  • Increase information in output.xml
    未关闭
    enhancement public-api tools integration

    难度 3/5 1-2 天 新手友好度 45/100

    swiftlang/swift-testing#505 · 7 条评论 · 1 个 reaction ·

    维护者通常 1 天内回复

  • Performance Testing
    未关闭
    enhancement public-api question

    难度 5/5 一周以上 新手友好度 25/100

    swiftlang/swift-testing#492 · 6 条评论 · 6 个 reaction ·

    维护者通常 1 天内回复

  • Public API for observing test events
    未关闭
    enhancement public-api tools integration

    难度 5/5 一周以上 新手友好度 25/100

    swiftlang/swift-testing#469 · 5 条评论 ·

    维护者通常 1 天内回复

  • test process bootstrap/async setup hook
    未关闭
    enhancement tools integration

    难度 5/5 一周以上 新手友好度 35/100

    swiftlang/swift-testing#328 · 8 条评论 · 3 个 reaction ·

    维护者通常 1 天内回复

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。