Minitest plugin for asserting that strings are the same as a saved snapshot, jest style
MIT License
Bot releases are visible (Hide)
This is a gem housekeeping release. No user-facing changes.
Full Changelog: https://github.com/mattbrictson/minitest-snapshots/compare/v1.1.0...v1.1.1
Published by github-actions[bot] 8 months ago
--lock-snapshots
by default in CI (#48) @mattbrictson-u
option to rake test
(#46) @mattbrictsonFull Changelog: https://github.com/mattbrictson/minitest-snapshots/compare/v1.0.2...v1.1.0
Published by github-actions[bot] 10 months ago
This is a gem housekeeping release. No user-facing changes.
Full Changelog: https://github.com/mattbrictson/minitest-snapshots/compare/v1.0.1...v1.0.2
Published by github-actions[bot] about 1 year ago
Full Changelog: https://github.com/mattbrictson/minitest-snapshots/compare/v1.0.0...v1.0.1
Published by github-actions[bot] over 1 year ago
Please note that minitest-snapshots now requires Ruby 2.7 or later. Previous releases of minitest-snapshots could be used with older Ruby versions, but were only officially tested on Ruby 2.7. With the release of minitest-snapshots 1.0.0, Ruby 2.7+ is now a hard requirement.
The headline feature for this release is that any value can now be saved as a snapshot, not just strings. Snapshots are serialized via YAML.
The 1.0.0 release also reflects a change in ownership for the minitest-snapshots GitHub repository. The new location is https://github.com/mattbrictson/minitest-snapshots. The project is actively maintained and pull requests are welcome!
NoMethodError
when used outside of Rails/Bundler (#11) @mattbrictsonFull Changelog: https://github.com/mattbrictson/minitest-snapshots/compare/v0.3.0...v1.0.0
Published by mattbrictson over 1 year ago
This release was originally published to rubygems on Sept 19, 2019.
Full Changelog: https://github.com/mattbrictson/minitest-snapshots/compare/v0.2.0...v0.3.0
Published by mattbrictson over 1 year ago
This release was originally published to rubygems on Sept 11, 2019.
require "minitest"
to fix plugin loading issuesChanges: https://my.diffend.io/gems/minitest-snapshots/0.1.0/0.2.0
Published by mattbrictson over 1 year ago
Initial release!
This release was originally published to rubygems on Sept 11, 2019.
Full Changelog: https://github.com/mattbrictson/minitest-snapshots/commits/v0.1.0