pip3 install pytest

pip3安装以下allure依赖包

pip3 install pytest-allure-adaptor
或者
pip3 uninstall pytest-allure-adaptor
pip3 install allure-pytest

 

第一种方式:配置allure环境

https://docs.qameta.io/allure/#_installing_a_commandline

搭建本机pytest+allure

手动下载allure.zip包

搭建本机pytest+allure

第二种方式

在某个文件夹或者桌面下,按住shif健+鼠标右键,然后点击:在此处打开PowerShell窗口,在窗口命令下安装scoop工具以及安装allure环境

安装scoop工具
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')

提示错误:更换执行策略
Set-ExecutionPolicy RemoteSigned -scope CurrentUser
再次安装scoop工具
安装allure
scoop install allure

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2021-09-25
  • 2022-02-26
  • 2021-12-04
  • 2021-10-18
猜你喜欢
  • 2022-12-23
  • 2022-02-10
  • 2022-12-23
  • 2022-12-23
  • 2021-09-21
  • 2021-06-21
  • 2021-06-19
相关资源
相似解决方案