pytest-dev / pytest-dev/pytest-bdd

Enable support for MDG syntax (Markdown with Gherkin)

Open
#780 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.5k
Forks
251
Avg merge
43m
Merged PRs (30d)
2

Description

Is your feature request related to a problem? Please describe.
If I understand correctly:

  1. pytest-bdd uses the official gherkin parser for Python
  2. the official gherkin parser for Python supports MDG syntax (Markdown with Gherkin)

Describe the solution you'd like
That pytest-bdd supports MDG syntax (which uses the .feature.md extension)

Describe alternatives you've considered
Staying with the plain Gherkin .feature syntax. However the markdown focused workflows when using LLM coding assistants have an excellent match with markdown flavours. There is also excellent support for syntax highlighting, formatting, linting, LSP support and other features you get for free with the markdown ecosystem.

Additional context

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named in the issue. Start by tracing how pytest-bdd discovers and parses .feature files, then determine where .feature.md handling belongs; done means MDG scenarios are accepted without breaking plain Gherkin support and are covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown, python
Domain
testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.