当前位置:网站首页>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 .
边栏推荐
- The index is invalid
- Section 27 remote access virtual private network workflow and experimental demonstration
- 2022 G2 power station boiler stoker examination question bank and G2 power station boiler stoker simulation examination question bank
- Loop filtering based on Unet
- Why is Hong Kong server most suitable for overseas website construction
- Dual contractual learning: text classification via label aware data augmentation reading notes
- 细数软件研发效能的七宗罪
- 【深度学习】(4) Transformer 中的 Decoder 机制,附Pytorch完整代码
- Registration of P cylinder filling examination in 2022 and analysis of P cylinder filling
- Codeforces Round #721 (Div. 2)B1. Palindrome Game (easy version)B2. Palindrome game (hard version)
猜你喜欢

CF1638E. Colorful operations Kodori tree + differential tree array

Task04 mathematical statistics

VIM easy to use tutorial

JMeter learning notes 2 - brief introduction to graphical interface

The index is invalid

2022危险化学品生产单位安全生产管理人员题库及答案

25.k sets of flipped linked lists
![[ue4] event distribution mechanism of reflective event distributor and active call event mechanism](/img/44/6a26ad24d56ddd5156f3a31fa7e0b9.jpg)
[ue4] event distribution mechanism of reflective event distributor and active call event mechanism
![[godot] unity's animator is different from Godot's animplayer](/img/51/48f40a7b6736d7f78040eabbbd3395.jpg)
[godot] unity's animator is different from Godot's animplayer

Account sharing technology enables the farmers' market and reshapes the efficiency of transaction management services
随机推荐
Codeforces Round #771 (Div. 2) ABCD|E
PgSQL failed to start after installation
[human version] Web3 privacy game in the dark forest
This may be your last chance to join Tencent
Concurrent mode of different performance testing tools
2022年化工自动化控制仪表操作证考试题库及答案
2022 t elevator repair question bank and simulation test
Programs and processes, process management, foreground and background processes
Collect the annual summary of laws, regulations, policies and plans related to trusted computing of large market points (national, ministerial, provincial and municipal)
Browser top loading (from Zhihu)
Threejs opening
MySQL function variable stored procedure
CUDA development and debugging tool
尺取法:有效三角形的个数
2022年煤气考试题库及在线模拟考试
[today in history] June 30: von Neumann published the first draft; The semiconductor war in the late 1990s; CBS acquires CNET
Difference between cookie and session
如何看待智慧城市建设中的改变和机遇?
[deep learning] (4) decoder mechanism in transformer, complete pytoch code attached
Ten wastes of software research and development: the other side of research and development efficiency