Packages for keyword “testing”
These packages are available as a package collection, usable in Xcode or SwiftPM.
Dejavu
Mocking for Swift network requests
snapshotino
A lightweight, low-barrier-to-entry snapshot testing library for iOS
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
ParameterizedTesting
A Swift library for generating and running parameterized run-time tests
t
🧪 Quickly test expectations
MockableMacros
Mocking package for swift using macros
XCTAssertCrash
Asserts that an expression crashes by using Mach Exception Handler or POSIX Signal Handler.
Axt
SwiftUI view testing library
MockSix
Mocking microframework for Swift
SSpec
Behavior Driven Development in Swift
SwiftAsyncAssert
Assert functions to evaluate Swift concurrency async expressions in XCTests.
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.
CombineTesting
A Swift package to allow easy testing of Combine components.
Scout
Easier, dynamic mocking for Swift.
TestURLProtocol
A URLProtocol Subclass for testing purposes
XCTestStarterKit
Lightweight Starter Utilities for Swift project testing with XCTest