Packages for keyword “testing”
These packages are available as a package collection, usable in Xcode or SwiftPM.
swift-mocking
A compact swift mocking library powered by parameter packs.
SwiftMockk
A Mocking Library inspired by Mockk from Kotlin for creating mocks
VaporTestTools
Make testing Vapor 3 apps easy
AsyncTesting
Testing async code with Swift Concurrency
Dejavu
Mocking for Swift network requests
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
SwiftAsyncAssert
Assert functions to evaluate Swift concurrency async expressions in XCTests.
SwiftDebt
Swift CLI and libraries for tech debt metrics testing analysis
swift-fakable
A Swift Macro that generates a fake() factory method for test fixtures
ParameterizedTesting
A Swift library for generating and running parameterized run-time tests
swift-test-doubles
Runtime protocol test doubles for Swift. No macros, code generation, or compiler invocations.
t
🧪 Quickly test expectations
MockableMacros
Mocking package for swift using macros
WebKitTestWorkarounds
Opt-in workarounds for WKWebView tests.
XCTAssertCrash
Asserts that an expression crashes by using Mach Exception Handler or POSIX Signal Handler.
Axt
SwiftUI view testing library
EtudeKit
A LilyPond→MIDI engine and SwiftUI app that teaches software testing — the git history is the course
hegel-swift
Property-based testing for Swift, powered by Hegel (Antithesis's PBT engine, from the Hypothesis developers)