# suite.addTest(info('apply_reload_act')) # 补货单审批 # suite.addTest(info('approve_reload_act')) # ===================>>>>>>>损益单<<<<<<<<=============================== # 库存损益单创建 # suite.addTest(info('scrapCreate')) # 库存损益单提交损益 # suite.addTest(info('scrapUpload')) # 库存损益单高级搜索 # suite.addTest(info('scrap_search')) # ===================>>>>>>>盘点<<<<<<<<=============================== # 创建盘点单 # suite.addTest(info('inventory_stock_create')) # 盘点单高级搜索 # suite.addTest(info('inventory_stock_query')) # 查看盘点明细差异 # suite.addTest(info('inventory_detail_diff')) report_dir = './test_report' now = time.strftime("%Y-%m-%d_%H-%M-%S") report_name = '{0}/{1}.html'.format(report_dir, now) with open(report_name, 'wb') as f: runner = HTMLTestRunner.HTMLTestReportCN( stream=f, title='测试报告', description='Android ShopForce自动化测试') runner.run(suite) f.close()