Skip to content

Releases: EmergeTools/SnapshotPreviews

v0.10.5

22 Aug 20:32
53dfb0c

Choose a tag to compare

Release refs/tags/v0.10.5 Automated release created by GitHub Actions.

v0.10.4

22 Aug 00:26
dc4631e

Choose a tag to compare

Release refs/tags/v0.10.4 Automated release created by GitHub Actions.

v0.10.3

21 Aug 21:05
310063f

Choose a tag to compare

Release refs/tags/v0.10.3 Automated release created by GitHub Actions.

v0.10.2

13 Aug 22:58
b3f2722

Choose a tag to compare

Fix base tests running (#157)

v0.10.1

12 Aug 21:59
f7db5de

Choose a tag to compare

This release is a fix for a dependencies bug, most changes are in the change log for the previous release:

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.10.0

12 Aug 18:42
3daac0c

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

Choose a tag to compare

  • Set scale on SwiftUI ImageRenderer
  • Namespace extensions to fix method collisions

v0.9.3

07 Aug 20:16
ce7be2f

Choose a tag to compare

Use loopback (#144)

v0.9.2

05 Aug 15:35
fe3803b

Choose a tag to compare

Improvements for macOS support

v0.9.1

11 Jul 18:40
5e29f28

Choose a tag to compare

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