Cuckoo icon indicating copy to clipboard operation
Cuckoo copied to clipboard

Boilerplate-free mocking framework for Swift!

Results 120 Cuckoo issues
Sort by recently updated
recently updated
newest added

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...

enhancement
good first issue

enhancement
good first issue

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...

good first issue

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...

enhancement
good first issue
awaiting response

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...

enhancement
good first issue

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 }...

bug
good first issue
awaiting response

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...

enhancement
good first issue

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...

enhancement
PR submitted