swift-snapshot-testing icon indicating copy to clipboard operation
swift-snapshot-testing copied to clipboard

📸 Delightful Swift snapshot testing.

Results 230 swift-snapshot-testing issues
Sort by recently updated
recently updated
newest added

Hi! I stumbled upon some issues that stem from `viewDidAppear` not being called, and thus the UI rendering incorrectly. At first I thought it was something strange with my setup,...

If the difference in two images is only the alpha channel but the rgb channels are the same, the difference image won't show that anything has changed. ## Example In...

Thanks for an awesome library! I've been enjoying it immensely since adding to my projects last week 🙌 I'm not sure if this is a UIKit issue or a SnapshotTesting...

We implemented successfully snapshot tests for critical scenarios using XCUITests and snapshots. When I run locally using Fastlane or Xcode. it is working fine. Currently, all tests are failing on...

Snapshot testing is great and saves an immense amount of time vs manually checking data structures or images / tests. However, some tests need to be run on actual devices...

I was wondering if anyone else runs their snapshot tests on CircleCI and if so, you've had problems getting them working. We have some snapshot tests for our iOS views...

Added the `diffToolArgs` variable which allows slightly better customization of the diff message.

Passing in a `prefferedContentSizeCategory` into traits doesn't change the image that's outputted. Is there any additional setup required to get this to work? Thanks

Imagine you want to snapshot-test a single `UIViewController` on multiple devices. You can do it like this: ```swift assertSnapshots(matching: viewController, as: [ .image(on: .iPhoneSe), .image(on: .iPhone8), .image(on: .iPhoneX) ]) ```...