Example/Base project for BDD Testing using @behave (https://github.com/behave/behave)
- Install Firefox (Add to Path)
- Download Geckodriver for the same Firefox Version (Add to Path)
- Python 3.x
- Install dependencies from requirements.txt:
pip install -r requirements.txt
-
Normal Run
behave -
Specific Features
behave DIR|FILE|FILE:LINE -
Junit Report XML
Default folder (reports/)
behave --junitSpecific folder
behave --junit --junit-directory=/path/to/folder