github pointfreeco/swift-snapshot-testing 1.17.0

latest releases: 1.17.6, 1.17.5, 1.17.4...
4 months ago

What's Changed

See the migration guide for more information.

  • Added: Beta support for Swift Testing, and other improvements. by @mbrandonw in #867

  • Added: A Record mode has been introduced that can be configured with one of four states (.all, .failed, .missing, .never) instead of just the isRecording boolean (thanks @NachoSoto, #768).

  • Added: diffTool can now be configured with a closure that is passed the old and new diff paths in order to output a custom format (thanks @js, #840).

  • Added: Allow isRecording default value to be configured using SNAPSHOT_TESTING_RECORD env var (thanks @tgrapperon, #862).

    This can be configured with any of the record modes introduced in this version, e.g. SNAPSHOT_TESTING_RECORD=failed.

  • Infrastructure: Add .editorconfig for consistent code formatting (thanks @Matejkob, #864).

New Contributors

Full Changelog: 1.16.2...1.17.0

Don't miss a new swift-snapshot-testing release

NewReleases is sending notifications on new releases.