I am please to announce the availability of new backwards compatible
features and fixes in the "baseline" package (releases 1.1.0, 1.1.1, 1.1.2).

This tool streamlines creation and maintenance of tests which compare string
output against a baseline. It offers a mechanism to compare a string against
a baselined copy and update the baselined copy to match the new value when a
mismatch occurs. The update process includes a manual step to facilitate a
review of the change before acceptance. The tool uses multi-line string
format
for string baselines to improve readability for human review.

Docs: https://baseline.readthedocs.io/en/latest/
PyPi: https://pypi.org/project/baseline/
Repo: https://github.com/dmgass/baseline

License: MIT

With Regards,
Dan Gass
(dan.gass at gmail)

******************
1.1.2 2020-MAY-02
*****************

+ Maintain file permissions and owner (both when generating update
  file and when applying update file to original script). Previously,
  file owner and permissions were set based on permission levels of
  execution context which caused issues when executing under elevated
  permission levels (e.g. sudo).


*****************
1.1.1 2020-MAY-02
*****************

+ Improve experimental feature to support specifying an alternative
  location. Add ``BASELINE_MOVE_UPDATES`` environment variable that
  when set to ``YES``, enables specifying an alternative location to
  write update files. This master switch facilitates allowing CI/CD
  systems to enable the feature while leaving the feature off in
  local development while still using CI/CD resources (e.g. tox).


*****************
1.1.0 2020-MAY-01
*****************

+ Add ``--clean`` (`-c`) option to baseline command line tool to
  remove update files.

+ Add ``--diff`` (`-d`) option to baseline command line tool that
  shows difference and queries for overwrite permission for each
  updated file.

+ Change update file extension to ``.py.update`` so that testing
  frameworks such as ``unittest`` or ``pytest`` ignore them.

+ Add experimental feature to support specifying an alternative
  location to write update files with the ``BASELINE_UPDATES_PATH``
  environment variable. (Note, ``BASELINE_RELPATH_BASE`` must be
  set when using this feature.)

+ Add experimental feature to print contextual differences whenever
  a baseline mis-compare occurs. The feature may be turned on by
  setting the environment variable (``BASELINE_PRINT_DIFFS="YES"``)
  or overriding the class attribute (``Baseline.PRINT_DIFFS = True``).
_______________________________________________
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com

Reply via email to