swiftlang/swift-corelibs-xctest
The XCTest Project, A Swift core library for providing unit test support observed · 2026-08-28
Health v2 · maintenance only
74/100
- Activity 99
- Release rhythm 28
- Longevity 100
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: 80.5
- age_days: 3950
- days_rel: 466
- days_push: 8
- n_releases_24m: 3
Adoption not part of the score
1189 stars · 276 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
The open-source Swift core library providing the XCTest unit testing framework for Swift packages and applications across all platforms Swift supports. It implements the XCTest APIs from Xcode 7+ and integrates with Swift Package Manager via `swift test`.
Use cases
- write unit tests for swift packages
- run swift tests on linux
- cross-platform testing for swift code
- use xctest outside of xcode
- run a single test method from the command line
- list available tests as json
When to choose
- you are developing a SwiftPM package and want `swift test` support
- you need to run XCTest-based tests on Linux or other non-Apple platforms
- you want a common unit testing API across all Swift-supported platforms
When to avoid
- you only develop for Apple platforms and can use the Xcode-bundled XCTest directly
- you need UI or integration testing rather than unit testing
- you need testing APIs newer than the Xcode 7 era subset implemented here
Facets
library · maturity active
testing testing developer-tools programming-languages cross-platform cli xctest unit-testing swift swift-package-manager test-runner linux macos
1 source
- readme: https://github.com/swiftlang/swift-corelibs-xctest · fetched 2026-08-28 · 9a914f63cf35
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| swiftlang/swift-corelibs-xctest | main | 74 |
For agents
markdown · JSON · MCP: product_card(name="swiftlang/swift-corelibs-xctest")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem