Antondomashnev / FBSnapshotsViewer

A mac os application that shows the failing snapshot tests from FBSnapshotTestCase
MIT License
224 stars 15 forks source link

Migrate to Swift 4.2. #79

Closed babbage closed 4 years ago

babbage commented 5 years ago

Migrates FBSnapshotsViewer and FBSnapshotsViewerTests to Swift 4.2.

It is no longer necessary for dependencies to be on the same version of Swift as the primary project. This migrates the main project, and lays the groundwork for integration of the forthcoming releases of Nimble/Quick (v8.0), and Nuke, which are in the process of migrating to Swift 4.2.

babbage commented 5 years ago

Note most changes to the buildRecordedImageURL method in SnaptshotTestAcceptor were solely to meet the Assignment Branch Condition complexity requirements to get the Codebeat tick. :)

babbage commented 4 years ago

App has now been updated to Swift 5 via pull request https://github.com/Antondomashnev/FBSnapshotsViewer/pull/82