1.main.py
import os
import threading
from class25.excel_driver.excel_read import path, read
from class26 import log_conf
if __name__ == '__main__':
# 创建log对象
log = log_conf.get_log('./conf/log.ini')
# 通过读取data路径下是否有测试用例,有,就执行,没有就不执行
# 重跑集合
repeat = list()
# 测试用例集合
cases = list()
# 线程池创建
th = list()
# 读取路径下的测试用例
for path,dir,files in os.walk('../class25/data/'):
for file in files:
# 获取文件的后缀名
file_type = os.path.splitext(file)[1]
# file_name = os.path.split(file)[1]
file_name = os.path