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

```swift protocol SomeProtocol { init(t: T) } ``` The code generated by the protocol above will have an initializer like below which cause a compiler error. ```swift required init(t: T)...

bug
PR submitted

Currently I wanna make sure that the method `numberOfSections(in:)` just called only once time, any posibilty to make it as `objcVerify(mock, times(1)).numberOfSections(in: tableView))`? thanks 🙏 ```swift // stubbing the class...

enhancement

In the latest Xcode12beta, the following error occurs on the Carthage build and this The library could not be built, Carthage's error log is below. ```bash Build Failed Task failed...

bug

```swift protocol SomeProtocol { associatedtype T func someMethod(closure: @escaping () -> Void) } ``` The `DefaultImplCaller` generated by the protocol above is like below. ```swift class DefaultImplCaller: SomeProtocol { private...

bug

Forces the generator to exit with exit code 1 when input files aren't found. This will cause the xcode build to stop if files aren't found. Resolves #297

I've just updated to 1.4.0 to take advantage of the support of XCode Input Files for inputs. It would be great to have support for Input File Lists as well....

We should add a support for configuring Cuckoo generator with YAML file (using [Yams](https://github.com/jpsim/Yams)). This will make it easier to configure and run the generator as well as adding new...

The code generated by the library is not formatted properly. A lot of extra new lines are present in the code. Example snippet attached along-with: ``` class MockRequestable: Requestable, Cuckoo.ProtocolMock...

enhancement
good first issue

It seems like running Cuckoo's `generate` command doesn't propagate any status code via `exit` when it fails, and we can't catch any errors during mock generation to, say, stop a...

bug
good first issue