1 Star 0 Fork 0

世博/pytest_20240120

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.py 853 Bytes
一键复制 编辑 原始数据 按行查看 历史
shibo 提交于 2024-01-20 21:00 . 第一次
# This is a sample Python script.
# Press Shift+F10 to execute it or replace it with your code.
# Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings.
# def print_hi(name):
# # Use a breakpoint in the code line below to debug your script.
# print(f'Hi, {name}') # Press Ctrl+F8 to toggle the breakpoint.
#
#
# # Press the green button in the gutter to run the script.
# if __name__ == '__main__':
# print_hi('PyCharm')
#
# # See PyCharm help at https://www.jetbrains.com/help/pycharm
# import pytest
#
# if __name__ == '__main__':
# pytest.main('-vs')
import os
import time
import pytest
if __name__ == '__main__':
pytest.main()
time.sleep(3)
#把./temps中allure报告的零时json生成html文件输出到./report
os.system("allure generate ./temps -o ./report --clean")
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/Tom__Li/pytest_20240120.git
[email protected]:Tom__Li/pytest_20240120.git
Tom__Li
pytest_20240120
pytest_20240120
master

搜索帮助