Skip to content

Releases: Matejkob/swift-spyable

v0.1.2

03 Oct 17:01
8f78f36
Compare
Choose a tag to compare

New Contributors

Full Changelog: 0.1.1...0.1.2

v0.1.1

16 Jun 21:36
bbfda75
Compare
Choose a tag to compare

Update community standards; add documentation on Swift Package Index

v0.1.0

14 Jun 14:29
06eab69
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

Key Features:

  • Automatic Spy Generation: Annotate your protocol with @Spyable, and the macro will automatically generate a corresponding spy class that implements the protocol.
  • Interaction Tracking: The generated spy class can record all interactions with its methods and properties, providing a comprehensive log for precise assertions in your tests.

Migration from Sourcery:

To facilitate a smooth transition from Sourcery's Mocks & Stubs to Spyable, the initial version of Spyable generates spies for protocols in line with the AutoMockable template. This should allow most projects using Sourcery with the basic AutoMockable template to switch over to Spyable within minutes.

Full Changelog: https://github.com/Matejkob/swift-spyable/commits/0.1.0