1、在父级目录下新建文件使用requirements.txt
2、写入所有需要安装的包:
pytest pytest-html pytest-xdist pytest-ordering pytest-rerunfailures allure-pytest pyyaml requests
3、执行命令
pip install -r requirements.txt
1、在父级目录下新建文件使用requirements.txt
2、写入所有需要安装的包:
pytest pytest-html pytest-xdist pytest-ordering pytest-rerunfailures allure-pytest pyyaml requests
3、执行命令
pip install -r requirements.txt