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

Hello everyone, I face the same issue as #410. My setup: - MacBook Air M1 - macOS 11.2.2 - SPM - Xcode 12.3 - Snapshot test run against iPhone SE...

Adding an option to `dump` to render all children without requiring implementations for the `AnySnapshotStringConvertible` protocol default value. Also create several other protocols to control how children are processed for...

Currently if we create a window and try to record a snapshot it crashes when running the full suite. In order to fix it we can avoid adding it to...

**Describe the bug** For an `NSObject` subclass I cannot use `.dump` to create a snapshot to include children **To Reproduce** [dump-demo.zip](https://github.com/pointfreeco/swift-snapshot-testing/files/8448079/dump-demo.zip) **Expected behavior** When I write an extension of my...

**The issue** The `ViewImageConfig` struct should include static functions for all the latest devices. I checked `main`, and they're not there either. (Note that struct is defined in a file...

`prepareView` in `View.swift` will now check if the current snapshot target is a `UIWindow`. If that condition is `true`, then it will return early and use the window as its...

**Describe the bug** If I try to run a snapshot test for a view controller but by adding it into a window myself, it causes a crash **To Reproduce** ```swift...

The library already attaches failed snapshots using `XCTAttachment`. A nice extra would be to attach in case of newly recorded snapshots as well, since some developers are already used to...

This PR introduces the extra functionality to define the color precision of each individual pixel when asserting `UIImages`. Our experience is that varying iOS version render colors slightly differently which...

**Describe the bug** When running snapshot tests, if the view being tested uses the SwiftUI `.onOpenURL` modifier, a warning is produced that reads: > Cannot use Scene methods for URL,...