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

This is the same as https://github.com/pointfreeco/swift-snapshot-testing/pull/495, while also removing support for GLKView to avoid OpenGL deprecation warnings.

We found out that we had a failing test in our repo for two weeks but we didn't notice it because tests were passing even if they shouldn't be. The...

I'm looking into integrating SnapshotTesting for SourceKitten's [test fixtures](https://github.com/jpsim/SourceKitten/tree/0.30.1/Tests/SourceKittenFrameworkTests/Fixtures) and I'm trying to replicate the current behaviour of the snapshotting strategy I'm replacing. First some context: SourceKitten interacts to SourceKit...

We have some snapshot-tests that deal with having a scroll view and based on some logic it scrolls to a particular offset and a snapshot is then taken. This works...

Just curious if anyone here uses any strategy to minimize the increase in repo size due to the reference images stored. For scrollable views I'm getting image sizes as big...

In class `View.swift` is `UITraitCollection` extension. Static method constructors returns trait collection with `preferredContentSizeCategory` equal to `.medium`, but on real device default value is `.large`.

Our use case would prefer having the option of treating snapshot recordings (record mode as well as non-existent files) as artifacts, placing them in the same directory as failures. This...

This minor change is useful so that the functionality of the internal function `snapshotView` is accessible from outside. Use case: I wrote a more robust UIImage snapshot strategy for our...

Hello, I've spent a while now attempting to get a custom directory for the failure images by using the `SNAPSHOT_ARTIFACTS` environment variable. I finally got it working, but ran into...

When snapshot testing views on macOS recorded image size depends on the main display of the machine on which tests are run. Example: - I want to snapshot NSView of...