You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've grown rather fond of snapshot tests lately and we might want to consider including http://github.com/pointfreeco/swift-snapshot-testing on the unit test target so that we can rely on their dump-based asserts when writing our tests.
And it goes without saying that we should use it for the ViewKit target to get snapshots of views and windows. I think that could be achieved by simply loading the _previews and creating a snapshot from a NSHostingController.
The text was updated successfully, but these errors were encountered:
I've grown rather fond of snapshot tests lately and we might want to consider including
http://github.com/pointfreeco/swift-snapshot-testing
on the unit test target so that we can rely on theirdump
-based asserts when writing our tests.And it goes without saying that we should use it for the
ViewKit
target to get snapshots of views and windows. I think that could be achieved by simply loading the_previews
and creating a snapshot from aNSHostingController
.The text was updated successfully, but these errors were encountered: