Releases: seanhenry/MockGenerator
Releases · seanhenry/MockGenerator
Support for AppCode 2022.2
Support for AppCode 2022.1.3
- Fixes breaking changes in AppCode 2022.1.3
Support for AppCode 2020.3
- Fixes breaking changes in AppCode 2020.3
- Is now available in other IDEs with the Swift plugin available.
Support for AppCode 2019.3
v17 Changes module scope
Support for 2019.2
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
- 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
- '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
- 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
totrue
.
AppCode 2018.1.2 support
- Compiles against AppCode 181.4668 to fix no method error.
- Supports methods that use
rethrows
.
Support for generic methods
- Transforms generic method parameters and return values to
Any
type. - Sends anonymous usage statistics.