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 安装插件

posted @ 2022-04-24 12:42  DeyouKong  阅读(70)  评论(0编辑  收藏  举报