No substitution in --gherkin-terminal-reporter output for scenario outline in pytest parametrizing way
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 40/100
Hướng nghiên cứu
Tái hiện sự cố bằng lệnh pytest được nêu và mẫu tham số hóa pytest trong tài liệu được liên kết. Theo dõi đường đi của đầu ra từ --gherkin-terminal-reporter và so sánh cách render scenario-outline đối với các tham số pytest với đầu ra được báo cáo; hoàn tất khi các giá trị tham số thay thế các placeholder trong dấu ngoặc nhọn.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
In issue 222 and 235, I saw the same issue was addressed if the scrnario outline is in traditional Gherkin way, i.e. via Examples in feature files. But if the parametrization is done via pytest way, see doc, and the output still does not substitute the in the output. like this:
pytest --disable-pytest-warnings --gherkin-terminal-reporter -k test_default_merge -vv
=========================================================================================================================== test session starts ============================================================================================================================
platform darwin -- Python 2.7.10, pytest-4.6.5, py-1.8.0, pluggy-0.12.0 -- /Users/murphy/Projects/pyocnos-IPI-integration-tests/venv/bin/python
cachedir: .pytest_cache
rootdir: /Users/murphy/Projects/pyocnos-IPI-integration-tests, inifile: tox.ini
plugins: bdd-3.2.1
collected 7 items / 5 deselected / 2 selected
Feature: applying a config to a switch should be idempotent, no matter it is a replace or merge
Scenario: default merge
Given switch <switch_name> has been alive
When replace its running config with <config_file_replacement>
....
(more output truncated)
- Ngôn ngữ chính
- Python
- Star
- 1.5k
- Fork
- 253
- Merge trung bình
- 4 giờ 30 phút
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pytest-dev/pytest-bdd
-
New release to update `gherkin`?Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
pytest-dev/pytest-bdd#838 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
pytest-dev/pytest-bdd#805 ·
-
YAML support removed in v8Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
pytest-dev/pytest-bdd#785 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
pytest-dev/pytest-bdd#784 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
pytest-dev/pytest-bdd#782 ·
Tất cả issue của pytest-dev/pytest-bdd
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
CLIMADA-project/climada_python#1337 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
tail without reverseĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
8go/matrix-commander#233 ·
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
-
documentation enhancement priority:high size:M
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Validate non-divisible effective batch sizes in the Unsloth LoRA backendCó thể đã có người làm @debesh-biswas đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100