OHHTTPStubs
Stub your network requests easily! Test your apps with fake network data and custom response time, response code and headers! (by AliSoftware)
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)
Our great sponsors
OHHTTPStubs | SwiftyMocky | |
---|---|---|
- | 3 | |
5,014 | 993 | |
- | 1.7% | |
4.0 | 0.0 | |
about 1 month ago | 13 days ago | |
Objective-C | Swift | |
NOASSERTION | 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.
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.
OHHTTPStubs
Posts with mentions or reviews of OHHTTPStubs.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning OHHTTPStubs yet.
Tracking mentions began in Dec 2020.
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.
-
Looking for Mocking Framework
what mocking framework do you use? I have used SwiftyMocky so far and MockingBird looks also promising.
- iOS unit test mocking using SwiftyMocky
-
Swift Mocking Tools. To Use, or Not to Use, That Is the Question
Additional setup: SwiftyMocky has a 2 step installation. First, set up SwiftyMocky CLI on your working machine. Second, add it to the project’s test target via one of the 3 options listed above. Open Terminal in your project root folder and execute the following commands one by one:
What are some alternatives?
When comparing OHHTTPStubs and SwiftyMocky you can also consider the following projects:
Mockingjay - An elegant library for stubbing HTTP requests with ease in Swift
Quick - The Swift (and Objective-C) testing framework.
Nimble - A Matcher Framework for Swift and Objective-C
Mocker - Mock Alamofire and URLSession requests without touching your code implementation
Cuckoo - Boilerplate-free mocking framework for Swift!
UI Testing Cheat Sheet - How do I test this with UI Testing?
Kiwi - Simple BDD for iOS
SwiftCheck - QuickCheck for Swift
Fakery - :alien: Swift fake data generator
PlaygroundTDD - Small library to easily run your tests directly within a Playground