forked from pool/python-pytest-bdd
- Update to 7.1.2:
* Address another compatibility issue with pytest 8.1 (fixture registration).
* Address a bug introduced in pytest-bdd 7.1 caused by incorrect pytest
version check.
* Address compatibility issue with pytest 8.1.
* Fix errors occurring if `pytest_unconfigure` is called before
`pytest_configure`.
* parsers.re now does a fullmatch instead of a partial match. This is to
make it work just like the other parsers, since they don't ignore
non-matching characters at the end of the string.
* Drop python 3.7 compatibility, as it's no longer supported.
* Declare official support for python 3.12
* Improve parser performance by 15%
* Fix regression introduced in version 6.1.0 where the
pytest_bdd_after_scenario hook would be called after every step instead
of after the scenario.
* Fix bug where steps without parsers would take precedence over steps
with parsers.
* Step functions can now be decorated multiple times with @given, @when,
@then. Previously every decorator would override converters and
target_fixture every at every application.
* Require pytest>=6.2
* Using modern way to specify hook options to avoid deprecation warnings
with pytest >=7.2.
* Add generic step decorator that will be used for all kind of steps
* Add stacklevel param to given, when, then, step decorators. This allows
for programmatic step generation
* Hide pytest-bdd internal method in user tracebacks
* Make the package PEP 561-compatible
* Configuration option bdd_features_base_dir is interpreted as relative
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-bdd?expand=0&rev=23
This commit is contained in:
@@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 6 06:41:12 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 7.1.2:
|
||||
* Address another compatibility issue with pytest 8.1 (fixture registration).
|
||||
* Address a bug introduced in pytest-bdd 7.1 caused by incorrect pytest
|
||||
version check.
|
||||
* Address compatibility issue with pytest 8.1.
|
||||
* Fix errors occurring if `pytest_unconfigure` is called before
|
||||
`pytest_configure`.
|
||||
* parsers.re now does a fullmatch instead of a partial match. This is to
|
||||
make it work just like the other parsers, since they don't ignore
|
||||
non-matching characters at the end of the string.
|
||||
* Drop python 3.7 compatibility, as it's no longer supported.
|
||||
* Declare official support for python 3.12
|
||||
* Improve parser performance by 15%
|
||||
* Fix regression introduced in version 6.1.0 where the
|
||||
pytest_bdd_after_scenario hook would be called after every step instead
|
||||
of after the scenario.
|
||||
* Fix bug where steps without parsers would take precedence over steps
|
||||
with parsers.
|
||||
* Step functions can now be decorated multiple times with @given, @when,
|
||||
@then. Previously every decorator would override converters and
|
||||
target_fixture every at every application.
|
||||
* Require pytest>=6.2
|
||||
* Using modern way to specify hook options to avoid deprecation warnings
|
||||
with pytest >=7.2.
|
||||
* Add generic step decorator that will be used for all kind of steps
|
||||
* Add stacklevel param to given, when, then, step decorators. This allows
|
||||
for programmatic step generation
|
||||
* Hide pytest-bdd internal method in user tracebacks
|
||||
* Make the package PEP 561-compatible
|
||||
* Configuration option bdd_features_base_dir is interpreted as relative
|
||||
to the pytest root directory.
|
||||
* Fix regression introduced in 6.0.0 where a step function decorated
|
||||
multiple using a parsers times would not be executed correctly.
|
||||
* Step arguments are no longer fixtures
|
||||
* Drop support of python 3.6, pytest 4
|
||||
* Step definitions can have "yield" statements again (4.0 release broke
|
||||
it). They will be executed as normal fixtures: code after the yield is
|
||||
executed during teardown of the test.
|
||||
* pytest_bdd.parsers.StepParser now is an Abstract Base Class. Subclasses
|
||||
must make sure to implement the abstract methods.
|
||||
- Switch to pyproject macros.
|
||||
- No more greedy globs in %files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 11 02:41:42 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user