Cuckoo
Cuckoo copied to clipboard
Boilerplate-free mocking framework for Swift!
Is it possible to use Cuckoo in a product target using SPM? In our project we usually use Mocks not only in UnitTests but also to render swift ui views...
Hello, First of all thanks for all the good work, guys. We've been using Cuckoo as a cocoapod for a long time now and we're currently in a process of...
Hello, I create a `Cuckoo Mock` for this `protocol` . I precise that `ViewModel` is a `Class`. ``` protocol TravelersViewModelProtocol where Self: ViewModel { var membersDetailsCellViewModel: ParticipantsCellViewModel { get }...
So we've got a rather complex modular architecture type setup. The unfortunate thing about Cuckoo is that it requires you to point to a particular file path in order to...
When a protocol extends `Sendable` the generated mock is not complaint with the concurrency policy. And the following warnings occurs. I cannot guess if this is a bigger issue, because...
Since updating to the latest version, I am getting build errors in GeneratedMocks due to type accessibility. Property cannot be declared public because its type uses an internal type or...
CuckooPluginFile ist overriding all output definitions by setting CUCKOO_OVERRIDE_OUTPUT to an output on the derived data directory. This leads to two unexpected behaviors: - When a global output is defined...
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.6 to 3.2.8. Release notes Sourced from rexml's releases. REXML 3.2.8 - 2024-05-16 Fixes Suppressed a warning REXML 3.2.7 - 2024-05-16 Improvements Improve parse performance by using...
Objc method declare like: ```objc - (BOOL)connectToHost:(NSString*)host onPort:(uint16_t)port error:(NSError **)errPtr; ``` Bridged to swift: ```swift func connectTo(host: on port:) throws -> Bool ``` So how do stub a method like...
Hello, I'm trying to migrate to v2 using SPM with a package.swift file. I'm updating the dependency to 2.0.9 ```.package(url: "https://github.com/Brightify/Cuckoo.git", exact: "2.0.9"),``` But then I don't have access to...