Packages for keyword “mock”
These packages are available as a package collection, usable in Xcode or SwiftPM.
Faketooth
BLE simulation for iOS platform
HTTPMock
Lightweight HTTP mocking for Swift
InjectableLoggers
A nice set of protocols that will help logger(s) at being loosely coupled, injectable and testable.
MockableKit
AI-powered mock data generator for Swift. Make Mocks in seconds, not minutes. Generate realistic Decodable mock data from Gemini with zero boilerplate.
MockSix
Mocking microframework for Swift
NimbleMockSix
Nimble matchers for MockSix
SwiftFixtures
Type-safe, ergonomic test data factories for Swift. Think FactoryBot for the Swift 6 era.
Mokka
A collection of helpers to make it easier to write testing mocks in Swift.
Scout
Easier, dynamic mocking for Swift.
TestURLProtocol
A URLProtocol Subclass for testing purposes