30 Commits

Author SHA256 Message Date
cfd136113a Accepting request 1302511 from devel:languages:python:pytest
- Update to 8.1.0:
  * Added
    + Gherkin keyword aliases can now be used and correctly reported in json
      and terminal output.
    + Added localization support.
    + Rule keyword can be used in feature files.
    + Added support for multiple example tables
    + Added filtering by tags against example tables
    + Tags can now be on multiple lines (stacked)
    + Continuation of steps using asterisks instead of And/But supported.
    + Added ``datatable`` argument for steps that contain a datatable.
  * Changed
    + Step arguments "datatable" and "docstring" are now reserved, and they
      can't be used as step argument names.
    + Scenario description field is now set for Cucumber JSON output.
    + Text after the # character is no longer stripped from the Scenario and
      Feature name.
    + Use the gherkin-official parser, replacing the custom parsing logic.
    + Multiline steps must now always use triple-quotes for the additional
      lines.
    + All feature files must now use the keyword Feature: to be considered
      valid.
    + Tags can no longer have spaces.
    + Text after the # character is no longer stripped from the Step name.
    + Fixed an issue with the upcoming pytest release related to the use of
      @pytest.mark.usefixtures with an empty list.
  * Removed
    + Dropped support for python 3.8.
    + Drop compatibility with pytest < 7.0.0.

OBS-URL: https://build.opensuse.org/request/show/1302511
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-bdd?expand=0&rev=14
2025-09-03 19:07:51 +00:00
3d5634cc01 - Update to 8.1.0:
* Added
    + Gherkin keyword aliases can now be used and correctly reported in json
      and terminal output.
    + Added localization support.
    + Rule keyword can be used in feature files.
    + Added support for multiple example tables
    + Added filtering by tags against example tables
    + Tags can now be on multiple lines (stacked)
    + Continuation of steps using asterisks instead of And/But supported.
    + Added ``datatable`` argument for steps that contain a datatable.
  * Changed
    + Step arguments "datatable" and "docstring" are now reserved, and they
      can't be used as step argument names.
    + Scenario description field is now set for Cucumber JSON output.
    + Text after the # character is no longer stripped from the Scenario and
      Feature name.
    + Use the gherkin-official parser, replacing the custom parsing logic.
    + Multiline steps must now always use triple-quotes for the additional
      lines.
    + All feature files must now use the keyword Feature: to be considered
      valid.
    + Tags can no longer have spaces.
    + Text after the # character is no longer stripped from the Step name.
    + Fixed an issue with the upcoming pytest release related to the use of
      @pytest.mark.usefixtures with an empty list.
  * Removed
    + Dropped support for python 3.8.
    + Drop compatibility with pytest < 7.0.0.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-bdd?expand=0&rev=29
2025-09-03 01:16:02 +00:00
e6fdf7b947 Accepting request 1204943 from devel:languages:python:pytest
- 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).

OBS-URL: https://build.opensuse.org/request/show/1204943
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-bdd?expand=0&rev=13
2024-10-02 19:33:07 +00:00
9a01447ae3 - 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).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-bdd?expand=0&rev=27
2024-10-01 13:36:30 +00:00
1dedb2ed79 Accepting request 1179139 from devel:languages:python:pytest
- update to 7.2.0:
  * Fix compatibility issue with Python 3.13.
  * Declare compatibility with Python 3.13.

OBS-URL: https://build.opensuse.org/request/show/1179139
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-bdd?expand=0&rev=12
2024-06-07 13:04:45 +00:00
a7b105dbc5 - update to 7.2.0:
* Fix compatibility issue with Python 3.13.
  * Declare compatibility with Python 3.13.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-bdd?expand=0&rev=25
2024-06-07 07:01:24 +00:00
a74ec6763a Accepting request 1172299 from devel:languages:python:pytest
- 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/request/show/1172299
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-bdd?expand=0&rev=11
2024-05-14 11:39:05 +00:00
4aab6aa821 - 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
2024-05-06 06:41:36 +00:00
e5e4d1a500 Accepting request 960954 from devel:languages:python:pytest
- 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

OBS-URL: https://build.opensuse.org/request/show/960954
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-bdd?expand=0&rev=10
2022-03-11 20:41:13 +00:00
0033d2ef62 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-bdd?expand=0&rev=21
2022-03-11 02:44:19 +00:00
Richard Brown
6d98ee28f7 Accepting request 875535 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/875535
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-bdd?expand=0&rev=9
2021-03-02 11:32:12 +00:00
ba285aafc3 Accepting request 875532 from home:bnavigator:branches:devel:languages:python:pytest
- 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

