cd F:python_11 each01 estcasepytest -sq testLogin.py --alluredir=../report/tmpallure generate ../report/tmp -o ../report/report --clean 操作:双击执行api_run。bat文件就可以查看。 注意:只能在pycharm中查看index.html文件。