swiftlang/swift-testing
A modern, expressive testing package for Swift observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 99
- Release rhythm 83
- Longevity 96
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 27
- age_days: 1353
- days_rel: 112
- days_push: 7
- n_releases_24m: 16
Adoption not part of the score
2156 stars · 161 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Swift Testing is a modern testing package for Swift with expressive, macro-based APIs like #expect for writing unit tests. It supports parameterized tests, custom traits, tagging, and parallel execution integrated with Swift Concurrency.
Use cases
- write unit tests for swift code
- run parameterized tests over collections of values
- run tests in parallel with swift concurrency
- tag and organize tests into suites
- skip or enable tests conditionally with traits
- replace xctest with a modern testing framework
When to choose
- you are writing Swift or Swift on Server projects and want modern, expressive test APIs
- you need parameterized or trait-based test customization
- you want tests that run in parallel using Swift Concurrency
When to avoid
- you need a testing framework for a non-Swift language
- you depend on legacy XCTest-only tooling or integrations
Facets
library · maturity active
testing testing developer-tools programming-languages cross-platform unit-testing swift-macros parameterized-tests swift-concurrency apple swift macos linux
1 source
- readme: https://github.com/swiftlang/swift-testing · fetched 2026-08-28 · 18b864b90c8b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| swiftlang/swift-testing | main | 93 |
For agents
markdown · JSON · MCP: product_card(name="swiftlang/swift-testing")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem