Mockable icon indicating copy to clipboard operation
Mockable copied to clipboard

A Swift macro driven auto-mocking library.

Results 4 Mockable issues
Sort by recently updated
recently updated
newest added

I'm getting an error here: `return hasParametrizedProtocolRequirement($0.argument)` which is line 140 of Requirements.swift near the bottom of `hasParametrizedProtocolRequirement`. the error is `Cannot convert value of type 'GenericArgumentSyntax.Argument' to expected argument...

For some Swift types that have been renamed from the `NS`-prefixed Objective-C class, the `willReturn` function causes a fatal error while the `willProduce` function works as expected. I'm not sure...

The generated mock doesn't isolate protocol conformance, resulting in the following build error: `Conformance of 'MockFoo' to protocol 'Foo' crosses into main actor-isolated code and can cause data races` ##...

Hey! It would be very helpful if you could add an option for removing MOCKING compile flag. I understand the reasons with performance, the desire to keep the release build...