Releases: Matejkob/swift-spyable
Releases · Matejkob/swift-spyable
v0.1.2
New Contributors
- @coffmark made their first contribution in #13
- @daveverwer made their first contribution in #32
- @raphaelguye made their first contribution in #37
Full Changelog: 0.1.1...0.1.2
v0.1.1
v0.1.0
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