Cuckoo
SwiftMockGeneratorForXcode
Cuckoo | SwiftMockGeneratorForXcode | |
---|---|---|
2 | 1 | |
1,640 | 741 | |
0.5% | - | |
6.4 | 0.0 | |
11 days ago | over 1 year ago | |
Swift | 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.
Cuckoo
-
Tests Everywhere - Swift
Swift testing this simple Hello World with XCTest and Cuckoo
-
Swift Mocking Tools. To Use, or Not to Use, That Is the Question
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.
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 - A Swifty mocking framework for Swift and Objective-C.
OCMockito - Mockito for Objective-C: creation, verification and stubbing of mock objects
Mockingjay - An elegant library for stubbing HTTP requests with ease in Swift
SBTUITestTunnel - Enable network mocks and more in UI Tests
Mockit - A simple mocking framework for Swift, inspired by the famous http://mockito.org/
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.
SwiftMock - A mocking framework for Swift
awesome-xcode-extensions - Awesome native Xcode extensions.
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.