Packages for keyword “testing”
These packages are available as a package collection, usable in Xcode or SwiftPM.
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
swift-fakable
A Swift Macro that generates a fake() factory method for test fixtures
SwiftMockk
A Mocking Library inspired by Mockk from Kotlin for creating mocks
swift-snapshot-guard
Snapshot testing for Swift Testing that never passes on a reference it has just recorded.
VaporTestTools
Make testing Vapor 3 apps easy
WebKitTestWorkarounds
Opt-in workarounds for WKWebView tests.
AsyncTesting
Testing async code with Swift Concurrency
Dejavu
Mocking for Swift network requests
DiffedAssertEqual
Assert equality in tests. Get a textual diff for inequality
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)
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.
ParameterizedTesting
A Swift library for generating and running parameterized run-time tests
t
🧪 Quickly test expectations