Installation¶
Requirements¶
- Python 3.11 or higher
- Behave 1.2.6+ (installed automatically as a dependency)
Install from PyPI¶
Install from source¶
Development installation¶
For contributing or running tests locally:
git clone https://github.com/MathiasPaulenko/behave-model.git
cd behave-model
pip install -e ".[dev]"
This installs behave-model along with:
pytestandpytest-cov— testing and coverageruff— linting and formattingmkdocsandmkdocs-material— documentation building
Verify installation¶
Using with existing Behave projects¶
behave-model wraps Behave's parser, so it works with any existing .feature files. No changes to your feature files are needed.
from behave_model import load_project
project = load_project("features/")
print(f"Loaded {len(project.features)} features")
Next steps¶
- Quick Start — Get up and running in 5 minutes
- First Project — A complete walkthrough