040fa9e545
- Update to 5.0.0: * New Features + A new option, --snapshot-dirname, is now available to change the default directory snapshots are stored in. + The unnecessary underscore prefixes have been removed from public methods for better code clarity. * Bug Fixes + Resolve an issue where the terminal summary was not displayed correctly with xdist workers. + Ensure pytest_assertrepr_compare hook is called first. * Breaking Changes + Switch to the more permissive MIT license. This change applies to all versions from 5.0.0 and beyond. + Now requires Python 3.10 or higher. Support for Python 3.8 has been dropped. The minimum required version of pytest is v8.
Steve Kowalik2025-10-10 01:05:08 +00:00
8901d8928a
- Update to 4.9.1 * **serializer:** preserve trailing newlines in ambr serialization (#950) - from version 4.9.0 * **serializer:** raise TypeError when serializing non-byte like object in binary mode (#951) * Add --snapshot-ignore-file-extensions argument to support DVC (#943) * Add compose_matchers utility for composing 1 or more matchers (#952) * Add SingleFileAmberSnapshotExtension as a single-file variant of the default amber extension (#959) * Include details about created/updated snapshots in detailed report (#942) - from version 4.8.3 * Snapshots of deselected parametrized tests wrongly marked as unused (#965) - from version 4.8.2 * Avoid unnecessary env updates to reduce chances of segfault (#956) - from version 4.8.1 * Check current session's pending-write queue when recalling snapshots (e.g. diffing) (#927) - from version 4.8.0 * Add option to disable diffing (#924)
Matej Cepl2025-04-28 19:07:34 +00:00
dbfda0ed44
- Update to 4.9.1 * **serializer:** preserve trailing newlines in ambr serialization (#950) - from version 4.9.0 * **serializer:** raise TypeError when serializing non-byte like object in binary mode (#951) * Add --snapshot-ignore-file-extensions argument to support DVC (#943) * Add compose_matchers utility for composing 1 or more matchers (#952) * Add SingleFileAmberSnapshotExtension as a single-file variant of the default amber extension (#959) * Include details about created/updated snapshots in detailed report (#942) - from version 4.8.3 * Snapshots of deselected parametrized tests wrongly marked as unused (#965) - from version 4.8.2 * Avoid unnecessary env updates to reduce chances of segfault (#956) - from version 4.8.1 * Check current session's pending-write queue when recalling snapshots (e.g. diffing) (#927) - from version 4.8.0 * Add option to disable diffing (#924)
Matej Cepl2025-04-28 19:07:34 +00:00
94a5361c64
- update to 4.7.2: * allow snapshot dir to be different * pytest-rerunfailures compatibility * Added a new CLI flag: --snapshot-patch-pycharm-diff * relax python version constraint, remove upperbound * ignore unused snapshots for skipped test * update classifiers, metadata
Dirk Mueller2024-11-09 15:51:53 +00:00
148bfafa90
- update to 4.7.2: * allow snapshot dir to be different * pytest-rerunfailures compatibility * Added a new CLI flag: --snapshot-patch-pycharm-diff * relax python version constraint, remove upperbound * ignore unused snapshots for skipped test * update classifiers, metadata
Dirk Mueller2024-11-09 15:51:53 +00:00
c577a97a18
Accepting request 1164108 from devel:languages:python:pytest
Ana Guerrero2024-04-03 15:18:46 +00:00
c33e371c91
Accepting request 1163395 from home:ecsos:python
Markéta Machová2024-04-02 12:50:04 +00:00
51338f57eb
Accepting request 1157658 from devel:languages:python:pytest
Ana Guerrero2024-03-14 16:42:41 +00:00
1b24b64ad6
Accepting request 1124101 from devel:languages:python:pytest
Ana Guerrero2023-11-08 21:16:34 +00:00
f9e905f32c
- update to 4.6.0: * **serializer:** add support for FunctionType serialization * support setting defaults * **filter:** add paths_include filter * add include option to snapshots, similar to exclude * remove colored dependency * support python 3.12 * **serializer:** add snapshot regex value matcher and bypass custom repr helper * preserve Falsy values in assertion diff function * **amber:** expose serialize_custom_iterable method of AmberDataSerializer - drop no-colored.patch: obsolete
Dirk Mueller2023-11-07 20:21:53 +00:00
07b5cb97df
Accepting request 1100458 from devel:languages:python:pytest
Ana Guerrero2023-07-26 11:21:45 +00:00
4862b04c1b
- update to 4.0.8: * diffing excessively large snapshot lines (#778) (64b4265) * large snapshot diff recursion error (#776) (24260b1) * improve reporting around xfailed snapshots * hide empty snapshot report (#768) (8f581d5)
Dirk Mueller2023-07-24 20:00:42 +00:00