当前位置:网站首页>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
边栏推荐
猜你喜欢

Problem: officeexception: failed to start and connect (III)

Solve the problem that the class defined in meta-inf.services cannot be read
![[unity shader amplify shader editor (ASE) Chapter 9]](/img/f5/f0f6786406e149187e71c8e12cde0d.png)
[unity shader amplify shader editor (ASE) Chapter 9]

【微信小程序低代码开发】二,在实操中化解小程序的代码组成

嵌入式系统

Using fuseki query when there are multiple models in TDB

Dirty reading, unreal reading and unrepeatable reading

(上)苹果有开源,但又怎样呢?

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

【微信小程序】一文解决button、input、image组件
随机推荐
C#如何打印輸出原版數組
产品学习(二)——竞品分析
TDB中多个model情况下使用fuseki查询
问题:OfficeException: failed to start and connect(三)
[ManageEngine Zhuohao] what is network operation and maintenance management and what is the use of network operation and maintenance platform
概率论学习笔记
ESP32 - ULP 协处理器在低功耗模式下读片内霍尔传感器HALL SENSOR
谷粒商城-环境(p1-p27)
ESP32 ESP-IDF ADC监测电池电压(带校正)
[unity shader amplify shader editor (ASE) Chapter 9]
Esp32 esp-idf ADC monitors battery voltage (with correction)
Problem: officeexception: failed to start and connect (III)
Student attendance system for C language course (big homework)
Grain Mall - environment (p1-p27)
SQL statement
Chapitre V gestion des entrées / sorties
DSBridge
问题:OfficeException: failed to start and connect(二)
Summary of wechat official account embedded program to jump to wechat
VS2019如何永久配置本地OpenCV4.5.5使用