Ethon

为什么要有方法,因为懒惰是一种美德。

   :: 首页  :: 新随笔  ::  ::  :: 管理

2020年4月13日

摘要: import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.qa.utils.*; import org.testng.annotations.DataProvider; impo 阅读全文
posted @ 2020-04-13 09:33 Ethon 阅读(619) 评论(0) 推荐(0) 编辑

摘要: import unittest import json import requests import ddt from pymysql import connect def getMySqlData(): try: db = connect(host="xx.xx.xx.xx", user="xxx 阅读全文
posted @ 2020-04-13 09:28 Ethon 阅读(545) 评论(0) 推荐(0) 编辑

摘要: 思路:Excel管理测试用例,JSONPath做预期结果数据处理,测试结果回写Excel import com.alibaba.fastjson.JSONObject; import com.qa.utils.*; import org.testng.Assert; import org.testn 阅读全文
posted @ 2020-04-13 09:19 Ethon 阅读(1489) 评论(0) 推荐(1) 编辑