Snapshot Testing

Snapshot Testing

Testing views with screenshot. Using FBScreenshotTestCase.

9bf923e39671cde83584e3e926296c13?s=128

Kishikawa Katsumi

December 17, 2014
Tweet

Transcript

  1. 2.
  2. 3.
  3. 4.
  4. 7.

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

    0.0, 320.0, 568.0)]; progressView.progress = 0.50; FBSnapshotVerifyView(progressView, nil); }
  5. 14.
  6. 15.
  7. 16.
  8. 17.
  9. 18.
  10. 19.