Skip to content

Latest commit

 

History

History

allure-docker-python-behave-example

PYTHON BEHAVE DEMO PROJECT USING ALLURE

INSTALLATION

python3 --version
  • Go to project
  • Install dependencies
pip3 install -r requirements.txt

USAGE

Execute Allure Docker Service from this directory

docker-compose up -d allure allure-ui

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:

DEVELOPER USAGE

Freeze dependencies when you update some of them

pip freeze > requirements.txt

https://blog.miguelgrinberg.com/post/the-package-dependency-blues