Swiftpack.co - tahirmt/Nimble-SnapshotTesting as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by tahirmt.
tahirmt/Nimble-SnapshotTesting v1.10.0
A helper library to create a Nimble matcher for swift-snapshot-testing framework
⭐️ 0
🕓 1 week ago
iOS macOS tvOS
.package(url: "https://github.com/tahirmt/Nimble-SnapshotTesting.git", from: "v1.10.0")


CI Version License Platform

A Nimble matcher for https://github.com/pointfreeco/swift-snapshot-testing inspired from the work in https://github.com/ashfurrow/Nimble-Snapshots and https://github.com/Killectro/swift-snapshot-testing-nimble


To run the example project, clone the repo, and run pod install from the Example directory first.


Cocoapods or Swift 5.3 or later for swift package manager


Nimble-SnapshotTesting is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'Nimble-SnapshotTesting'

For swift package manager

.package(url: "https://github.com/tahirmt/Nimble-SnapshotTesting.git", .upToNextMajor(from: "0.2.1")),


To use the library with Nimble you have two ways

let view = UIView()
expect(view).to(haveValidSnapshot(as: .image))

or you can even use the == syntax

let view = UIView()
expect(view) == snapshot(as: .image)


Nimble-SnapshotTesting is available under the MIT license. See the LICENSE file for more info.


Stars: 0
Last commit: 1 week ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

1 week ago

Update swift-snapshot-testing dependency version to 1.10.0

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics