For Windows:
- Install scoop from www.scoop.sh
- Install allure commandline by running the following command:
scoop install allure
For Mac OS X:
- Install brew from https://brew.sh/
brew install allure
- git clone
- cd to project directory
- Install virtualenv:
py -m pip install --user virtualenv
- Create a virtual environment:
py -m venv testenv
- Activate your virtual environment:
.\testenv\Scripts\activate
- install pipenv:
pip install pipenv
- install project dependencies using pipenv:
pipenv install
- download code as zip file from Git
- Extract and open with Pycharm
- venv and dependencies will automatically setup and installed with notified pop-ups
- pip install allure, if get allure not found
pipenv run pytest --alluredir=allure-results --browser <firefox/remote/chrome_headless>
if no browser was selected then chrome will be used.
- Run according to tags:
pipenv run pytest -k "<tag_name>" --browser <firefox/chrome/remote/chrome_headless>
- view allure results:
allure serve allure-results