| What it is | Create and run unit tests, performance tests, and UI tests for your Xcode project | Expressive and intuitive APIs that make testing your Swift code a breeze |
| Kind | Open source | Open source |
| Trust | 0.55 | 0.69 |
| Stars | 1188 | 2181 |
| Last commit | 2026-10-26 | 2026-11-19 |
| Licence | Apache-2.0 WITH Swift-exception | Apache-2.0 WITH Swift-exception |
| Pricing | Free | Free and open source |
| Free tier | Yes | Yes |
| Self-hostable | Yes | Yes |
| Ways to run it | - XCTest in Xcode (self-hosted, proprietary): free with Xcode
You arrange: a Mac with Xcode - swift-corelibs-xctest (self-hosted, Apache-2.0 WITH Swift-exception): free
| — |
| SOC 2 | — | — |
| HIPAA | — | — |
| SSO | — | — |
| API | — | — |
| Plugins | — | — |
| MCP server | — | — |
| Company | Apple public company (NASDAQ:AAPL) | The Swift Project and Apple public company (NASDAQ:AAPL) |
| Features | - XCTestCase test classes with setUp and tearDown
- assertions that record failures with optional messages
- asynchronous tests with expectations
- performance tests that measure blocks of code
- UI tests that drive an app's interface (XCUIApplication)
- activities and attachments in test reports
- integrated with Xcode's test navigator and xcodebuild
- swift-corelibs-xctest runs the same tests on Linux, Windows and other Swift platforms through swift test
| - @Test and @Suite macros
- #expect and #require that capture evaluated values on failure
- traits for conditions, OS versions and time limits
- tags and test suites for organization
- descriptive test names
- parameterized tests
- Swift Concurrency support and parallel execution by default
- included in Swift toolchains: no package dependency needed
- All 10 features
|