This repository contains test automation project for Urban Jungle application https://github.com/Urban-Jungle-Project/urban_jungle_app.
- Python
- Allure CommandLine (for local test report generation).
- Install Python (Version 3.10 or above) from https://www.python.org/downloads/.
- Add location of the python.exe to the PATH in System variables.
- Install virtualenv
python -m pip install virtualenv
. - Clone this project.
- Create virtualenv within project root folder
python -m virtualenv venv
. - Activate virtualenv - execute
venv\scripts\activate
in project root folder. - Install python libraries
pip install -r requirements.txt
.
One can configure test execution with help of the next environment variables:
Environment variable name | Is required | Example |
---|---|---|
ENVIRONMENT | yes | dev, qa, staging |
python -m pytest --alluredir allure_results
allure serve allure_results