rspec-snapshot

RSpec snapshot testing.

MIT License

Downloads
4.7M
Stars
147
rspec-snapshot - 2.0.3 Latest Release

Published by levinmr 7 months ago

rspec-snapshot - 2.0.2

Published by levinmr 10 months ago

features:

  • Refactors to move file operations and serializer initialization into separate classes which are then injected into the matcher.
  • Add more class/method docs
  • Update rubocop and fix lint issues

chores:

  • bump ruby version to 3.2
  • replace travis CI with github actions workflow
  • enable dependabot
rspec-snapshot - 2.0.1

Published by levinmr about 3 years ago

Features:

  • Fixes a bug when using the matcher as an argument matcher which would print the entire matcher object when the match failed.

Chores:

  • Updates dev dependency versions
  • Adds unit tests for all classes
  • Adds ruby 3 to CI ruby versions
rspec-snapshot - v2.0.0

Published by levinmr over 3 years ago

features:

  • regenerate all snapshots when UPDATE_SNAPSHOTS env var is set
  • use awesome_print for human readable snapshots by default
  • allow a custom serializer to be configured globally or per matcher
  • handle matching method arguments with snapshots

chores:

  • remove unnecessary dependencies, and update remaining versions
  • add rubocop linter and simplecov code coverage
  • add ruby-version file and set version to 2.7.3
  • update gem required ruby version >= 2.5.0
  • update travis to use ruby 2.5 - 2.7 and current bundler
  • update README to new repo path and reformat for readability
  • remove bin/setup, document spec/lint commands
  • update code per rubocop violations, add specs to cover all features
rspec-snapshot - v0.1.0

Published by yesmeck about 8 years ago

First release.