Packages for keyword “mock”
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!
Cuckoo
Boilerplate-free mocking framework for Swift!
Mockingbird
A Swifty mocking framework for Swift and Objective-C.
swiftymocky
Framework for automatic mock generation. Adds a set of handy methods, simplifying testing. One of the best and most complete solutions, including generics support and much more.
CoreBluetoothMock
Mocking library for CoreBluetooth framework.
MockingKit
Mock Swift protocols and classes.
SpryKit
Spry is a framework that allows spying and stubbing in Apple's Swift language. Also included is a XCTAsserts for the spied objects
NetworkMonitor
Network Monitor SDK for iOS
InstantMock
Create mocks easily in Swift
MockUserDefaults
Mocking UserDefaults for tests
Faketooth
BLE simulation for iOS platform
Frisbee
Another network wrapper for URLSession. Built to be simple, small and easy to create tests at the network layer of your application.
NetworkSpectator
A network monitoring and intercepting Swift library to observe and inspect network traffic during development and testing. It is an interceptor tool which captures requests and responses, lets browse them and export.
swift-mockable
A Swift Macro that generates mock classes from protocols for testing.
swift-mocking
Swift macros for generating mocks.
LocalServer
Simulate your Server APIs locally without Internet connectivity required
SwiftMockk
A Mocking Library inspired by Mockk from Kotlin for creating mocks
HTTPMock
Lightweight HTTP mocking for Swift
MockImagePicker
Mock UIImagePickerController for testing camera based UI in simulator
swift-mocking
A compact swift mocking library powered by macros and parameter packs.