a7b105dbc5
- update to 7.2.0: * Fix compatibility issue with Python 3.13. * Declare compatibility with Python 3.13.
Dirk Mueller2024-06-07 07:01:24 +00:00
a74ec6763a
Accepting request 1172299 from devel:languages:python:pytest
Ana Guerrero2024-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
Steve Kowalik2024-05-06 06:41:36 +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
Steve Kowalik2022-03-11 02:44:19 +00:00
6d98ee28f7
Accepting request 875535 from devel:languages:python:pytest
Richard Brown
2021-03-02 11:32:12 +00:00
ba285aafc3
Accepting request 875532 from home:bnavigator:branches:devel:languages:python:pytest
Matej Cepl2021-02-26 21:33:31 +00:00
cb23dfddbf
- remove requires on python-enum34, not needed by pytest-bdd
Ondřej Súkup2020-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.
Ondřej Súkup2020-09-23 09:33:30 +00:00
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.
Tomáš Chvátal
2019-07-18 16:51:25 +00:00