当前位置:网站首页>Automated test platform (13): interface automation framework and platform comparison, application scenario analysis and design ideas sharing
Automated test platform (13): interface automation framework and platform comparison, application scenario analysis and design ideas sharing
2022-07-01 06:45:00 【Songbird】
One 、 Preface
The traditional solution to realize interface automation is to build an automation framework , adopt excel Write use cases to drive execution , For example, the common combination of the jack of all trades technology stack :openpyxl、pytest、allure etc. .
Many companies use automation frameworks rather than test platforms to automate interfaces , The main reason is that the construction cost of automation framework will be much lower than that of test platform . But for the maintenance of automated use cases 、 And the difficulty of writing use cases . The cost of building architecture is inversely proportional to the cost of maintaining use cases , So we need to choose whether to build an automation framework or a testing platform according to the actual situation . When the business is in fast iteration , The project more 、 When the scene is complex , The inefficiency of use case cost maintenance will make automation more and more difficult and complex , At this time, it is better to build a test platform than an automation framework . conversely , You should choose the automation framework .
Why is it said that the automation framework is difficult to maintain ? Take a simple question : When interface parameters are changed , How to find out the test cases affected by it ?
This problem is absolutely intractable for the traditional automated framework testing scheme , The biggest single project I have ever handled is 2000 Multiple interfaces , The use cases based on this are 10000 strip +, If you pass excel It is difficult to have an appropriate and efficient solution to the problem of driving interface automated testing . If you do it through the platform , Because of the concept of database , Interface maintained id And the relationship before the use case , You only need to query the data associated with the changed interface in the use case to directly find out the scope of influence .
This is just a small example , In fact, there are many places that hinder the development of traditional interface automation testing . So many large companies will build automated test platforms , To improve the efficiency of automation , Improve the maintainability of use cases .
The full tutorial address of this column :《 from 0 Build an automated test platform 》
Project online presentation
边栏推荐
- @Transactional的传播属性REQUIRES_NEW深入理解
- C#如何打印输出原版数组
- 如果我在广州,到哪里开户比较好?究竟网上开户是否安全么?
- sci-hub如何使用
- C language course set up student elective course system (big homework)
- 根据输入画有向图
- 绕圆旋转动画组件,拿过来直接用
- Design of sales management system for C language course (big homework)
- 2022 年江苏省职业院校技能大赛(中职) 网络搭建与应用赛项公开赛卷
- ESP32深度睡眠电流怎样低于10uA
猜你喜欢

代码实战——从零开始搭建自己的Diffusion models/Score-based generative models

C language course set up salary management system (big homework)

Mongodb: I. what is mongodb? Advantages and disadvantages of mongodb

Understand esp32 sleep mode and its power consumption

Software engineering review

Notes on probability theory

产品学习(二)——竞品分析

C language course is provided with employee information management system (large operation)

ESP32 - ULP 协处理器在低功耗模式下读片内霍尔传感器HALL SENSOR
![[unity shader ablation effect _ case sharing]](/img/e3/464f1cf426e8c03ce3d538ed9cf4bc.png)
[unity shader ablation effect _ case sharing]
随机推荐
Student attendance system for C language course (big homework)
Several ways of gson's @jsonadapter annotation
H5网页判断是否安装了某个APP,安装则跳转未安装则下载的方案总结
Product learning (I) - structure diagram
2022 Jiangsu Vocational College skills competition (secondary vocational school) network construction and application open competition volume
Jena default inference query based on OWL
H5 web page determines whether an app is installed. If it is installed, it will jump to the summary of the scheme to download if it is not installed
RestTemplate使用
Postgraduate entrance examination directory link
[wechat applet] view container and basic content components
Rotate the animation component around the circle, take it and use it directly
ESP32 ESP-IDF GPIO按键中断响应
SQL learning notes 2
8 张图 | 剖析 Eureka 的首次同步注册表
下载外文期刊的方法
Comment imprimer le tableau original
The code generator has eliminated the styling of xxxx js as it exceeds the max of 500kb
K8s set up redis cluster
了解ESP32睡眠模式及其功耗
[wechat applet] how to build a building block development?