pointfreeco / swift-snapshot-testing

📸 Delightful Swift snapshot testing.
https://www.pointfree.co/episodes/ep41-a-tour-of-snapshot-testing
MIT License
3.74k stars 570 forks source link

Add public access control to snapshotView #731

Closed shredsonic closed 1 month ago

shredsonic commented 1 year ago

We have our own asynchronous diffing capabilities that we use for snapshot testing, so we don't really use the diff comparison feature. Our diffing tool allows us to better control the approval workflow. We'd like to use this library for the snapshotting piece of it, though. Currently, we can use the snapshotView function directly by importing SnapshotTesting as @testable. We're hoping that snapshotView can be included the public API to help avoid anything breaking for us in the future.