suitcase
iOS Snapshot Test Case
suitcase | iOS Snapshot Test Case | |
---|---|---|
1 | 3 | |
20 | 1,771 | |
- | 0.7% | |
0.0 | 1.8 | |
over 1 year ago | 3 months ago | |
Swift | Objective-C | |
Mozilla Public 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.
suitcase
-
Visual tests
We are actually going to use https://github.com/devexperts/suitcase because of its capability to screenshot all kinds of views, including those that don’t play nice with UIView “render in context” APIs.
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?
What are some alternatives?
UI Testing Cheat Sheet - How do I test this with UI Testing?
SnapshotTesting - 📸 Delightful Swift snapshot testing.
SBTUITestTunnelHost - Add Mac host tunnel to your XCTests
ios-snapshot-test-case - Snapshot view unit tests for iOS
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.
second_curtain - Upload failing iOS snapshot tests cases to S3
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.
MirrorDiffKit - Graduation from messy XCTAssertEqual messages.
Cuckoo - Boilerplate-free mocking framework for Swift!
Cribble - Swifty tool for visual testing iPhone and iPad apps. Every pixel counts.
Kakapo - 🐤Dynamically Mock server behaviors and responses in Swift
Mockit - A simple mocking framework for Swift, inspired by the famous http://mockito.org/