Skip to content

Releases: pytest-dev/pytest-describe

3.2.0

Choose a tag to compare

@Cito Cito released this 12 Jun 21:34
bcb7119

Version 3.2.0 of the pytest-describe plugin

This version supports pytest 7.0 to 9.0 on Python 3.10 to 3.14.

New features:

  • Fixtures as describe block arguments (#54):
    When several tests in a describe-block need the same fixture, you can now pass the fixture name as an argument to the describe function instead of repeating it in every test. See the README for details and caveats.

  • Docstrings as describe block names (#41, #55):
    With the new opt-in describe_docstrings configuration option, describe-blocks are reported under the first line of their docstring instead of their function name, allowing for more descriptive test reports like test_wallet.py::a wallet::when it is empty::it_has_no_balance. See the README for how to enable it.

  • Access to describe functions for plugins (#53, #55):
    The new public function get_describe_functions returns the describe functions wrapping a collected test item, so that reporting plugins can show describe block names or docstrings in their output. See the README for a usage example.

  • The package now ships with complete type hints, verified with mypy in strict mode.

Breaking changes:

  • Support for Python 3.9 and pytest 6 has been dropped.

Thanks to everyone who contributed to this release with ideas and feedback!

3.1.0

Choose a tag to compare

@Cito Cito released this 12 Dec 18:46
47a9180

Version 3.1.0 of the pytest-describe plugin

This version supports pytest 6.0 to 9.0 on Python 3.9 to 3.14.

3.0.0

Choose a tag to compare

@Cito Cito released this 23 Oct 09:47

Version 3.0.0 of the pytest-describe plugin

This version supports pytest 6.0 to 8.4 on Python 3.9 to 3.14.

2.2.1

Choose a tag to compare

@Cito Cito released this 19 Oct 15:38

Version 2.2.1 of the pytest-describe plugin

This version supports pytest 4.0 to 8.4 on Python 3.7 to 3.12.

2.2.0

Choose a tag to compare

@Cito Cito released this 10 Feb 15:39

Version 2.2.0 of the pytest-describe plugin

This version supports pytest 4.0 to 8.0 on Python 3.7 to 3.12.

2.1.0

Choose a tag to compare

@Cito Cito released this 09 Apr 22:58

Version 2.1.0 of the pytest-describe plugin

This version comes with some internal clean-up and modernization and now supports pytest 4.0 to 7.3 on Python 3.7 to 3.11.

2.0.2

Choose a tag to compare

@Cito Cito released this 09 Apr 14:58

Version 2.0.2 of the pytest-describe plugin

This version of pytest-describe supports Python 3.6 to 3.10 and pytest 4.6 to 7.0.

Newer Python and pytest versions will be supported in the next minor version.

2.0.1

Choose a tag to compare

@Cito Cito released this 13 Nov 20:15

Version 2.0.1 of the pytest-describe plugin

  • Internal change: Adapt to changes in latest versions of the pytest API (#40)

Special thanks for contributing to this version go to @bluetech.

2.0.0

Choose a tag to compare

@Cito Cito released this 18 Aug 17:27

Version 2.0.0 of the pytest-describe plugin

  • This version supports pytest 4.0 to 6.2 on Python 3.6 to 3.10
  • Support list/tuple argnames for mark.parametrize (#32)
  • Made markers consistent with pytest's defaults (#36)

Special thanks go to @bpreskit, @jacebrowning and @ROpdebee for contributing PRs to this version.

1.0.0

Choose a tag to compare

@Cito Cito released this 21 Apr 23:13

Version 1.0.0 of the pytest-describe plugin

  • This version supports pytest 2.0 to 5.4 on Python 2.7 and 3.5 to 3.8
  • The repository of pytest-describe has moved to the pytest-dev organization
  • Removed deprecation warning with pytest 5.4 (#26)
  • Stacked parametrize marks are working again, added regression tests (#24)