Example python bdd project using behave for this blog post.
Requires python >= 3.5
git clone [email protected]:StephenDavidson/python-bdd-behave.git
cd python-bdd-behave
pip install -r requirements.txt
behave # run all feature files
behave features/ # run all feature files in the given folder
behave features/search.feature # run the search.feature file only
HEADLESS=true behave # run headless chrome
variable | default value |
---|---|
BROWSER | chrome |
ENV | production |