SnapshotTesting
Mockingbird
Our great sponsors
SnapshotTesting | Mockingbird | |
---|---|---|
8 | - | |
3,599 | 194 | |
1.8% | 0.0% | |
7.3 | 2.6 | |
2 days ago | 3 months ago | |
Swift | 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.
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
Mockingbird
We haven't tracked posts mentioning Mockingbird yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
iOS Snapshot Test Case - Snapshot view unit tests for iOS
Mockingjay - An elegant library for stubbing HTTP requests with ease in Swift
ios-snapshot-test-case - Snapshot view unit tests for iOS
Cuckoo - Boilerplate-free mocking framework for Swift!
second_curtain - Upload failing iOS snapshot tests cases to S3
OCMockito - Mockito for Objective-C: creation, verification and stubbing of mock objects
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
PonyDebugger - Remote network and data debugging for your native iOS app using Chrome Developer Tools
Cribble - Swifty tool for visual testing iPhone and iPad apps. Every pixel counts.
XCTestExtensions - XCTestExtensions is a Swift extension that provides convenient assertions for writing Unit Test.