Packages for keyword “testing”
These packages are available as a package collection, usable in Xcode or SwiftPM.
swift-mockable
A Swift Macro that generates mock classes from protocols for testing.
swift-mocking
Swift macros for generating mocks.
xc-snapshot-testing
[XCTest] 📸 Test less. Snap once. Stay pixel-perfect everywhere. 🖼️✨
ApprovalTests.Swift
ApprovalTests for Swift, a powerful alternative to assertions
Dejavu
Mocking for Swift network requests
SwiftAsyncStream
Experimental implementations of AsyncSignal, ValueSubject, PassthroughSubject and AsyncExpectation
SwiftMockk
A Mocking Library inspired by Mockk from Kotlin for creating mocks
swift-snapshot-testing
[Swift Testing] 📸 Test less. Snap once. Stay pixel-perfect everywhere. 🖼️✨
Tablier
A micro-framework for Table Driven Tests.
SwiftSimctl
Swift client-server tool to call xcrun simctl from your simulator. Automate push notification testing!
DangerSwiftCoverage
Show the coverage of the modified/created files on your PRs.
MockImagePicker
Mock UIImagePickerController for testing camera based UI in simulator
snapshotino
A lightweight, low-barrier-to-entry snapshot testing library for iOS
swift-mocking
A compact swift mocking library powered by macros and parameter packs.
VaporTestTools
Make testing Vapor 3 apps easy
AsyncTesting
Testing async code with Swift Concurrency
DiffedAssertEqual
Assert equality in tests. Get a textual diff for inequality
InjectableLoggers
A nice set of protocols that will help logger(s) at being loosely coupled, injectable and testable.
MockDuck
A network mocking layer for iOS, tvOS, and macOS
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.