Skip to content

Latest commit

 

History

History
106 lines (64 loc) · 4.21 KB

CHANGELOG.md

File metadata and controls

106 lines (64 loc) · 4.21 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to PEP 440 and uses Semantic Versioning.


Breaking Change:

  • Upgraded to pytest-8. Plugin will now only work with pytest>=8.0.0.

Fixed:


Fixed:

  • Pass copies of params into the test, so that they can't modify the params before repr_failure is called on test cleanup.

Breaking Change:

  • Upgraded to pytest-7, which included this deprecation. Plugin will now only work with pytest>=7.0.0.

Fixed:

  • UserWarning: Unknown distribution option: 'use_scm_version', by declaring it in pyproject.toml instead.
  • Stopped plugin from searching for pytest-managers.py and pytest-config.yml, in directories that match pytest's norecursedirs config variable. This stops a duplicate pytest-managers.py in build, from halting the entire suite for example.
  • Updated packages in requirements.txt to latest and greatest. Checked nothing broke from doing so.

Removed:

  • Removed packaging package from pyproject.toml, and requirements.txt

Fixed:

  • Populate __version__ with importlib instead of setuptools_scm, to let people use package without git. (v1.1.1 wont work if installed from PyPI becasue of this). Also removes setuptools_scm dependency after build.

Changed:

  • Improved error checking and error messages, for misformed yml tests and test_types. Removed the extra warning when plugin collects an empty test_*.yml file.

  • Moved code to figure out version, from setup.py to automation/__init__.py. This lets me populate __version__ from there.

Removed:

  • Removed automatically ignoring git submodules. Can only ignore files loaded by this plugin and not vanilla pytest tests anyways, so switching to pytest's --ignore <dir> flag for this functionality.

  • Figured out how to remove the single global statement, by changing how each file imports one another.


First major release!

Added:

  • Changelog action, to guantee this file is updated on releases.

  • Added with required_in_title as an option to each test_types, that checks it's value against the title of each test. (Replacement for required_files. More info here).

  • Python type hints to most functions.

  • Instructions on installing package from source in README.md

Changed:

  • pytest_managers.py and pytest_config.yml have been renamed to pytest-managers.py and pytest-config.yml. This is because '_' is inconsistent between Markdown anchors, but '-' isn't.

Removed:

  • Removed required_files key as an option from test_types. Decided each test should run exactly the same, regardless of what file it's in. (Allows you to have a "known_bugs.yml" you can move tests in/out of).

Fixed:

  • Empty test_*.yml's used to stop test suite from running, since the parser returned None instead of a empty string.