Packages for keyword “stub”
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!
RealHTTP
🌀swift async http client - fast, lightweight, type-safe
SBTUITestTunnel
Enable network mocks and more in UI Tests
SpryKit
Spry is a framework that allows spying and stubbing in Apple's Swift language. Also included is a XCTAsserts for the spied objects
InstantMock
Create mocks easily in Swift
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.
LocalServer
Simulate your Server APIs locally without Internet connectivity required
Stubber
A minimal method stub for Swift
Replacer
An easy-to-use library to stub HTTP requests using URLSession and to swizzle methods
Mokka
A collection of helpers to make it easier to write testing mocks in Swift.
11 packages.