Packages for keyword “testing”
These packages are available as a package collection, usable in Xcode or SwiftPM.
MockSix
Mocking microframework for Swift
SPT
A lightweight, automated solution for SwiftUI performance monitoring, profiling, and optimization — delivered as a Swift Package. This is currently in development NOT READY TO USE.
SSpec
Behavior Driven Development in Swift
SwiftFixtures
Type-safe, ergonomic test data factories for Swift. Think FactoryBot for the Swift 6 era.
GherkinGenerator
A Swift library for composing, validating, importing, and exporting Gherkin .feature files programmatically.
swift-gherkin-testing
A native BDD testing framework for Swift. Execute Gherkin .feature files as Swift Testing tests using Swift Macros. No external runtime dependencies. Gherkin v6+ syntax with Cucumber Expressions, 70+ languages, and built-in reporters
SwiftQC
Modern property-based testing for Swift 6+. Find edge cases you'd never think to test manually through automatic test generation and intelligent shrinking to minimal counterexamples.
TimeTravel
Foundation extensions for re-anchoring a Swift Date to a different time zone.
tracera-swift
Tracera swift adapters
unswayed
tatistical parity gate for swapping AI models: freeze a suite, sample every provider, fail CI only on certified regressions with an honest 'undecided' when n can't prove anything
XCRSControlKit
Test runner app for Apple platforms
CombineTesting
A Swift package to allow easy testing of Combine components.
MockableKit
AI-powered mock data generator for Swift. Make Mocks in seconds, not minutes. Generate realistic Decodable mock data from Gemini with zero boilerplate.
Scout
Easier, dynamic mocking for Swift.
VCR
Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
TestURLProtocol
A URLProtocol Subclass for testing purposes
XCTestStarterKit
Lightweight Starter Utilities for Swift project testing with XCTest
Keybro
Keybro - is a quick wrapper for UIKeyCommand. This tool allows easily adding keyboard shortcuts to your app for debugging and testing applications especially in a simulator.
KituraHTTPTest
Swift package to make testing handlers in the Kitura framework super easy
MockCloudKitFramework
A framework for testing of CloudKit operations. It mocks CloudKit classes to provide a seamless way to test CloudKit operations in your App's code.