iOS Snapshot Test Case
Mockit
Our great sponsors
iOS Snapshot Test Case | Mockit | |
---|---|---|
3 | - | |
1,765 | 121 | |
0.5% | - | |
1.8 | 0.0 | |
3 months ago | almost 5 years ago | |
Objective-C | Swift | |
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.
iOS Snapshot Test Case
-
Looking for inspiration on UI tests
The functionality of XCTest for UI testing is limited. I use https://github.com/uber/ios-snapshot-test-case and compare snapshots instead of making calls to XCTest directly. This has worked well so far.
-
Visual tests
Common libraries include https://github.com/uber/ios-snapshot-test-case/ and https://github.com/pointfreeco/swift-snapshot-testing.
- iOSSnapshotTestCase or SnapshotTesting?
Mockit
We haven't tracked posts mentioning Mockit yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
SnapshotTesting - 📸 Delightful Swift snapshot testing.
Cuckoo - Boilerplate-free mocking framework for Swift!
ios-snapshot-test-case - Snapshot view unit tests for iOS
SwiftMock - A mocking framework for Swift
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.
Mockingjay - An elegant library for stubbing HTTP requests with ease in Swift
second_curtain - Upload failing iOS snapshot tests cases to S3
Fakery - :alien: Swift fake data generator
NaughtyKeyboard - The Big List of Naughty Strings is a list of strings which have a high probability of causing issues when used as user-input data. This is a keyboard to help you test your app from your iOS device.
PonyDebugger - Remote network and data debugging for your native iOS app using Chrome Developer Tools
OHHTTPStubs - Stub your network requests easily! Test your apps with fake network data and custom response time, response code and headers!