Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Snapshot Testing

Snapshot Testing

Testing views with screenshot. Using FBScreenshotTestCase.

Kishikawa Katsumi

December 17, 2014
Tweet

More Decks by Kishikawa Katsumi

Other Decks in Programming

Transcript

  1. - (void)testProgress50 { UCZProgressView *progressView = [[UCZProgressView alloc] initWithFrame: CGRectMake(0.0,

    0.0, 320.0, 568.0)]; progressView.progress = 0.50; FBSnapshotVerifyView(progressView, nil); }