OCMockito VS Cuckoo

Compare OCMockito vs Cuckoo and see what are their differences.

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
OCMockito Cuckoo
1 2
992 1,631
- 0.7%
7.6 6.1
3 months ago 2 months ago
Objective-C Swift
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.

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.

Cuckoo

Posts with mentions or reviews of Cuckoo. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-12.
  • Tests Everywhere - Swift
    2 projects | dev.to | 12 Dec 2023
    Swift testing this simple Hello World with XCTest and Cuckoo
  • Swift Mocking Tools. To Use, or Not to Use, That Is the Question
    4 projects | /r/u_Evolvice | 8 Sep 2022
    Additional setup: The cuckoo installation process requires adding a new run script into your test target build phases. Include the absolute path to each file and the framework that will generate mocks in this script. Import the generated file into the project once, and then re-generate it to keep it up to date. Class name starts from the word ‘Mock’ — each test double you can use as mock, stub, or spy.

What are some alternatives?

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

Mockingbird - A Swifty mocking framework for Swift and Objective-C.

Mockingjay - An elegant library for stubbing HTTP requests with ease in Swift

Mockit - A simple mocking framework for Swift, inspired by the famous http://mockito.org/

SwiftMock - A mocking framework for Swift

Kakapo - 🐤Dynamically Mock server behaviors and responses in Swift

Buildasaur - Automatic testing of your Pull Requests on GitHub and BitBucket using Xcode Server. Keep your team productive and safe. Get up and running in minutes. @buildasaur

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

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.

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.

Nimble - A Matcher Framework for Swift and Objective-C

Vinyl - Network testing à la VCR in Swift