SnapshotTesting
Texture
SnapshotTesting | Texture | |
---|---|---|
8 | 4 | |
3,603 | 7,939 | |
0.6% | 0.3% | |
7.4 | 2.5 | |
4 days ago | 6 days ago | |
Swift | Objective-C++ | |
MIT License | NOASSERTION |
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
Texture
-
Building Reddit’s Design System on iOS
Historically, Reddit has used both UIKit and Texture as layout engines to build out the Reddit app. At the time of its adoption, Texture was used as a way to build screens and have the UI update asynchronously, which mitigated frame rate hitches and optimized scroll performance. However, Texture represented a significantly different paradigm for building UI than UIKit, and prior to RPL, we had components built on both layout engines. Reusing components across these frameworks was difficult, and having to juggle two different mental models for these systems made it difficult from a developer’s perspective. As a result, we opted to deprecate and migrate off of Texture.
-
Telegram enable sign up without a SIM card
On iOS it’s written using a fork of Texture, formerly AsyncDisplayKit. In my experience, Texture outperforms UIKit’s auto layout and rich text widgets significantly.
https://github.com/TextureGroup/Texture
-
The SliceKit Series: Introducing Our New iOS Presentation Framework.
In order to make our engineers' lives easier and gain consistency in our user experience, we needed a declarative abstraction on top of UIKit. We chose UIKit because after experimenting with SwiftUI, Texture, ComponentKit, and other alternatives, UIKit offers us the right combination of features, including:
-
Ideas for research topic (thesis/dissertation) that includes iOS Development
Ok thanks. I've included a link for everyone else. Texture
What are some alternatives?
iOS Snapshot Test Case - Snapshot view unit tests for iOS
IGListKit - A data-driven UICollectionView framework for building fast and flexible lists.
ios-snapshot-test-case - Snapshot view unit tests for iOS
ComponentKit - A React-inspired view framework 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.
Atlas
second_curtain - Upload failing iOS snapshot tests cases to S3
SwiftyUI - High performance and lightweight UIView, UIImage, UIImageView, UIlabel, UIButton, Promise and more.
DVR - Network testing for Swift
Pulley - A library to imitate the iOS 10 Maps UI.
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
AsyncDisplayKit - Smooth asynchronous user interfaces for iOS apps.