Skip to content

Releases: MORSECorp/snappiershot

v1.1.0

11 Apr 18:58
b521327
Compare
Choose a tag to compare

Features

  • Support for Unit objects from pint.
  • Support for classes with underlying __slots__ objects.
  • Support for classes that utilize to_json() and from_json().
  • Metadata arguments can be marked to be ignored when snapshotting.

Bug-Fixes

  • Objects with from_json() are properly instantiated when comparing snapshots
  • Objects of type float and float64 are now properly compared
  • Iterable objects and numpy iterable objects are now properly compared

v1.0.1

26 Mar 20:59
acb6a8d
Compare
Choose a tag to compare

Features

  • Support for pathlib.Path objects.

Bug-Fixes

  • Collections are now properly serialized by both the json.dump and json.dumps methods.

v1.0.0

01 Feb 22:32
91c8251
Compare
Choose a tag to compare

Features

  • Support of bytes objects
  • Support of numpy arrays
  • Support of pandas dataframes

Bug-Fixes

  • Metadata for snapshots is now properly serialized.
  • Recursive objects are handled (recursive parts are ignored).

v0.2.0

18 Nov 17:31
480b8e9
Compare
Choose a tag to compare

Features

  • Human-Readable diff within assertion errors.
  • SnappierShot summary at the end of pytest session.
  • Support for the decimal.Decimal type added.

Bug-Fixes

  • Custom-serialized collections were not being asserted properly.

v0.1.1

02 Nov 19:25
0c08adb
Compare
Choose a tag to compare

Publish to PyPI

First Release

02 Nov 18:54
b61ed2a
Compare
Choose a tag to compare

First Official Release