Cuckoo
Cuckoo copied to clipboard
Boilerplate-free mocking framework for Swift!
It turns out that now mocked object is not thread safe due to internal mock manager object whose implementation is not thread safe. That can cause problems when one needs...
I am generating mocks and dropping them in a separate target from my unit tests (so they can be shared among multiple test targets). The generated functions on `__VerificationProxy` and...
I am trying to mock a protocol inheriting from `NSObjectProtocol`. This seems like a common scenario, but I don't see it mentioned. 1. The fist issue is, I need to...
Hello, Is there an option in Cuckoo to use `after` or other `delay` option with matcher? Something similar to: [VerificationAfterDelay](https://static.javadoc.io/org.mockito/mockito-core/2.6.5/org/mockito/verification/VerificationAfterDelay.html) For now I combined it with `expectations` but I am...
I have the following parent protocol and protocol that inherits from it: ```swift public protocol ViewableRoute: Route { var transition: Transition { get } var viewController: UIViewController { get }...
Trying to mock this protocol: ```swift @objc protocol Example { @objc optional var ignore: String { get } } ``` Generates mock class with compilation error: ```swift var ignore: String...
Hey just tried to join the slack and this link in the Read Me to the slack workspace invitation is broken. :( https://swiftkit.brightify.org/ it's returning a 502.
Hi all, My team wants to slowly integrate the Cuckoo framework into our project for generating mocks. We want to support tests that still use our own mocks and new...