jolly-good-toolbelt / sphinx_gherkindoc

A tool to convert Gherkin into Sphinx documentation
https://jolly-good-toolbelt.github.io/sphinx_gherkindoc/
11 stars 10 forks source link

--parser pytest_bdd option is not working #46

Closed majorzoltan80 closed 2 years ago

majorzoltan80 commented 3 years ago

Getting this error, whe using 3.6.0 version:

shpinx-gherkindoc <input_folder> <output_folder> --parser pytest_bdd

sphinx-gherkindoc: error: argument --parser: invalid choice: 'pytest_bdd' (choose from 'behave')

Based on documentation, we do have a pytest_bdd listed among the parsers, so what am I doing wrong?

bradsbrown commented 3 years ago

@majorzoltan80 Do you have pytest_bdd installed in the same virtualenv as sphinx_gherkindoc? The parser selection logic supports both pytest_bdd and behave, but pytest_bdd is not a listed requirement for the sphinx_gherkindoc package, and so is only available as a parser option if you already have it installed.

dgou commented 2 years ago

This looks to be a tooling configuration error, going to close this as stale.