Packages for keyword “testing”
These packages are available as a package collection, usable in Xcode or SwiftPM.
XCAppTest
Utilities for easier interaction with XCUITest methods
Genything
Generate Anything
GRDBSnapshotTesting
The snapshot testing library for GRDB
swift-bylaws
Architectural linting for Swift developers and coding agents
swift-mocking
A compact swift mocking library powered by parameter packs.
SwiftDebt
Swift CLI and libraries for tech debt metrics testing analysis
SwiftSimctl
Swift client-server tool to call xcrun simctl from your simulator. Automate push notification testing!
swift-test-doubles
Runtime protocol test doubles for Swift. No macros, code generation, or compiler invocations.
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.
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. 😉
TimeTravel
Foundation extensions for re-anchoring a Swift Date to a different time zone.
MutantKit
MutantKit: a native Swift mutation-testing tool
ApprovalTests.Swift
ApprovalTests for Swift, a powerful alternative to assertions
swift-fakes
Test Doubles for Swift
swift-keychain
A testable, type-safe keychain and Secure Enclave for Swift: typed keys, a redacting Secret wrapper, biometric gates without surprise prompts, in-memory doubles. Two swift-dependencies clients, Swift 6.