Skip to content

Releases: seanhenry/MockGenerator

Support for AppCode 2022.2

10 Aug 14:05
Compare
Choose a tag to compare

Support for AppCode 2022.1.3

06 Jul 12:24
Compare
Choose a tag to compare
  • Fixes breaking changes in AppCode 2022.1.3

Support for AppCode 2020.3

16 Dec 16:38
Compare
Choose a tag to compare
  • Fixes breaking changes in AppCode 2020.3
  • Is now available in other IDEs with the Swift plugin available.

Support for AppCode 2019.3

08 Dec 15:38
Compare
Choose a tag to compare
v17

Changes module scope

Support for 2019.2

14 Aug 08:26
Compare
Choose a tag to compare

Updates the plugin to use the new APIs in 2019.2

Previous versions of the plugin will not work with AppCode 2019.2+

Partial spies and 2018.2.4 support

13 Oct 10:20
Compare
Choose a tag to compare
  • Can now generate a 'partial spy'. A partial spy offers the option to forward invocations to the original implementation. Only works for test doubles which inherit from a class.
  • Dummies now generate a fatal error when a default value cannot be derived since dummies are only really meant as placeholders.
  • Tuple argument labels are preserved and accessible when using the invoked parameter properties.
  • Supports AppCode 2018.2.4.

Test doubles

20 May 11:27
Compare
Choose a tag to compare
  • 'Generate mock' has been renamed to 'Generate spy' to fit in better with test double naming.
  • Can now generate a simpler test double when only stubbing is required. Choose 'Generate stub'.
  • Can now generate the simplest possible test double; a dummy. Choose 'Generate dummy'.

Class mock improvements

28 Apr 12:56
Compare
Choose a tag to compare
  • Supports multiple properties in the same declaration.
  • Improved inferred types in properties.
  • Improved error handling.

Breaking changes

  • Closures with no arguments are no longer called automatically. You must now set shouldInvokeMethodClosure to true.

AppCode 2018.1.2 support

25 Apr 01:53
Compare
Choose a tag to compare
  • Compiles against AppCode 181.4668 to fix no method error.
  • Supports methods that use rethrows.

Support for generic methods

26 Feb 11:45
Compare
Choose a tag to compare
  • Transforms generic method parameters and return values to Any type.
  • Sends anonymous usage statistics.