Releases: bradleyjkemp/cupaloy
Releases · bradleyjkemp/cupaloy
v2.8.0
Add SnapshotWithName
Add SnapshotWithName (#72) * Add SnapshotWithName SnapshotWithName is similar to SnapshotMulti without appending the function name. It is useful when you need full control of the snapshot filename. * Fix typo in test description Co-authored-by: Aaran McGuire <[email protected]> * Update examples/advanced_test.go Co-authored-by: Aaran McGuire <[email protected]> Co-authored-by: Bradley Kemp <[email protected]>
Include Diff in Snapshot update/creation
Refactor and improve error handling to include a diff in the error return when snapshots are updated/created.
Upgrade to Go modules
Initial go.mod release
Add additional configuration options
Add new options to control:
- Snapshot file extension
- Whether tests fail immediately on snapshot mismatch
- Whether tests should fail on update/create of snapshots