MockSwift
PlayAlways
MockSwift | PlayAlways | |
---|---|---|
1 | - | |
87 | 546 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | over 3 years ago | |
Swift | Swift | |
MIT License | BSD 2-clause "Simplified" 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.
PlayAlways
We haven't tracked posts mentioning PlayAlways yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
Mocker - Mock Alamofire and URLSession requests without touching your code implementation
SuperDelegate - SuperDelegate provides a clean application delegate interface and protects you from bugs in the application lifecycle
Mockingbird - A Swifty mocking framework for Swift and Objective-C.
R.swift - Strong typed, autocompleted resources like images, fonts and segues in Swift projects
mockolo - Efficient Mock Generator for Swift
SourceKitten - An adorable little framework and command line tool for interacting with SourceKit.
AutoMockable - AutoMocker is a Swift framework that leverages the type system to let you easily create mocked instances of your data types.
Xtrace - Trace Objective-C method calls by class or instance
Mockingjay - An elegant library for stubbing HTTP requests with ease in Swift
Swizzlean - Swizzlean, an Objective-C Swizzle Helper Class.
CatchingFire - Test Library for Swift's Error Handling
Insanity - Meta-programming for Swift, stop writing boilerplate code.