SwiftyMocky VS OCMockito

Compare SwiftyMocky vs OCMockito and see what are their differences.

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. (by MakeAWishFoundation)

OCMockito

Mockito for Objective-C: creation, verification and stubbing of mock objects (by jonreid)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
SwiftyMocky OCMockito
3 1
984 992
0.7% -
0.0 7.6
3 days ago 3 months ago
Swift Objective-C
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

SwiftyMocky

Posts with mentions or reviews of SwiftyMocky. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-08.

OCMockito

Posts with mentions or reviews of OCMockito. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-08.
  • Swift Mocking Tools. To Use, or Not to Use, That Is the Question
    4 projects | /r/u_Evolvice | 8 Sep 2022
    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.

What are some alternatives?

When comparing SwiftyMocky and OCMockito you can also consider the following projects:

Quick - The Swift (and Objective-C) testing framework.

Nimble - A Matcher Framework for Swift and Objective-C

Cuckoo - Boilerplate-free mocking framework for Swift!

OHHTTPStubs - Stub your network requests easily! Test your apps with fake network data and custom response time, response code and headers!

Kiwi - Simple BDD for iOS

SwiftCheck - QuickCheck for Swift

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.

Bugfender Live

Cribble - Swifty tool for visual testing iPhone and iPad apps. Every pixel counts.

PlaygroundTDD - Small library to easily run your tests directly within a Playground

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.