Releases: EmergeTools/SnapshotPreviews
Releases · EmergeTools/SnapshotPreviews
v0.10.0
This release contains big changes to running snapshot tests locally.
PreviewTest
has been renamed toAccessibilityPreviewTest
and theenableAccessibilityAudit
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 usingPreviewTest
.- 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
- Set scale on SwiftUI ImageRenderer
- Namespace extensions to fix method collisions
v0.9.3
Use loopback (#144)
v0.9.2
Improvements for macOS support
v0.9.1
Support for all SwiftUI platforms (iOS/macOS/watchOS/tvOS/visionOS)
v0.8.12
Updates for xcode beta (#123)
v0.8.11
- Improved support for Preview macros
- Fix results dir not created
v0.8.10
Use dynamic lib (#118)
v0.8.9
build framework (#113)
v0.8.8
Max size (#110)