Skip to content

Releases: Brightify/Cuckoo

New Release – 0.11.0

23 Mar 20:04
Compare
Choose a tag to compare
  • Add test for sub protocol method
  • The sort of input files occurred to soon * The files input via options are mapped to Path objects then sorted. This actually happened too soon, since the array is then converted to a Set, then converted back to an Array. The Set conversion changes the order (since it is unordered) and those we lost the effect of the sort. I move the sort to the correct place, which is on the outermost Array so that the inputPathValues array is now correctly sorted.
  • Upgrade Fastfile and podspec. run downloads the latest generator if it's deleted.
  • Make the script a bit more resilient.
  • Fix changelog creating and make commit message ignoring broader.
  • Update Gemfile.
  • Add initial deployer script for deploying release drafts to github.
  • fix(readme): fix typos and grammar
  • doc(readme): add precision on custom matchers
  • Fix CI-status badge
  • Updated readme run script
  • Make the bash script safe to use with names that contain spaces.
  • Fixes a regression introduced in 96ebbbf * There was an attempt to make the file order deterministic, but the sorting that was added only worked if all mocks were generated in a single file. If generated to a path, which creates a file per mock, the filenames and the file contents did not match. Solution was to sort the set of paths passed in as options instead, moving the sorting a little earlier than before.
  • Fix sameInstance(as:) ambiguous reference compile-time error.
  • Added test-cases for excluding Classes and Protocols from Mock stub generation
  • Added ParameterMatcher for (optional) throwing closures and optionals, e.g. anyThrowingClosure(), anyOptionalThrowingClosure and null() Added Acceptance test for inheritance stubbing and verifying
  • Adding support for overloaded method names
  • Add a few more tests.
  • Change get in property verification to method instead of a property.
  • Remove TemplateEncoder and change Spy behavior.
  • Don't test iOS for now.
  • Disable signing.
  • Remove workspace and improve project setup.

0.6.0

02 Jul 13:13
Compare
Choose a tag to compare
  • Added release notes
  • Added stub resetting
  • Added thenCallRealImplementation
  • Added argument capturing
  • Added verifyNoMoreInteractions
  • Added on going stubbing
  • Added thenDoNothing

Developer experience

15 Jun 09:13
Compare
Choose a tag to compare

In this release we added a run script that you can use to easily run Cuckoo generator with ease. We also changed the Cuckoo Generator so that it no longer contains all the different generator versions, which means easier updating and adding new features!

Class and property mocking

11 Feb 21:56
Compare
Choose a tag to compare

In this release we bring you support for mocking classes and properties (both in classes and protocols). To use this functionality, you also need Cuckoo Generator 0.3.0 (if you use Run Script provided in README, it will install itself).

Documentation, yay!

26 Jan 00:29
Compare
Choose a tag to compare

Added documentation to methods meant to be used in tests. Also see the README file for example usage. More documentation coming soon!

Protocol mocking

26 Jan 00:28
Compare
Choose a tag to compare

First release supporting protocol mocking.