Repository navigation
0.1.0
First release.
Spykeeps every input a test double's requirement is called with and answers as the test scripts: a standing answer, one-off answers queued in front of it (willReturnNext(_:then:)), or an answer worked out from the input.ThrowingSpydoes the same for requirements that throw (willThrow(_:),willGiveNext(_:then:)).- Pure Swift, Foundation only, no dependencies. Safe under Swift 6 strict concurrency, from main-actor and
Sendabletest doubles alike.
Supports iOS 13, macOS 10.15, tvOS 13, watchOS 6, visionOS 1 and Linux.