Snap.swift icon indicating copy to clipboard operation
Snap.swift copied to clipboard

Snapshot testing in a snap 🎨

Results 17 Snap.swift issues
Sort by recently updated
recently updated
newest added

This tool is no longer required as the unc0ver team have allowed sileo to work _Originally posted by @demhademha in https://github.com/demhademha/sileo-apt-/issues/1_

UIImage+Render currently uses the old UIGraphicsBeginImageContextWithOptions API before iOS 10, and on iOS 10 it starts to use the new UIGraphicsImageRenderer. Because of this, when you generate test images under...

When writing layout code, you should rely on the view/viewController's traitCollection instead of just the frame of the view. However, when executing the snapshot tests for a device, the traitCollection...

I'm new to snapshot testing, are there are recommending/guidelines to follow when testing? I have this strange behaviour when I create images for iPhone x it passes and when I...

last release was 6 months ago..

It would be nice if there would be support for setting the view to landscape orientation. Maybe just treating them as a separate Device? Like: ``` extension Device { public...

Snap will render an empty, transparent image for SKViews. As a workaround, checking and handling for Spritekit in `UIView+Render` seems to do the trick: if let skview = self as?...

enhancement

Allow passing a custom error threshold

enhancement

Is there a reason for setting the width to 788 or is this a typo? Also, does it need a special device for the iPad mini which has the same...

It would be awesome if there would be an API to compare an UIImage to be able to visually inspect images, for example to test rendering code without creating full...