Skip to content

Releases: pointfreeco/swift-snapshot-testing

1.2.0

20 Feb 22:42
0ea1b40
Compare
Choose a tag to compare

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

1.1.0

18 Dec 17:54
129e393
Compare
Choose a tag to compare

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)

Official release for SnapshotTesting

03 Dec 14:03
Compare
Choose a tag to compare