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
MockingKit
Mock Swift protocols and classes.
Guise
An elegant, flexible, type-safe dependency resolution framework for Swift
InstantMock
Create mocks easily in Swift
Frisbee
Another network wrapper for URLSession. Built to be simple, small and easy to create tests at the network layer of your application.
testify
Testify converts XCTest output into a proper structure (JSON, JUNIT, MD, GFM), or it'll miserably fail. 😉
XCTestExtension
A collection of additional assertion methods for `XCTest` framework.
SwiftMockk
A Mocking Library inspired by Mockk from Kotlin for creating mocks
SwiftUseCase
SwiftUseCase is library for creating independent & test coverable use-cases with a powerful execution API.
Tablier
A micro-framework for Table Driven Tests.
HTTPMock
Lightweight HTTP mocking for Swift
SwiftFixture
A tool to help you in writing clean and concise unit tests by standardizing the creation of fixture values.
EGTest
EGTest - a package for parameterized testing in Swift
ParameterizedTesting
A Swift library for generating and running parameterized run-time tests