Skip to content

Version 0.1.0

Latest
Compare
Choose a tag to compare
@graycampbell graycampbell released this 25 Apr 19:20
· 6 commits to main since this release
3970815

🚀 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