What is SnapshotTest?

SnapshotTest is a simple view testing tool written completely in Swift to aid with development for Apple platforms. It’s like unit testing for views.

How

When record mode is active a snapshot assertion will record an image of the view and save it to a specified directory. This will cause the test to fail. When record mode is deactivated the snapshot assertion will record an image of the view and compare it to the saved reference image. Should they differ the test will fail.

Overview

  • Pricing: Free
  • Resource Link: https://github.com/parski/SnapshotTest
  • Resource Maker: Pรคr Strindevall
  • Mobile Platform Destination: iOS Apps
  • Mobile Platform Support: Native iOS
  • Programming Languages: Swift
  • iOS Versions Supported: iOS 8.0+, iOS 9.0+, iOS 10.0+, iOS 11.0+, iOS 12.0+
  • CocoaPods: SnapshotTest