当前位置:网站首页>Neglected problem: test environment configuration management
Neglected problem: test environment configuration management
2022-07-04 18:20:00 【InfoQ】
- Online problems occur frequently ;
- Configuration management is not standardized ;
- The production and test environments are not isolated ;
- The quality of online delivery is not high ;
- The process specification is not perfect , Insufficient landing effect ;
- QA Lack of good tools and means to carry out quality assurance ;
How important is the test environment

- Network isolation : That is, requests cannot be accessed across environments , Especially in non production and production environments ;
- Data isolation : That is, different environments should have their own independent data sources , In principle, the same data source cannot be shared ;
- Circulation card points : Publish the code to the next environment node , In principle, it should meet the state or standard of circulation , You can't publish at will ;
- Other matters : If there are multiple sets in a certain environment , Suggest sharing data sources , In this way, the cost of maintenance and change is low ;
How to manage the test environment
Change management
Rights management
- There are no restrictions on service publishing: Set the service publishing time window through the publishing platform , Negotiate, communicate and confirm with the R & D and test teams ( Reduce service unavailability caused by arbitrary publishing );
- Anyone can publish it at any time: Each application or business domain application set specifies Services owner, Service publishing needs to go through owner The publishing process can only be executed after the second confirmation ;
- Information out of sync & High communication cost: Establish a special service release information synchronization group , An application needs to be released , Automatic Aite corresponding owner Make notification confirmation ( It can be set to be undisturbed , But the impact needs owner Be responsible for );
Data management
- Table structure changes in multiple test environments , It needs to be mentioned many times DDL The repair order ,DBA Students have a large amount of tasks ;
- Suppose the test environment switches during the test , The change will be repeated , It is easy to omit or change incorrectly ;
- Even if there is a special test data embedding tool , However, multiple environments and data sources will lead to more time-consuming data preparation , Increase complexity ;
- Different environments and different data sources , When performing automated regression , test case And data may need to be modified and adapted , Time consuming and laborious ;
- Even if multiple projects are carried out at the same time , But the final release online is only a set of environment and data sources , This will lead to the online risk probability caused by frequent changes ;
Tools and means
- All changes require check, Major changes require approval ;
- With tools and platforms , Close the change permission , Use a unified process to standardize the operation process ;
- Reduce the frequency of changes , Clarify the access and exit criteria for change circulation , Test students to do a good job in quality control ;
Other management methods
- Code branch naming conventions ;
- Service unavailable subscription notification ;
- The service release notification function is online ;
- Training on environmental unavailability problems and solutions ;
- Set up a virtual group , Each domain is designated to be responsible for the testing of that domain owner;
- Integrate automation frameworks and methods of different business lines , Provide a unified technical solution ;
- Test environment access log monitoring alarm , From the service layer -DB layer , Monitor and alarm automatically and transparently ;
- Environment and service unavailability are included in the fault SLA Measurement dimension , Regularly repeat and analyze , And constantly improve ;
边栏推荐
- Russia arena data releases PostgreSQL based products
- 提升复杂场景三维重建精度 | 基于PaddleSeg分割无人机遥感影像
- gatling 之性能测试
- 机器学习概念漂移检测方法(Aporia)
- Weima, which is going to be listed, still can't give Baidu confidence
- 2022年全国CMMI认证补贴政策|昌旭咨询
- LD_LIBRARY_PATH 环境变量设置
- 【Hot100】32. 最长有效括号
- 五千字讲清楚团队自组织建设 | Liga 妙谈
- S5PV210芯片I2C适配器驱动分析(i2c-s3c2410.c)
猜你喜欢
DB-Engines 2022年7月数据库排行榜:Microsoft SQL Server 大涨,Oracle 大跌
ISO27001认证办理流程及2022年补贴政策汇总
曾经的“彩电大王”,退市前卖猪肉
uni-app与uviewUI实现仿小米商城app(附源码)
[cloud native] what is the "grid" of service grid?
The block:usdd has strong growth momentum
Blue bridge: sympodial plant
celebrate! Kelan sundb and Zhongchuang software complete the compatibility adaptation of seven products
Detectron2 installation method
Thawte通配符SSL证书提供的类型有哪些
随机推荐
[test development] software testing - Basics
【210】PHP 定界符的用法
Lua emmylua annotation details
【系统盘转回U盘】记录系统盘转回U盘的操作
无心剑中译伊丽莎白·毕肖普《一门技艺》
【每日一题】871. 最低加油次数
【209】go语言的学习思想
超标量处理器设计 姚永斌 第5章 指令集体系 摘录
[proteus simulation] printf debugging output example based on VSM serial port
fopen、fread、fwrite、fseek 的文件处理示例
The Block:USDD增长势头强劲
LD_LIBRARY_PATH 环境变量设置
Achieve animation effect through event binding
MySQL常用增删改查操作(CRUD)
庆贺!科蓝SUNDB与中创软件完成七大产品的兼容性适配
Russia arena data releases PostgreSQL based products
使用3DMAX制作一枚手雷
俄罗斯 Arenadata 发布基于PostgreSQL的产品
78 year old professor Huake impacts the IPO, and Fengnian capital is expected to reap dozens of times the return
就在今天丨汇丰4位专家齐聚,共讨银行核心系统改造、迁移、重构难题