Based pytest-allure test reports Installation

Based pytest-allure test reports Installation

Operating environment: windows computer

Installation: pip install pytest-allure
run the test case: pytest test_demo.py --alluredir ./report
generate HTML test report:allure generate ./report -o ./reportHTML


Note: The following is not installed in fact ok
To install allure-commandline: npm install -g allure-commandline --save-dev
To install allure2: allure2 Release packet address


Reference:
Configuration Installation: main function configuration

Published 99 original articles · won praise 43 · views 160 000 +

Guess you like

Origin blog.csdn.net/mayanyun2013/article/details/104638292