OBS-URL: https://build.opensuse.org/request/show/875532
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-bdd?expand=0&rev=19
2021-02-26 21:33:31 +00:00
fde5d971eb Accepting request 836273 from devel:languages:python:pytest
- 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.

OBS-URL: https://build.opensuse.org/request/show/836273
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-bdd?expand=0&rev=8
2020-09-23 16:47:14 +00:00
cb23dfddbf - remove requires on python-enum34, not needed by pytest-bdd
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-bdd?expand=0&rev=17
2020-09-23 09:49:06 +00:00
ff4c0a73d1 - update to 4.0.1
* 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-bdd?expand=0&rev=16
2020-09-23 09:33:30 +00:00
23ba25c827 Accepting request 812820 from devel:languages:python:pytest
- Update to 3.4.0:
  * Parse multiline steps according to the gherkin specification #365.

OBS-URL: https://build.opensuse.org/request/show/812820
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-bdd?expand=0&rev=7
2020-06-09 22:49:53 +00:00
Tomáš Chvátal
8bbbd400d2 - Update to 3.4.0:
* Parse multiline steps according to the gherkin specification #365.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-bdd?expand=0&rev=14
2020-06-09 08:13:02 +00:00
9da1c15857 Accepting request 798143 from devel:languages:python:pytest
- Update to 3.3.0:
  * Require at least pytest 4.3
- Remove merged test_flaky.patch

OBS-URL: https://build.opensuse.org/request/show/798143
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-bdd?expand=0&rev=6
2020-05-01 09:09:14 +00:00
Tomáš Chvátal
9793e3612f - Update to 3.3.0:
* Require at least pytest 4.3
- Remove merged test_flaky.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-bdd?expand=0&rev=12
2020-04-27 10:34:28 +00:00
4b8b9b3369 Accepting request 795763 from devel:languages:python:pytest
- Fix build without python2

OBS-URL: https://build.opensuse.org/request/show/795763
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-bdd?expand=0&rev=5
2020-04-21 11:09:57 +00:00
Tomáš Chvátal
ced12d5267 - Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-bdd?expand=0&rev=10
2020-04-20 10:27:48 +00:00
5f73f035b4 Accepting request 783248 from devel:languages:python:pytest
- use %pytest macro 
- add test_flaky.patch to fix gerkhin reporter test flakinness

OBS-URL: https://build.opensuse.org/request/show/783248
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-bdd?expand=0&rev=4
2020-03-10 10:11:34 +00:00
08acadae52 - add test_flaky.patch to fix gerkhin reporter test flakinness
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-bdd?expand=0&rev=8
2020-03-10 09:46:17 +00:00
9becbde83e - use %pytest macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-bdd?expand=0&rev=7
2020-03-10 09:40:48 +00:00
f3a3dd49d2 Accepting request 729485 from devel:languages:python:pytest
- Update to 3.2.1:
  * python 3.8 support

OBS-URL: https://build.opensuse.org/request/show/729485
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-bdd?expand=0&rev=3
2019-09-09 22:03:56 +00:00
Tomáš Chvátal
8ada5bfc52 - Update to 3.2.1:
* python 3.8 support

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-bdd?expand=0&rev=5
2019-09-09 14:10:30 +00:00
e856c9e40e Accepting request 716613 from devel:languages:python:pytest
- 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.

OBS-URL: https://build.opensuse.org/request/show/716613
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-bdd?expand=0&rev=2
2019-07-21 09:33:41 +00:00
Tomáš Chvátal
3400b07efe - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-bdd?expand=0&rev=3
2019-07-18 16:51:25 +00:00
2ff34e021e Accepting request 687369 from devel:languages:python:pytest
- Convert to single spec
- Use %license
- Update to v3.1.0
- Initial version 0.6.8

OBS-URL: https://build.opensuse.org/request/show/687369
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-bdd?expand=0&rev=1
2019-04-02 07:20:32 +00:00
Tomáš Chvátal
9a95b65134 Accepting request 687279 from home:jayvdb:coala:test-rig
- Convert to single spec
- Use %license
- Update to v3.1.0

OBS-URL: https://build.opensuse.org/request/show/687279
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-bdd?expand=0&rev=1
2019-03-21 14:35:39 +00:00