复习一allure
官网:http://allure.qatools.ru/
--安装
1、Windows 下载安装包,解压
2、配置到path
3、pycharm安装allure-pytest
max brew安装
brew install allure
--执行
pytest xx.py --allure-features="xx功能模块” --allure-stories -vs
pytest xx.py --allure-stories="xxxx“ -vs
pytest xx.py --allure-featurest=“xx” -vs --alluredir=./result11
启动服务
allure serve ./result1
--报告生成
allure generate ./result/ -o ./report/ --clean(覆盖路径加--clean)
--打开报告
allure open -h 127.0.0.1 -p 8883 ./report/