Packages for keyword “mock”
These packages are available as a package collection, usable in Xcode or SwiftPM.
swift-snapshot
SwiftSnapshot converts in-memory objects into compilable Swift code that you can commit, diff, and reuse anywhere: no JSON, no decoding, just Swift.
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