Packages for keyword “unit-testing”
These packages are available as a package collection, usable in Xcode or SwiftPM.
swift-testing
A modern, expressive testing package for Swift
SwifterSwift
A handy collection of more than 500 native Swift extensions to boost your productivity.
ViewInspector
Runtime introspection and unit testing of SwiftUI views
Cuckoo
Boilerplate-free mocking framework for Swift!
XCTestHTMLReport
Xcode-like HTML report for Unit and UI Tests
swift-spyable
Swift macro that simplifies and automates the process of creating spies for testing
Fakery
:alien: Swift fake data generator
Guise
An elegant, flexible, type-safe dependency resolution framework for Swift
MockingKit
MockingKit is a Swift SDK that lets you easily mock protocols and classes in `Swift`.
InstantMock
Create mocks easily in Swift
XCTestExtension
A collection of additional assertion methods for `XCTest` framework.
Frisbee
Another network wrapper for URLSession. Built to be simple, small and easy to create tests at the network layer of your application.
SwiftFixture
A tool to help you in writing clean and concise unit tests by standardizing the creation of fixture values.
Tablier
A micro-framework for Table Driven Tests.
testify
Testify converts XCTest output into a proper structure (JSON, JUNIT, MD, GFM), or it'll miserably fail. 😉
SwiftUseCase
SwiftUseCase is library for creating independent & test coverable use-cases with a powerful execution API.
EGTest
EGTest - a package for parameterized testing in Swift
ParameterizedTesting
A Swift library for generating and running parameterized run-time tests
t
🧪 Quickly test expectations
DataDrivenTesting
A Swift package that provides data-driven testing functionality for your project.