当前位置:网站首页>Talk about testdeploy
Talk about testdeploy
2022-07-01 04:39:00 【A gentle breeze】
This design , It's geek time 《 software test 52 speak 》 It's based on Docker Realized Selenium Grid Test infrastructure inspiration . In essence, I want to use the means of operation and maintenance , Rather than the means of development , Standardize the process 、 automation , Including environment deployment 、 Project specific tests . Build a common framework based on Testing Technology , Let's deploy 、 Special tests are carried out according to the set process under this framework .
We can see , The development process of test script is similar to that of business code . The test script is an introduction , If you don't understand, you don't understand , In fact, there is no need to say that we should understand all the tests , After all, industry specializing in surgery . Now there are some automated test platforms on the market , The output benefit is relatively low , In addition to investing manpower to develop and maintain automated test platforms ( Various technology stacks ), And iterating over the script version .
For engineering practice , Methods are better than tools , Convention over configuration . If you use it directly Jenkins As a unified management platform , There are at least two obvious effects :
(1) Can write scripts ( Such as test developers 、 Automated testers ), So just iterate over the script directly , Just put more effort into designing use cases , Enterprises do not need to spend more energy and cost to build a use case management platform ;
(2) I can't write scripts ( For example, product personnel 、 Functional Tester ), Just know directly in jenkins Just build on , After construction , It means that the automatic implementation of the project is over , The return to the project is completed .
k8s Under the architecture , Iteration of each version , Just update the service , It's actually updating the code . that , So is the test , We only care about the change of test script under version iteration , Iteration of each version , The test script code can also be iterated . There is no need to pay too much attention to the construction of the platform , because Jenkins It is our unified management platform , The function inside , I believe it is quite complete . indeed ,Jenkins Sacrifice in operating experience , But we pay more attention to the realization of assembly line .
At the end of the day , It is to use the idea of operation and maintenance to realize the technical architecture , And realize the automation of non core links as much as possible . For example, when the slave is added to the test cluster , Just add it to the configuration , Run the script , You can complete the environment deployment and initialization of the slave , There is no need to log in to the new slave terminal for manual execution to get the environment that the automated test and pressure test depend on . This also ensures the consistency of the environment . Many core functions , It is also left to a third party to complete , This is just a docking , For example, interface automation is popular HttpRunner frame , The distributed performance pressure test uses Locust. In terms of selection technology , Try to keep the cost as low as possible 、 Easy to use 、 Popularization 、 Those with strong universality .
Single Jenkins As a unified management platform , As projects grow , No doubt it will be the easiest to meet the bottleneck first . follow-up , Will upgrade TestDeploy, Realization Jenkins Cluster management .
边栏推荐
- How to choose the right server for website data collection?
- Redis (VII) optimization suggestions
- Embedded System Development Notes 81: Using Dialog component to design prompt dialog box
- Loop filtering based on Unet
- How to ensure the idempotency of the high concurrency interface?
- 2022 t elevator repair new version test questions and t elevator repair simulation test question bank
- Maixll-Dock 快速上手
- Shell之一键自动部署Redis任意版本
- (12) Somersault cloud case (navigation bar highlights follow)
- Knowledge supplement: basic usage of redis based on docker
猜你喜欢

Execution failed for task ‘:app:processDebugResources‘. > A failure occurred while executing com. and
![[leetcode skimming] February summary (updating)](/img/62/0d0d9f11434e49d33754a2e4f2ea65.jpg)
[leetcode skimming] February summary (updating)

JS image path conversion Base64 format

js 图片路径转换base64格式

测量三相永磁同步电机的交轴直轴电感

Odeint et GPU

LM small programmable controller software (based on CoDeSys) note 19: errors do not match the profile of the target

Obtain detailed ideas for ABCDEF questions of 2022 American Games

Question bank and online simulation examination for special operation certificate of G1 industrial boiler stoker in 2022

Annual inventory review of Alibaba cloud's observable practices in 2021
随机推荐
Codeworks round 449 (Div. 1) C. Kodori tree template
网站服务器:好用的网站服务器怎么选这五方面要关注
离线安装wireshark2.6.10
[ue4] event distribution mechanism of reflective event distributor and active call event mechanism
Threejs opening
[learn C and fly] S1E20: two dimensional array
Valid @suppresswarnings warning name
[recommended algorithm] C interview question of a small factory
2022 question bank and answers for safety production management personnel of hazardous chemical production units
嵌入式系统开发笔记81:使用Dialog组件设计提示对话框
Strategic suggestions and future development trend of global and Chinese vibration isolator market investment report 2022 Edition
细数软件研发效能的七宗罪
OdeInt与GPU
Daily question - line 10
2. Use of classlist (element class name)
Tencent has five years of testing experience. It came to the interview to ask for 30K, and saw the so-called software testing ceiling
VR线上展览所具备应用及特色
JVM栈和堆简介
CUDA development and debugging tool
[Master / slave] router election in DD message