Skip to content

Display scenario tags in gherkin terminal reporter - #830

Closed
ryux1 wants to merge 1 commit into
pytest-dev:masterfrom
ryux1:feature/gherkin-terminal-tags
Closed

Display scenario tags in gherkin terminal reporter#830
ryux1 wants to merge 1 commit into
pytest-dev:masterfrom
ryux1:feature/gherkin-terminal-tags

Conversation

@ryux1

@ryux1 ryux1 commented Sep 6, 2026

Copy link
Copy Markdown

Closes #476.

Scenario tags are already serialized into the report context, but the Gherkin terminal reporter never renders them. This adds a small shared writer and emits (tags: ...) after the scenario result in both verbose modes. Untagged scenario output remains unchanged.

Validation:

  • pytest -q: 144 passed, 1 skipped
  • focused reporter suite: 16 passed
  • Ruff check and format on the changed Python files
  • MyPy: clean across 18 source files

The repository-wide Ruff run still reports the pre-existing ISC004 finding in tests/generation/test_generate_missing.py:80; this PR does not touch that file.

@ryux1

ryux1 commented Sep 6, 2026

Copy link
Copy Markdown
Author

Closing as a duplicate. I missed the existing #807 and #477 because my initial search was limited to references to issue #476. Sorry for the noise; the existing contributors should retain ownership of this work.

@ryux1 ryux1 closed this Sep 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

print tags in gherkin-terminal-reporter

1 participant