当前位置:网站首页>How to deploy the software testing environment?
How to deploy the software testing environment?
2022-06-28 11:52:00 【Test small bar】
Environment building is a necessary knowledge point for testers . The main reason is the following two considerations :
In the interview , Testers are often asked how the environment of the project you are testing is deployed
In practice , Testers may also face the scenario of deploying their own test environment
If the interviewer asks questions about setting up the environment , Don't just answer "operation and maintenance personnel deployment" , This is obviously not the answer the interviewer wants to hear . There are two main aspects of the interview :
1、 It's about whether the interviewee is familiar with the project environment
2、 Whether the common sense knowledge of server operation is well understood
So whether it's interview or application in practical work , We all need to know how to build the environment , Let's introduce :
One 、 Let's take a look at the schematic diagram of the successful operation of the project
If the software system needs to run well , A stable and reliable environment is indispensable . Environment building is mainly to build the server . The general enterprise environment construction diagram is as follows :
Because the general corporate environment is widely used LNMP【L representative linux,N representative nginx,M representative mysql,P representative PHP】, The diagram above , We can simplify it to a simpler diagram , As shown below :

- client : The user's entry terminal , Such as website , mobile phone app
- Server side : A terminal that provides application services to users ( It's also the core of environment deployment )
matters needing attention :
- The figure above shows how to get familiar with the environment deployment by installing and running all the required services on one server
- In actual enterprises, different application services are often deployed to different servers to form server clusters ( In terms of safety and stability ), The essence of the deployment process is the same
Two 、 Let's look at the role of the server
In the picture above Linux It's the server , It's something we rarely touch when we use software products . So for the sake of refuge, we are unfamiliar with him , Let's briefly introduce the server .
The server itself can be understood as some highly configured computers , And there is a professional server operating system ( It's usually linux System ). In order to provide users with efficient services , Many application services need to be installed on the server ( It can be understood as some application software ), And these applications and services often work together , To achieve user specific purposes .
In the actual project , Different projects often choose different application services according to their needs , But the basic role of common application services needs to be clarified .
3、 ... and 、 Take a look at the server components
It can be seen from the above figure that , In fact, environment deployment mainly refers to the installation and combination of the corresponding components of the server , That is, the composition of the server . To be familiar with the basic principles of project operation , You can get familiar with it by composing the basic components of the server .
The basic skeleton : It needs the basic support of hardware system and server operating system , for example LNMP Medium L-Linux ;
Database application services : Provide data storage record warehouse for the system used by users , for example LNMP Medium M-Mysql;
web Application service : It provides application services of visual interface display and resource forwarding for browser and other clients , for example LNMP Medium N-Nginx;
System language environment : The development language environment component corresponding to the system providing services , for example LNMP in P-Php ;
Project package : Source code package written by developers ( It's a software system that provides services for users ), For example, the source code of our website ,app Source code, etc …
The above components of the server can realize the deployment of the basic test environment . The order of construction is generally as follows ( What you can introduce to the interviewer ):
Premise : Generally need linux Basic skills , Because most common service operating systems are linux System .
1、 Install basic application services , At least in linux Database services required for successful installation on the server, such as mysql、web Services such as nginx、 Develop language kits such as php etc.
2、 Upload the packaged project file package to the server , Modify the corresponding web Services and their associated configuration files ( This part is also the key, you can use the deployment manual or enterprise operation and maintenance personnel ), Let the components work properly
3、 Check network routing and address configuration information , Verify the correctness of the system through the client
Four 、 The environment construction exercise paper is always light , Be sure to practice . If it's successful , No matter what the future work needs , Or the interview asked , I have a lot of confidence in my heart . Strongly recommend 3 A practical case of building environment ( If there is plenty of time , It is suggested that 3 Practice each project ):
1、 adopt LNMP Environment deployment Zen Software : Live video -《Linux Command actual combat Lnmp Build a Zen test environment 》
5、 ... and 、 Build successfully , Don't forget to look at the final summary of learning shortcuts :
Skills support + Keep practicing = “ cattle X My God ”
First , Figure out the components of your project , There is a certain need for linux And database operation experience , I am relatively familiar with the composition of common server application services , The details of the deployment process can be determined by network or operation and maintenance personnel
边栏推荐
- When an entity is converted to JSON, the field with null value is lost
- It is safer for individuals to choose which securities company to open an account for buying floor funds
- Day29 JS notes 2021.09.23
- Contract quantitative trading system development | contract quantitative app development (ready-made cases)
- Still using simpledateformat for time formatting? Be careful that the project collapses!
- New listing of operation light 3.0 - a sincere work of self subversion across the times!
- Which broker is safer and more convenient to open an account for Oriental Fortune mobile stock?
- Graphics view framework for QT learning (to realize startup animation)
- Redis6 一:Nosql引入、Redis可以解决什么问题?
- Redis6 1: what problems can be solved by the introduction of NoSQL and redis?
猜你喜欢

智联招聘基于 Nebula Graph 的推荐实践分享

Day33 JS note event (Part 2) September 28, 2021

Array method in JS 2021.09.18

Graphics view framework for QT learning (to realize startup animation)

Training notice | special training notice on epidemic prevention and security prevention for overseas Chinese funded enterprises, institutions and personnel in 2022

Day37 JS note motion function 2021.10.11

太阳能无线LED显示屏的特点

day34 js笔记 正则表达式 2021.09.29

day32 js笔记 事件(上)2021.09.27

Share the easy-to-use fastadmin open source system - practical part
随机推荐
[sword finger offer] 49 Ugly number
[sciter]: how sciter uses i18 to realize multi language switching of desktop applications and its advantages and disadvantages
Packaging and publishing application of jetpack compose desktop version
day36 js笔记 ECMA6语法 2021.10.09
day25 js中的预解析、递归函数、事件 2021.09.16
科研丨Web of Science检索技巧
JS foundation 8
day37 js笔记 运动函数 2021.10.11
赛尔号抽奖模拟求期望
Fruit FL studio/cubase/studio one music host software comparison
Random forest and poetry maker trained by AMR
來吧元宇宙,果然這熱度一時半會兒過不去了
Practice and Thinking on the architecture of a set of 100000 TPS im integrated message system
2022中国信通院首届业务与应用安全发展论坛成功召开!
day39 原型鏈及頁面烟花效果 2021.10.13
Web3安全连载(3) | 深入揭秘NFT钓鱼流程及防范技巧
Class pattern and syntax in JS 2021.11.10
[sciter]:sciter如何使用i18实现桌面应用多语言切换及其利弊
Share the easy-to-use fastadmin open source system - practical part
Mutual conversion between mytipartfile and file