-
Download Python 3 https://www.python.org/downloads/
-
Check Python version
python3 --version
- Go to project
- Install dependencies
pip3 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:5050/latest-report
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