Skip to content

Commit

Permalink
Add Markdown features definitions support using js gherkin implementa…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
elchupanebrej committed Nov 4, 2024
1 parent b7c370c commit 8cdac94
Show file tree
Hide file tree
Showing 11 changed files with 289 additions and 207 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ jobs:
pip install -U setuptools
pip install "tox>=4.0" "tox-gh-actions>=3.2" codecov
- name: Install npm dependencies
run: npm install --global
run: |
npm install "@cucumber/gherkin"
npm install "@cucumber/html-formatter"
npm install cucumber-html-reporter
npm list
- name: Test with tox
if: >
!((matrix.python-version == '3.12' ||
Expand Down
7 changes: 5 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ In-progress

Planned
-------
- Refactor internal parser API: split loader and parser APIs
- Add mobile readthedocs site support theme
- Convert e2e test features definitions to markdown
- API doc
- Add struct_bdd autoload
- Move tox.ini, pytest.ini into pyproject.toml
Expand All @@ -23,10 +26,9 @@ Planned
- Nested Rules support

- Review after fix https://github.com/cucumber/gherkin/issues/126
- Implement support of \*.md files
- Continue support of \*.md files

- Waiting for upstream issue https://github.com/cucumber/gherkin/pull/64
- Use js implementation for such feature
- Support of messages:

- Pending:
Expand Down Expand Up @@ -64,6 +66,7 @@ Planned

Unreleased
----------
- Implement support of `Markdown <https://github.com/cucumber/gherkin/blob/main/MARKDOWN_WITH_GHERKIN.md>`_ using js based parser
- Update versions:
- Drop python 3.8
- Add python 3.13
Expand Down
7 changes: 7 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,13 @@ Install pytest-bdd-ng
pip install pytest-bdd-ng
Install extra packages for parsing Markdown defined features
############################################################

.. code-block:: console
npm install @cucumber/gherkin
Install extra packages for reporting
####################################

Expand Down
Loading

0 comments on commit 8cdac94

Please sign in to comment.