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
XCTestHTMLReport
Xcode-like HTML report for Unit and UI Tests
Cuckoo
Boilerplate-free mocking framework for Swift!
swift-spyable
Swift macro that simplifies and automates the process of creating spies for testing
MockingKit
Mock protocols and classes in Swift.
Fakery
:alien: Swift fake data generator
dd-sdk-swift-testing
Datadog Test Optimisation framework for Swift / ObjC
Frisbee
Another network wrapper for URLSession. Built to be simple, small and easy to create tests at the network layer of your application.
InstantMock
Create mocks easily in Swift
swift-mocking
A compact swift mocking library powered by parameter packs.
Guise
An elegant, flexible, type-safe dependency resolution framework for Swift
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.
Tablier
A micro-framework for Table Driven Tests.
SwiftFixture
A tool to help you in writing clean and concise unit tests by standardizing the creation of fixture values.
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.
EGTest
EGTest - a package for parameterized testing in Swift