Skip to content

Using macro in test only #41

Closed
Closed
@Alex293

Description

@Alex293

Is your feature request related to a problem? Please describe.
How to use the macro only in test code ? I don't want to use the annotation on production code.

Describe the solution you'd like
I'd like to be able to use the macro only in test targets.

Describe alternatives you've considered
I tried multiple things like using a typealias or a second protocol refining the one I'd like to spy but I can't make it work.

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions