Skip to content

0.2.0

Choose a tag to compare

@JoeOCT91 JoeOCT91 released this 25 Nov 11:43
· 44 commits to main since this release
65f0ecd

Added

  • @Understudy, a macro that writes a test double. On a class in a test target, it writes a spy and a body for every requirement marked @Spied and declared with no body, and an initializer that asks for every answer with no safe default. On a protocol, it writes a spy class next to it, named after the protocol with Spy added.
  • @Spied, which marks the requirements @Understudy writes.

See the README for an example.