Skip to content

Releases: EmergeTools/SnapshotPreviews

v0.10.0

12 Aug 18:42
3daac0c
Compare
Choose a tag to compare

This release contains big changes to running snapshot tests locally.

  • PreviewTest has been renamed to AccessibilityPreviewTest and the enableAccessibilityAudit var has been removed. The UI test is now only for running Xcode's accessibility tests on previews. This is a breaking change if you were using PreviewTest.
  • To test just for snapshots without running the accessibility test, you can now create a unit test (rather than UI test). The unit test should inherit from SnapshottingTests.SnapshotTest. This will run faster and be easier to debug than the previous UI test based method.
  • There is also a new SnapshottingTests.PreviewLayoutTest which only tests the previews layout, and doesn't take a snapshot. This runs faster and can be used in CI to ensure no breaking changes are made to previews (such as additions of SwiftUI environment objects) without needing to run entire snapshot tests.

v0.9.4

08 Aug 16:20
fa4f1eb
Compare
Choose a tag to compare
  • Set scale on SwiftUI ImageRenderer
  • Namespace extensions to fix method collisions

v0.9.3

07 Aug 20:16
ce7be2f
Compare
Choose a tag to compare
Use loopback (#144)

v0.9.2

05 Aug 15:35
fe3803b
Compare
Choose a tag to compare

Improvements for macOS support

v0.9.1

11 Jul 18:40
5e29f28
Compare
Choose a tag to compare

Support for all SwiftUI platforms (iOS/macOS/watchOS/tvOS/visionOS)

v0.8.12

10 Jun 21:25
e5bf73a
Compare
Choose a tag to compare
Updates for xcode beta (#123)

v0.8.11

04 Jun 18:35
3274d8d
Compare
Choose a tag to compare
  • Improved support for Preview macros
  • Fix results dir not created

v0.8.10

06 May 21:11
da6d8a3
Compare
Choose a tag to compare
Use dynamic lib (#118)

v0.8.9

02 May 19:08
6b8aea1
Compare
Choose a tag to compare
build framework (#113)

v0.8.8

26 Mar 20:52
8a82556
Compare
Choose a tag to compare
Max size (#110)