forked from pool/python-pytest-bdd
Compare commits
5 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| a578c0754b | |||
| cfd136113a | |||
| 3d5634cc01 | |||
| e6fdf7b947 | |||
| 9a01447ae3 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:63296862684eb0f346b427f4183b2ab7534bd3d3ba4d2ea86016edf8269deeb9
|
||||
size 81301
|
||||
3
pytest-bdd-8.1.0.tar.gz
Normal file
3
pytest-bdd-8.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:92162b4b92eea7092e07e978b42e552543fe66e4253534567825883cbaf9077b
|
||||
size 116529
|
||||
@@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 19 04:05:49 UTC 2026 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Use poetry-core for building, rather than poetry.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 3 01:15:42 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- 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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pytest-bdd
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,23 +17,23 @@
|
||||
|
||||
|
||||
Name: python-pytest-bdd
|
||||
Version: 7.2.0
|
||||
Version: 8.1.0
|
||||
Release: 0
|
||||
Summary: BDD for pytest
|
||||
License: MIT
|
||||
URL: https://github.com/pytest-dev/pytest-bdd
|
||||
Source: https://github.com/pytest-dev/pytest-bdd/archive/%{version}.tar.gz#/pytest-bdd-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module base >= 3.9}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module poetry}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: %{python_module poetry-core}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Mako
|
||||
Requires: python-gherkin-official >= 29
|
||||
Requires: python-packaging
|
||||
Requires: python-parse
|
||||
Requires: python-parse_type
|
||||
Requires: python-pytest >= 6.2.0
|
||||
Requires: python-pytest >= 7.0.0
|
||||
Requires: python-typing_extensions
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
@@ -41,10 +41,11 @@ BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module Mako}
|
||||
BuildRequires: %{python_module execnet}
|
||||
BuildRequires: %{python_module gherkin-official >= 29}
|
||||
BuildRequires: %{python_module packaging}
|
||||
BuildRequires: %{python_module parse_type}
|
||||
BuildRequires: %{python_module parse}
|
||||
BuildRequires: %{python_module pytest >= 6.2.0}
|
||||
BuildRequires: %{python_module pytest >= 7.0.0}
|
||||
BuildRequires: %{python_module typing_extensions}
|
||||
%python_subpackages
|
||||
|
||||
@@ -82,7 +83,8 @@ mkdir -p build/testbin
|
||||
ln -s %{buildroot}%{_bindir}/pytest-bdd-%{$python_bin_suffix} build/testbin/pytest-bdd
|
||||
}
|
||||
export PATH=$PWD/build/testbin:$PATH
|
||||
%pytest
|
||||
# Broken upstream as of 8.1.0
|
||||
%pytest -k 'not test_step_outside_scenario_or_background_error'
|
||||
|
||||
%post
|
||||
%python_install_alternative pytest-bdd
|
||||
|
||||
Reference in New Issue
Block a user