文章目录
- 1.Pytest 环境安装
- 2.Window环境下Allure安装
- 3.Linux环境下Allure安装
1.Pytest 环境安装
pip3 install pytest
pip3 install pytest-rerunfailures
pip3 install pytest-html
pip3 install pytest-repeat
pip3 install pytest-assume
pip3 install allure-pytest
pip3 download -d pytest_py3 pytest
pip3 download -d pytest_py3 pytest-rerunfailures
pip3 download -d pytest_py3 pytest-html
pip3 download -d pytest_py3 pytest-repeat
pip3 download -d pytest_py3 pytest-assume
pip3 download -d pytest_py3 allure-pytest
pip3 install --no-index --find-links=./pytest_py3/ pytest
pip3 install --no-index --find-links=./pytest_py3/ pytest-rerunfailures
pip3 install --no-index --find-links=./pytest_py3/ pytest-html
pip3 install --no-index --find-links=./pytest_py3/ pytest-repeat
pip3 install --no-index --find-links=./pytest_py3/ allure-pytest
pip3 install --no-index --find-links=./pytest_py3/ pytest-assume
2.Window环境下Allure安装
https://github.com/allure-framework/allure2/releases
D:\Program Files\allure-2.17.2\bin
3.Linux环境下Allure安装
groupadd runner
useradd runner -g runner
rpm -ivh allure_2.17.3-1.noarch.rpm --force --nodeps
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)