SwiftMock icon indicating copy to clipboard operation
SwiftMock copied to clipboard

A mocking framework for Swift

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

This might work similar to the `returning()` function: ``` mock .expect { $0.myFunc() } .throwing(MyError.error) ```

enhancement

I'd love to test my code with Swift. I want to know whether SwiftMock can do stubbing, test spies (partial mocks) etc. and other things that I can do with...