swift-snapshot-testing
swift-snapshot-testing copied to clipboard
📸 Delightful Swift snapshot testing.
This addresses the issue: https://github.com/pointfreeco/swift-snapshot-testing/issues/750 Looks like we are trying to update ViewController's root view's frame to avoid safe area influence, but this would change the directionalLayoutMargins of the view....
## Describe the bug Left margin is not respected in view controller snapshot images on iPhone 8/SE in landscape even though the left margin is reflected in the recursive description...
This addresses the issue here: https://github.com/pointfreeco/swift-snapshot-testing/issues/429 This allows users to disable the default behavior of snapshot creation, where a counter is added whenever a test doesn't specify a test name....
Thanks for the good work. I really like the approach of snapshot testing and therefor I am a bit disappointed, that I am currently stuck at this place. I am...
Specifying `UITraitCollection(layoutDirection: .rightToLeft)` in a `ViewImageConfig` for image snapshots doesn't seem to work. System controls and even my own views continue to lay out in the left to right mode....
* Do I get it right that `UIImage`s diffing considers pixels only and ignores `imageOrientation` property? * Does it make sense extending `image(precision: Float, perceptualPrecision: Float, scale: CGFloat?)` by adding...
Firstly, really enjoying Snapshot tests. Already found a bug in our JSON parsing logic. # Problem We compile our tests on one agent, then run the tests on various other...
Greetings everyone! The title pretty much says it all. Im currently exporting the UI in a SwiftPM and because there are already XCTest I was wondering if there is a...
Do anyone encounter tableview cannot render its view due to running the snapshot not in host application?
**Describe the bug** For our use case, we need to enable `drawHierarchyInKeyWindow` to test 3rd party UI framework and generate visual diff results. As such, we're extending `swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/UIViewController`'s image function,...