Repository navigation
0.2.0
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@Spiedand 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 withSpyadded.@Spied, which marks the requirements@Understudywrites.
See the README for an example.