-
Download Python https://www.python.org/downloads/
-
Check Python version
python --version
- Go to project
- Install dependencies
pip install -r requirements.txt
Execute Allure Docker Service from this directory
docker-compose up -d allure
- Verify is Allure report is working.
- Go to -> http://localhost:4040
Each time you run tests, the Allure report will be updated. Execute tests:
behave -f allure_behave.formatter:AllureFormatter -o ./allure-results
See documentation here: https://github.com/fescobar/allure-docker-service
Freeze dependencies when you update some of them
pip freeze > requirements.txt
https://blog.miguelgrinberg.com/post/the-package-dependency-blues