- Install scoop from www.scoop.sh
- Install allure commandline by running the following command:
scoop install allure
- git clone
- cd to project directory
- Install virtualenv:
py -m pip install --user virtualenv
- Create a virtual environment:
py -m venv env
- Activate your virtual environment:
.\env\Scripts\activate
- install pipenv:
pip install pipenv
- install project dependencies using pipenv:
pipenv install
pipenv run pytest --alluredir=allure-results
if no browser was selected then chrome will be used.
- Run according to tags:
pipenv run pytest -k "<tag_name>"
- view allure results:
allure serve allure-results
GitHub Pages allure results:
https://github.com/nirtal85/Selenium-Python-Example/deployments/activity_log?environment=github-pages
pytest --help