Packages for keyword “mocking”
These packages are available as a package collection, usable in Xcode or SwiftPM.
OHHTTPStubs
Stub your network requests easily! Test your apps with fake network data and custom response time, response code and headers!
Networking
Swift HTTP Networking with stubbing and caching support
OCMockito
Mockito for Objective-C: creation, verification and stubbing of mock objects
Cuckoo
Boilerplate-free mocking framework for Swift!
MockingKit
Mock protocols and classes in Swift.
swift-mocking
Swift macros for generating mocks.
Mocksmith
A simple mocking framework for Swift
swift-mocking
A compact swift mocking library powered by parameter packs.
Genything
Generate Anything
swift-test-doubles
Runtime protocol test doubles for Swift. No macros, code generation, or compiler invocations.
Dejavu
Mocking for Swift network requests
SwiftMockk
A Mocking Library inspired by Mockk from Kotlin for creating mocks
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.
MockDuck
A network mocking layer for iOS, tvOS, and macOS
MockableMacros
Mocking package for swift using macros
Mokka
A collection of helpers to make it easier to write testing mocks in Swift.
Scout
Easier, dynamic mocking for Swift.
MockCloudKitFramework
A framework for testing of CloudKit operations. It mocks CloudKit classes to provide a seamless way to test CloudKit operations in your App's code.
19 packages.