Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

创建项目后执行run.py 报错:提示无allure #1

Closed
Chen-Ed opened this issue Oct 16, 2023 · 2 comments
Closed

创建项目后执行run.py 报错:提示无allure #1

Chen-Ed opened this issue Oct 16, 2023 · 2 comments

Comments

@Chen-Ed
Copy link

Chen-Ed commented Oct 16, 2023

pip install aomaker后
aomaker create main
直接执行run.py
因无testcase所以直接结束,但是报错无allure
('allure' 不是内部或外部命令,也不是可运行的程序
或批处理文件。),
piplist里面是有allure的
是项目有问题?还是说我应该怎么做?
image

@ae86sen
Copy link
Owner

ae86sen commented Oct 16, 2023

allure是由两部分组成:
1.allure-pytest,也就是你pip list里看到的
2.allure-command客户端,这不是python包,需要单独安装(依赖java环境)

@Chen-Ed
Copy link
Author

Chen-Ed commented Oct 16, 2023

好的,谢谢~我想起来了,我去下个包配下环境变量吧~~
给后人留个allure官方链接:
https://allurereport.org/docs/gettingstarted/installation/

@ae86sen ae86sen closed this as completed Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants