You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
If you use the macro on a public protocol declaration from module A and you have a unit test in another module that you'd like to use the protocol spy from module A, you don't have visibility to the Spy in module B since it's declared as internal.
Describe the solution you'd like
The generated spy should use the same access control as the attached protocol's.
Describe alternatives you've considered
You could import the module as testable
Additional context
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
If you use the macro on a public protocol declaration from module A and you have a unit test in another module that you'd like to use the protocol spy from module A, you don't have visibility to the Spy in module B since it's declared as internal.
Describe the solution you'd like
The generated spy should use the same access control as the attached protocol's.
Describe alternatives you've considered
You could import the module as testable
Additional context
The text was updated successfully, but these errors were encountered: