1
0

Commit Graph

  • 1dedb2ed79 Accepting request 1179139 from devel:languages:python:pytest factory Ana Guerrero 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. Dirk Mueller 2024-06-07 07:01:24 +00:00
  • a74ec6763a Accepting request 1172299 from devel:languages:python:pytest Ana Guerrero 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 Steve Kowalik 2024-05-06 06:41:36 +00:00
  • e5e4d1a500 Accepting request 960954 from devel:languages:python:pytest Dominique Leuenberger 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 Steve Kowalik 2022-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 Cepl 2021-02-26 21:33:31 +00:00
  • fde5d971eb Accepting request 836273 from devel:languages:python:pytest Dominique Leuenberger 2020-09-23 16:47:14 +00:00
  • cb23dfddbf - remove requires on python-enum34, not needed by pytest-bdd Ondřej Súkup 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. Ondřej Súkup 2020-09-23 09:33:30 +00:00
  • 23ba25c827 Accepting request 812820 from devel:languages:python:pytest Dominique Leuenberger 2020-06-09 22:49:53 +00:00
  • 8bbbd400d2 - Update to 3.4.0: * Parse multiline steps according to the gherkin specification #365. Tomáš Chvátal 2020-06-09 08:13:02 +00:00
  • 9da1c15857 Accepting request 798143 from devel:languages:python:pytest Dominique Leuenberger 2020-05-01 09:09:14 +00:00
  • 9793e3612f - Update to 3.3.0: * Require at least pytest 4.3 - Remove merged test_flaky.patch Tomáš Chvátal 2020-04-27 10:34:28 +00:00
  • 4b8b9b3369 Accepting request 795763 from devel:languages:python:pytest Dominique Leuenberger 2020-04-21 11:09:57 +00:00
  • ced12d5267 - Fix build without python2 Tomáš Chvátal 2020-04-20 10:27:48 +00:00
  • 5f73f035b4 Accepting request 783248 from devel:languages:python:pytest Dominique Leuenberger 2020-03-10 10:11:34 +00:00
  • 08acadae52 - add test_flaky.patch to fix gerkhin reporter test flakinness Ondřej Súkup 2020-03-10 09:46:17 +00:00
  • 9becbde83e - use %pytest macro Ondřej Súkup 2020-03-10 09:40:48 +00:00
  • f3a3dd49d2 Accepting request 729485 from devel:languages:python:pytest Dominique Leuenberger 2019-09-09 22:03:56 +00:00
  • 8ada5bfc52 - Update to 3.2.1: * python 3.8 support Tomáš Chvátal 2019-09-09 14:10:30 +00:00
  • e856c9e40e Accepting request 716613 from devel:languages:python:pytest Dominique Leuenberger 2019-07-21 09:33:41 +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
  • 2ff34e021e Accepting request 687369 from devel:languages:python:pytest Dominique Leuenberger 2019-04-02 07:20:32 +00:00
  • 9a95b65134 Accepting request 687279 from home:jayvdb:coala:test-rig Tomáš Chvátal 2019-03-21 14:35:39 +00:00