Skip to content

Releases: seanhenry/SwiftMockGeneratorForXcode

Little updates

19 Jan 05:20

Choose a tag to compare

Little updates Pre-release
Pre-release
  • Built against Xcode 9.2
  • Updates dependencies
  • Introduces Kotlin Native
  • Supports backticks and keywords in methods/properties
  • Adds support for inout parameters

Performance and UX improvements

19 Oct 03:15

Choose a tag to compare

Pre-release
  • Improves performance when formatting larger mocks.
  • Keeps a history of your projects to easily switch between them.
  • Clear the project history.

Closure support

17 Oct 01:03

Choose a tag to compare

Closure support Pre-release
Pre-release
  • Stub a closure's arguments and it will be called with the stubbed values.
  • Closures without values are called automatically.
  • Supports @escaping, @convention(), @autoclosure syntax.

Tuples, overloads and default values

28 Sep 17:16

Choose a tag to compare

Pre-release
  • Supports tuple parameters
  • Supports overloaded method and property names by generating unique invocation property names
  • Adds a default value to stubs where possible

Xcode 9 & capture invoked parameters and properties

19 Sep 17:22

Choose a tag to compare

  • Supports Xcode 9
  • Captures the value of invoked properties
  • Captures the values of invoked method parameters
  • Captures a list of invoked values
  • Generate the mock with your cursor anywhere inside the mock class
  • Improved error messages
  • Supports unowned, unowned(safe), unowned(unsafe) protocol properties

Property support

10 Sep 15:35

Choose a tag to compare

Property support Pre-release
Pre-release
  • Check invocation status of property getter and setter
  • Stub property with return value

A make file has also been added so the project dependencies can be built from scratch.

Generate mocks in Xcode

06 Sep 22:51

Choose a tag to compare

Pre-release

See README for usage instructions.

  • Generates invocation check.
  • Generates invocation count.
  • Generates stub to return from mock.