SnapshotTesting
suitcase
Our great sponsors
SnapshotTesting | suitcase | |
---|---|---|
8 | 1 | |
3,595 | 20 | |
1.8% | - | |
7.3 | 0.0 | |
3 days ago | over 1 year ago | |
Swift | Swift | |
MIT License | Mozilla Public License 2.0 |
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.
SnapshotTesting
- XCTest different behavior locally vs Xcode Cloud
-
Building Redditâs Design System on iOS
Testing is an integral part of our framework. As we build out components, we leverage unit and snapshot tests to ensure our components look and feel great in any kind of situation. The underlying framework we use is the SnapshotTesting framework. Our components can leverage different themes on top of various appearances, and they can be configured even further with configuration properties. As such, itâs important that we test these various permutations to ensure that our components look great no matter what environment or settings are applied.
- SwiftUI has so many awesome features!! And none of them seem to play well with unit tests :( Am I missing something?
-
Do you use visual regression tests in your projects?
I use https://github.com/pointfreeco/swift-snapshot-testing
-
Visual testsÂÂÂ
Common libraries include https://github.com/uber/ios-snapshot-test-case/ and https://github.com/pointfreeco/swift-snapshot-testing.
-
iOSSnapshotTestCase or SnapshotTesting?
iOSSnapshotTestCase (previously FBSnapshotTestCase) mainly written in objective C or pointfreeco/swift-snapshot-testing in Swift. What is your opinion in 2022?
-
How do I know if I made auto-layout right to fit every device?
Try this library, I use it at work and can recommend. Good luck!
- Snapshot Testing in Swift
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.
What are some alternatives?
iOS Snapshot Test Case - Snapshot view unit tests for iOS
UI Testing Cheat Sheet - How do I test this with UI Testing?
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.
SBTUITestTunnelHost - Add Mac host tunnel to your XCTests
second_curtain - Upload failing iOS snapshot tests cases to S3
DVR - Network testing for Swift
Buildasaur - Automatic testing of your Pull Requests on GitHub and BitBucket using Xcode Server. Keep your team productive and safe. Get up and running in minutes. @buildasaur
Cribble - Swifty tool for visual testing iPhone and iPad apps. Every pixel counts.
SnappyTestCase - iOS Simulator type agnostic snapshot testing, built on top of the FBSnapshotTestCase.
Kakapo - đ¤Dynamically Mock server behaviors and responses in Swift