OCMockito
SwiftMockGeneratorForXcode
OCMockito | SwiftMockGeneratorForXcode | |
---|---|---|
1 | 1 | |
991 | 741 | |
- | - | |
7.6 | 0.0 | |
4 months ago | over 1 year ago | |
Objective-C | Objective-C | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
OCMockito
-
Swift Mocking Tools. To Use, or Not to Use, That Is the Question
Everything would be smooth and easy, except that Swift is not Objective-C. Supplying test doubles is incredibly easy in Objective-C, where the central mechanism is messages. You could send any message to any object. In case you had previous experience mocking on Objective-C using OCMock or OCMockito — forget it.
SwiftMockGeneratorForXcode
-
Swift Mocking Tools. To Use, or Not to Use, That Is the Question
Spoiler! It’s not a library but an Xcode plugin that helps solve the same problem — generating test doubles. SwiftMockGeneratorForXcode is an exception in this list of frameworks. Instead of being integrated into the project, this generator can only be added as an extension to Xcode. Also, you won’t have any custom verifiers or matchers, do all assertions using the XCTest framework.
What are some alternatives?
Mockingbird - Simplify software testing, by easily mocking any system using HTTP/HTTPS, allowing a team to test and develop against a service that is not complete or is unstable or just to reproduce planned/edge cases.
Cuckoo - Boilerplate-free mocking framework for Swift!
Bugfender Live
SBTUITestTunnel - Enable network mocks and more in UI Tests
SwiftyMocky - Framework for automatic mock generation. Adds a set of handy methods, simplifying testing. One of the best and most complete solutions, including generics support and much more.
Cribble - Swifty tool for visual testing iPhone and iPad apps. Every pixel counts.
awesome-xcode-extensions - Awesome native Xcode extensions.
trainer - Convert xcodebuild plist and xcresult files to JUnit reports
NaughtyKeyboard - The Big List of Naughty Strings is a list of strings which have a high probability of causing issues when used as user-input data. This is a keyboard to help you test your app from your iOS device.
DVR - Network testing for Swift
Kakapo - 🐤Dynamically Mock server behaviors and responses in Swift