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 guys, I was using .sizeThatFits to capture the snapshot but I found two problems in the generated images. `assertSnapshot(matching: sut, as: .image(layout: .sizeThatFits, traits: .init(userInterfaceStyle: .light)))` 
In the first...

**Describe the bug** The components of a `DatePicker` with datePickerStyle of `.wheel` do not render correctly when captured in a snapshot test. The selected row looks correct, but all other...

Hi there, we are using the snapshot library on our Azure Pipeline and want to get a failed comparison against an existing reference to be written out as Pipeline Artifact....

#552 broke tvOS support, which I noticed when running `pod lint`. I think we should probably drop CocoaPods and Carthage support eventually, but I also suppose folks rely on it...

Add `SNAPSHOT_TESTING_WRITE_ATTACHMENTS` as an additional way to force writing the `XCTAttachment`s that end up in the xcresult bundle. This avoids having external build systems (like Bazel or Buck) use `__XCODE_BUILT_PRODUCTS_DIR_PATHS`...

In our team we have no opportunity to import swift-snapshot-testing using GitHub. And we decided to build a binary version of xcframework and put it inside project. But when we...

Hi all! πŸ‘‹ #### Justification Right now, there is no way to write all of the `reference`, `failure`, and `difference` files found as `XCTAttachment`s to disk. This makes it difficult...

I know this has been tried a few times already by @grycyk and @fespinoza. I just took their work and am trying again. These dark mode conveniences would be really...

`XCTestCase` supports the property `runsForEachTargetApplicationUIConfiguration` which will cause each test to be run in each of the apps supported orientations and color schemes/appearances. When using assertSnapshot on a view/view controller,...

When taking a snapshot of a ViewController containing colours created with Core Graphics the snapshot created does not contain it. Attaching a sample demo app for the issue . https://github.com/mohammedshahid/snapshots-test/tree/master...