Brightify Cuckoo Versions Save

Boilerplate-free mocking framework for Swift!

2.0.0

2 weeks ago

It's finally here, the big moment.

Version 2.0 brings the incredible performance of SwiftSyntax to the table along with generator parallelization and easier project configuration using TOML. Caching is planned next, but I didn't want to blow the scope out of proportion.

Contributing should be easier than ever thanks to the streamlined repository setup and a fast feedback loop with any changes done to the source code, be it runtime or generator.

This release also contains fixes for a lot of smaller issues that have irked me but were either impossible or really hard to fix without rewriting the generator.

IMPORTANT: If you're switching to this version, make sure to use the new run script that comes bundled. There are some notable changes like the binary name changing as well as making sure that the generator is the same version as the library. As always you're free to change it or not use it at all, it's just a simple generator manager.

NOTE: This project is quite big and even though I cut down most of the unnecessary stuff while keeping the functionality, there may be some things that have broken due to tests not covering every possible use-case. If you do run into a problem that was introduced in this version, please let me know. Thank you!

image

2.0.0-beta.1

3 months ago

Generator pre-release for beta testing. Since the runtime part has hardly changed, if you want to help me test this release, all you need to do is download the cuckoonator binary below, put it at the root of your project and create Cuckoofile.toml alongside it. Take a look at the README for some guidance on how to structure the TOML configuration file. 🙂

Then just run the binary from the terminal (or as a build phase script) and it will do the rest.

image

I've also created a discussion for this release where you can comment on its speed or correctness, join it down below. 👇

1.10.4

3 months ago
  • Make the project buildable and testable in Xcode 15.
  • Fix manual building for Carthage.

1.10.3

1 year ago
  • Up DEPLOYMENT_TARGETs (thanks, @nanashiki!)
  • Fix String index is out of bounds crash (thanks, @nanashiki!)

1.10.2

1 year ago
  • Support effectful properties (thanks, @kabiroberai!)
  • Fix generator crashing for property wrappers with empty type. (thanks, @kabiroberai!)

1.10.1

1 year ago
  • Fix Generator to handle reserved keywords in parameters (thanks, @sethdeckard!)

1.10.0

1 year ago

NOTE: Even though I've tried testing all supported package managers, this version is the first to be completely converted to using Tuist and as such something could have broken. Open an issue if a regression occurs. 🙂

  • add missing () when closure is an autoclosure (thanks, @stonko1994!)
  • Add support async/await in Protocol with Associated Type. (thanks, @mecoFarid!)
  • Support NSObjectProtocol inheritance for protocol. (thanks, @sk409!)

1.9.1

1 year ago
  • Remove closure argument name for generated code. (thanks, @sk409!)

1.9.0

1 year ago
  • Add support for OCMQuantifier in objcVerify function. (thanks, @ajpallares!)
  • Remove unnecessary await expression in MockTemplate. (thanks, @uebo!)

1.8.1

1 year ago
  • Fix missing attributes for Stubs. (thank you, @rolandkakonyi!)