SwiftMockGeneratorForXcode Versions Save

An Xcode extension (plugin) to generate Swift test doubles automatically.

v1-beta.6

6 years ago
  • Built against Xcode 9.2
  • Updates dependencies
  • Introduces Kotlin Native
  • Supports backticks and keywords in methods/properties
  • Adds support for inout parameters

v1-beta.5

6 years ago
  • Improves performance when formatting larger mocks.
  • Keeps a history of your projects to easily switch between them.
  • Clear the project history.

v1-beta.4

6 years ago
  • 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.

v1-beta.3

6 years ago
  • Supports tuple parameters
  • Supports overloaded method and property names by generating unique invocation property names
  • Adds a default value to stubs where possible

v1-beta.2

6 years ago
  • 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

v1-beta.1

6 years ago
  • 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.

v1-beta.0

6 years ago

See README for usage instructions.

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