pytest 常用的插件
pytest常用的插件
- pytest
- pytest-html
- pytest-xdist
- pytest-ordering
- pytest-rerunfailures
- pytest-base-url
- allure-pytest
在项目根目录下新建 requirements.txt
将上述插件填充到 requirements.txt
pytest
pytest-html
pytest-xdist
pytest-ordering
pytest-rerunfailures
pytest-base-url
allure-pytest
执行:pip install -r requirements.txt
安装插件