Skip to content

Releases: Brightify/Cuckoo

New Release – 1.0.4

17 May 10:23
Compare
Choose a tag to compare
  • The run script doesn't use realpath command anymore because it's not available by default on Mac OS.
  • Remove redundant stubbing of optional classes.

New Release – 1.0.3

16 May 16:53
Compare
Choose a tag to compare
  • Add support for optional read-only properties.

New Release – 1.0.2

16 May 11:41
Compare
Choose a tag to compare
  • Fix where clause that doesn't work in Swift 4.
  • Fix some run script bugs.

New Release – 1.0.1

15 May 15:51
Compare
Choose a tag to compare
  • Fix any() not working anymore by itself with optional parameters in functions.

New Release – 1.0.0

14 May 16:47
Compare
Choose a tag to compare

Features:

  • Generics is now fully supported! This includes generic classes, protocols, and methods.
  • Dictionary matching out of the box.
  • Better closure matching. Now allowing up to 7 parameter closures.
  • rethrows functions now work properly.
  • Classes marked final are automatically ignored.
  • Allow non-optional values to be passed as matchers for Optionals just like in normal Swift code.
  • Add support for inout method parameters.

Fixes:

  • Update the build_generator script to work with Swift 5.
  • Fix not being able to put Optional into functions accepting Optionals.
  • Accessibility of variables and functions in public classes are now public as well.

New Release – 0.13.0

06 May 08:31
Compare
Choose a tag to compare
  • Update cocoapods.
  • Fix warnings when using Swift 5.0
  • Fix errors when using Swift 5.0
  • Improve Xcode 10.2 compatibility.
  • Update FileKit reference

New Release – 0.12.1

23 Feb 15:39
Compare
Choose a tag to compare
  • Add class accessibility support.
  • Add support for attributes (e.g. @available).
  • Add support for subimport (e.g. import struct UICat.Food).
  • Add --clean option to the run script to always build or download the generator (promptly forget to add its documentation to README.md).
  • Ignore final classes (because we mock by inheritance).
  • Smaller fixes and improvements in the whole project.

New Release – 0.12.0

09 Oct 12:11
Compare
Choose a tag to compare
  • Add first draft of a new Mock initialization DSL.
  • Add enableDefaultImplementation to protocol Mock.
  • Reintroduce support for pre-0.11.0 Cuckoo spies.
  • Add regular expression class and protocol matching.
  • Add glob switch that parses input paths as globs enabling for easier project scaling.
  • Build generator by default. Download using --download [VERSION] option.
  • Modify the run bash script to allow the user to build rather than download the cuckoo_generator.
  • Add a debug flag that generates general info above methods when used.
  • Fix escaping closure (crashing in Xcode 10).

New Release – 0.11.3

05 Apr 15:14
Compare
Choose a tag to compare
  • Make sure we keep the cuckoo_generator in the Pods/Cuckoo dir.

New Release – 0.11.2

04 Apr 09:27
Compare
Choose a tag to compare
  • Fix handling of access_token and username in Fastfile.
  • Make sure we bundle Swift runtime with the released generator.
  • Disable bitcode