File python-pytest-bdd.changes of Package python-pytest-bdd
-------------------------------------------------------------------
Tue Oct 1 13:36:26 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 7.3.0:
* Fix an issue when only the first Step would inject a fixture,
while later steps would not be able to.
* Test against the latest versions of pytest (8.2, 8.3).
-------------------------------------------------------------------
Fri Jun 7 07:00:46 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 7.2.0:
* Fix compatibility issue with Python 3.13.
* Declare compatibility with Python 3.13.
-------------------------------------------------------------------
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>
- Update to 5.0.0:
* Rewrite the logic to parse Examples for Scenario Outlines. Now the
substitution of the examples is done during the parsing of Gherkin
feature files.
* Removed ``example_converters`` from ``scenario(...)`` signature.
* Removed ``--cucumberjson-expanded`` and ``--cucumber-json-expanded``
options. Now the JSON report is always expanded.
* Removed ``--gherkin-terminal-reporter-expanded`` option.
* `when` and `then` steps now can provide a `target_fixture`, just like
`given` does.
* Drop compatibility for python 2 and officially support only python >= 3.6.
* Fix error when using `--cucumber-json-expanded` in combination with
`example_converters` (marcbrossaissogeti).
* Fix `--generate-missing` not correctly recognizing steps with parsers
- Drop python-mock and python-six from BuildRequires and Requires.
- No longer skip tests that are not broken
-------------------------------------------------------------------
Fri Feb 26 20:50:41 UTC 2021 - Ben Greiner <code@bnavigator.de>
- update to 4.0.2
* Fix a bug that prevents using comments in the Examples:
section. (youtux)
- provide the correct u-a conrolled command to the tests
- Skip failing tests: test_at_scenario and test_step_trace
-------------------------------------------------------------------
Wed Sep 23 09:31:18 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 4.0.1
- remove requires on python-enum34, not needed by pytest-bdd
* Fixed performance regression introduced in 4.0.0 where collection time
of tests would take way longer than before
* Strict Gherkin option is removed (@scenario() does not accept
the strict_gherkin parameter).
* @scenario() does not accept the undocumented parameter caller_module anymore.
* Given step is no longer a fixture. The scope parameter is also removed.
* Fixture parameter is removed from the given step declaration.
* pytest_bdd_step_validation_error hook is removed.
* Fix an error with pytest-pylint plugin
* Fix pytest-xdist 2.0 compatibility
* Fix compatibility with pytest 6 --import-mode=importlib option.
-------------------------------------------------------------------
Tue Jun 9 08:10:20 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 3.4.0:
* Parse multiline steps according to the gherkin specification #365.
-------------------------------------------------------------------
Mon Apr 27 10:28:54 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 3.3.0:
* Require at least pytest 4.3
- Remove merged test_flaky.patch
-------------------------------------------------------------------
Mon Apr 20 10:26:57 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix build without python2
-------------------------------------------------------------------
Tue Mar 10 09:40:32 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- use %pytest macro
- add test_flaky.patch to fix gerkhin reporter test flakinness
-------------------------------------------------------------------
Mon Sep 9 14:09:26 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 3.2.1:
* python 3.8 support
-------------------------------------------------------------------
Thu Jul 18 16:50:14 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 3.1.1:
* Allow unicode string in @given() step names when using python2. This makes the transition of projects from python 2 to 3 easier.
-------------------------------------------------------------------
Thu Mar 21 09:46:01 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Convert to single spec
- Use %license
- Update to v3.1.0
-------------------------------------------------------------------
Sat Jan 18 16:22:28 UTC 2014 - toms@opensuse.org
- Initial version 0.6.8