Skip to content

Releases: joseph-roitman/pytest-snapshot

v0.9.0

23 Apr 17:34
2b0268c
Compare
Choose a tag to compare

What's Changed

  • Internal methods are hidden from stack traces when a snapshot test fails. This makes the error message clearer to read. #55
  • Error messages are more helpful for developers unfamiliar with the library. #56

Full Changelog: v0.8.1...v0.9.0

v0.8.1

11 Feb 09:58
c1762ed
Compare
Choose a tag to compare

What's Changed

Fixed a bug where snapshot.assert_match would not raise exceptions when running pytest with --assert=plain and without --snapshot-update. #50

Full Changelog: v0.8.0...v0.8.1

v0.8.0

02 Dec 20:45
2d5fb6c
Compare
Choose a tag to compare

What's Changed

  • Support nested dictionaries in assert_match_dir. #48
  • Improve invalid snapshot name recognition. #43

Full Changelog: v0.7.0...v0.8.0

v0.7.0

16 Sep 20:20
a9bf29f
Compare
Choose a tag to compare

This version uses PEP-517 packaging and removes a dependency.

v0.6.3

13 Sep 18:14
e0a0329
Compare
Choose a tag to compare

This version raises errors with useful messages when trying to snapshot test values that are not supported by the library.
Attempting to snapshot test a string containing '\r' will now fail.

v0.6.2

13 Sep 11:32
33f208e
Compare
Choose a tag to compare

This version raises ValueError in assert_match_dir when snapshot file names are invalid.

v0.6.1

20 Apr 00:04
8e49694
Compare
Choose a tag to compare

Fixes a regression in v0.6.0 that broke multiline string snapshots.

v0.6.0

19 Apr 20:51
9b85511
Compare
Choose a tag to compare

Added support for snapshot testing bytes.

v0.5.0

22 Jan 03:59
d1cf35e
Compare
Choose a tag to compare

All snapshots are now saved in utf-8.
Support for Python 2 has been dropped.

v0.4.2

03 Aug 06:46
059dbae
Compare
Choose a tag to compare

This version adds support for pytest v6.0.