Skip to content

Releases: fetch-rewards/swift-mocking

Version 0.1.0

25 Apr 19:20
3970815
Compare
Choose a tag to compare

🚀 Initial Release

This is the first public release of Swift Mocking, a library that provides a collection of Swift macros used to generate mocks.

This initial release includes:

  • @Mocked - an attached peer macro that generates a mock class from a protocol declaration.
  • @MockedMembers - an attached member and member-attribute macro that generates mocked members for a mock declaration.
  • @MockableProperty - an attached macro that marks a property as being mockable.
  • @MockableMethod - an attached macro that marks a method as being mockable.

Full Changelog