Skip to content

@stephencelis stephencelis released this Mar 14, 2019 · 3 commits to master since this release

What's new?

  • A new view configuration for the 11" iPad Pro's resolution and safe area (#187).
  • A few let properties on Snapshotting and Diffing have been relaxed to be vars to make it easier to build strategies from existing ones (#189).
  • The UIImage diff message has been generalized to read nicely while in record mode (#188).
Assets 2

@mbrandonw mbrandonw released this Feb 20, 2019 · 8 commits to master since this release

What's new?

  • Small updates to failure messages #153
  • Renamed generics in pullback #154
  • Support asserting against multiple strategies at once #150
  • Make XCTAttachment's initializers public #159
  • Create a typealias for SnapshotTestCase when not on Linux #169
  • Specify custom snapshot directory #170
  • Extract image diffing strategies. #172
Assets 2

@stephencelis stephencelis released this Dec 18, 2018 · 25 commits to master since this release

What's new?

  • Updated UIView and UIViewController recursiveDescription strategies to support custom trait collections and configuration (#141)
  • Added a new UIViewController hierarchy snapshot strategy (#139)
  • Added a new func strategy on functions that take CaseIterable values (#94)
  • Added a new description strategy powered by String.init(describing:) (#94)
  • Show diff when recording over previous snapshot (#147)

What's been fixed?

  • Improved the assertSnapshot function's generic names (#120)
  • Improved the recording failure message (#135, #140)
  • Fixed a crash when snapshotting view controllers with main views configured with auto layout (#142)
  • Fixed a crash when running swift test against a failing snapshot (#143)
Assets 2
You can’t perform that action at this time.