This project has been archived

FBSnapshotTestCase
View on Github
suggest edit
Github stars icon

2681

Github forks icon

262

Github watchers icon

70

Last commit: about 5 years ago

Open issues: 45

License: MIT

Last update: 4 months ago

FBSnapshotTestCase Overview

A test case created by the engineers at Facebook for testing UI code. FBSnapshotTestCase takes a configured UIView or CALayer and uses the renderInContext: method to get an image snapshot of its contents. It compares this snapshot to a reference image stored in your source code repository and fails the test if the two images don't match. A descriptive error message is printed to the console on failure along with a one-line command to see an image diff if you have Kaleidoscope installed.

FBSnapshotTestCase latest README

FBSnapshotTestCase

This project has a new name and home!

You can now find iOSSnapshotTestCase here.

%>