摘要: def run_t(): try: log = InsertLog_P() dirpath = './scripts' discover = unittest.defaultTestLoader.discover(dirpath,pattern='*_tc.py') suite = get_test_case(discove... 阅读全文
posted @ 2018-08-19 16:17 ~小浪呆呆 阅读(158) 评论(0) 推荐(0) 编辑
摘要: testcase_path=r'./testcase.xlsx' def skipcase(testcase_path): l=[] wb=load_workbook(testcase_path) ws=wb.get_sheet_by_name(u'接口测试用例') count_row= ws.max_row print count_row for... 阅读全文
posted @ 2018-08-19 16:08 ~小浪呆呆 阅读(104) 评论(0) 推荐(0) 编辑