接口自动化框架一共分为3层:base层,api层,case层

1. base层

1.1 helper.py文件:

1 JsonHelper:提取json信息的方法
2 MysqlHelper:连接mysql的方法
3 TimeHelper:与时间相关的方法,如获取当前时间或时间戳
4 StringHelper:与字符串相关的方法,如随机生成一个字符串
5 AllureHelper:与allure相关的方法,用例断言方法。
常用功能介绍

相关文章:

  • 2022-12-23
  • 2021-06-17
  • 2022-12-23
  • 2021-07-20
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-03
  • 2021-05-01
  • 2022-01-10
  • 2021-10-27
相关资源
相似解决方案