Packages for keyword “testing”
These packages are available as a package collection, usable in Xcode or SwiftPM.
KassiOS
Kaspresso-style UI testing for iOS — a readable XCUITest DSL with implicit waits, flaky-safety, and zero dependencies.
swift-bylaws
Architectural linting for Swift developers and coding agents
SwiftSimctl
Swift client-server tool to call xcrun simctl from your simulator. Automate push notification testing!
LoremSwiftify
Swift Macro that generates realistic mock/fake data for structs, classes, and enums — perfect for SwiftUI previews and snapshot tests
MirrorDiffKit
Graduation from messy XCTAssertEqual messages.
spfk-testing
Shared test fixtures, tags and helpers for the Spongefork packages' tests.
swift-snapshot-testing-macros
A Swift Macro library for generating snapshot tests from functions
testcontainers-swift
Testcontainers for Swift — disposable Docker containers for integration tests
testify
Testify converts XCTest output into a proper structure (JSON, JUNIT, MD, GFM), or it'll miserably fail. 😉
ApprovalTests.Swift
ApprovalTests for Swift, a powerful alternative to assertions
Elmulator
A scriptable Bluetooth LE and TCP OBD2 (ELM327) adapter emulator and CI test harness. Test your OBD2 app without a car or a physical adapter. MIT.
MutantKit
MutantKit: a native Swift mutation-testing tool
stoic
Robustness primitives for Swift apps: deadlines, retries, scopes, supervision, validation, crash-safe storage, and deterministic simulation testing.
swift-fakes
Test Doubles for Swift
Tablier
A micro-framework for Table Driven Tests.
xctest-extensions
Useful XCTest extensions for Swift
swift-fixtures
A Swift macro library that generates fixtures for value types to simplify unit test writing
DangerSwiftCoverage
Show the coverage of the modified/created files on your PRs.
MockImagePicker
Mock UIImagePickerController for testing camera based UI in simulator
SwiftBLEKit
The missing testable Core Bluetooth layer for Apple platforms.