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!
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.
Mockingbird
A Swifty mocking framework for Swift and Objective-C.
SpryKit
Spry is a framework that allows spying and stubbing in Apple's Swift language. Also included is a XCTAsserts for the spied objects
CoreBluetoothMock
Mocking library for CoreBluetooth framework.
MockingKit
A Swift library that lets you easily mock protocols and classes.
NetworkMonitor
Network Monitor SDK for iOS
InstantMock
Create mocks easily in Swift
swift-mocking
Swift macros for generating mocks.
Frisbee
Another network wrapper for URLSession. Built to be simple, small and easy to create tests at the network layer of your application.
MockUserDefaults
Mocking UserDefaults for tests
MockImagePicker
Mock UIImagePickerController for testing camera based UI in simulator
InjectableLoggers
A nice set of protocols that will help logger(s) at being loosely coupled, injectable and testable.
MockSix
Mocking microframework for Swift
NimbleMockSix
Nimble matchers for MockSix
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
19 packages.