MockSwift
Mockingjay
Our great sponsors
MockSwift | Mockingjay | |
---|---|---|
1 | - | |
87 | 1,488 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | 7 months ago | |
Swift | Swift | |
MIT License | BSD 3-clause "New" or "Revised" 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.
MockSwift
-
Writing unit tests with mocked dependencies in Swift
Instead of creating our own test version of a class implementing the ApiClientProtocol, we'll use a mocking package to do the heavy lifting for us. There are multiple mocking packages for Swift, but I'll be using MockSwift here. Setting it up requires some work, since it has to work around the limitations of Swift.
Mockingjay
We haven't tracked posts mentioning Mockingjay yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
Mocker - Mock Alamofire and URLSession requests without touching your code implementation
OHHTTPStubs - Stub your network requests easily! Test your apps with fake network data and custom response time, response code and headers!
Mockingbird - A Swifty mocking framework for Swift and Objective-C.
Cuckoo - Boilerplate-free mocking framework for Swift!
mockolo - Efficient Mock Generator for Swift
Mockit - A simple mocking framework for Swift, inspired by the famous http://mockito.org/
AutoMockable - AutoMocker is a Swift framework that leverages the type system to let you easily create mocked instances of your data types.
Quick - The Swift (and Objective-C) testing framework.
CatchingFire - Test Library for Swift's Error Handling
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.
Erik - Erik is an headless browser based on WebKit. An headless browser allow to run functional tests, to access and manipulate webpages using javascript.
Kakapo - 🐤Dynamically Mock server behaviors and responses in Swift