mockolo
MockSwift
Our great sponsors
mockolo | MockSwift | |
---|---|---|
1 | 1 | |
771 | 87 | |
1.6% | - | |
5.4 | 0.0 | |
4 days ago | over 1 year ago | |
Swift | Swift | |
Apache License 2.0 | 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.
mockolo
-
What’s everyone working on this month? (July 2021)
Besides that, I’d like to make a contribution to Uber’s Mockolo, a mocking library as well as Vapor.
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.
What are some alternatives?
cuckoo - Cuckoo Sandbox is an automated dynamic malware analysis system
Mocker - Mock Alamofire and URLSession requests without touching your code implementation
Cuckoo - Boilerplate-free mocking framework for Swift!
Mockingbird - A Swifty mocking framework for Swift and Objective-C.
Charts - Beautiful charts for iOS/tvOS/OSX! The Apple side of the crossplatform MPAndroidChart.
AutoMockable - AutoMocker is a Swift framework that leverages the type system to let you easily create mocked instances of your data types.
toast-swift - Customizable Swift Toast view built with UIKit. 🍞
Mockingjay - An elegant library for stubbing HTTP requests with ease in Swift
DinkleBot-NativeiOS - A Destiny 2 companion app, that shows useful information for my needs. Also a testbed for me learning modern swift.
CatchingFire - Test Library for Swift's Error Handling
ActivityRings - An attempt to recreate the ring controls in Apple’s Activity app
Erik - Erik is an headless browser based on WebKit. An headless browser allow to run functional tests, to access and manipulate webpages using javascript.