pytest-bdd icon indicating copy to clipboard operation
pytest-bdd copied to clipboard

No substitution in --gherkin-terminal-reporter output for scenario outline in pytest parametrizing way

Open singlaive opened this issue 6 years ago • 0 comments
trafficstars

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)

singlaive avatar Sep 05 '19 13:09 singlaive