Installation¶
Requirements¶
- Python 3.11 or later.
Install¶
This installs behave-gen with its three base dependencies: behave,
behave-model, and typer.
Optional extras¶
Each ecosystem tool is an optional extra. Install only what you need:
Or install everything at once:
| Extra | Package | Used by |
|---|---|---|
doctor |
behave-doctor |
check, doctor |
lint |
behave-lint |
lint |
format |
behave-format |
format |
openapi |
pyyaml |
from-openapi |
swagger |
pyyaml |
from-swagger |
jinja2 |
jinja2 |
Custom templates with Jinja2 engine |
kit |
behave-kit |
add environment --kit |
data |
behave-data |
add environment --data |
all |
All of the above | — |
Verify installation¶
Development install¶
git clone https://github.com/MathiasPaulenko/behave-gen.git
cd behave-gen
pip install -e ".[dev,docs]"
pre-commit install
See Contributing for full guidelines.