lsekfe 发表于 2023-4-7 11:39:19

浅谈Junit5+RestAssured+Allure

 需求分析
http://www.51testing.com/attachments/2023/02/15326880_202302141432181eNZ2.png
  开发设计
  分层与抽象
http://www.51testing.com/attachments/2023/02/15326880_202302141432221wnTG.png
  技术选型
http://www.51testing.com/attachments/2023/02/15326880_202302141432251owfH.png
  主要类设计
http://www.51testing.com/attachments/2023/02/15326880_202302141437391vg03.jpg
  测试文件设计
  测试用例文件:
http://www.51testing.com/attachments/2023/02/15326880_202302141437431xYV4.png
  接口文件:
http://www.51testing.com/attachments/2023/02/15326880_202302141437461hlSm.pnghttp://www.51testing.com/attachments/2023/02/15326880_202302141437491USDv.png
  工程目录设计
http://www.51testing.com/attachments/2023/02/15326880_202302141437531I1SM.png
  工程实现
  github 地址
  https://github.com/juno3550/ApiAutoTestFramework

  运行示例
  工程根目录下执行:
  # 运行项目测试
  mvn clean test
  # 查看 allure 结果报告
  allure serve target/allure-results


  测试报告示例:
http://www.51testing.com/attachments/2023/02/15326880_202302141437561iwrY.pnghttp://www.51testing.com/attachments/2023/02/15326880_202302141438001yUDg.png

页: [1]
查看完整版本: 浅谈Junit5+RestAssured+Allure