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.
