当前位置:网站首页>Software testing often asks, do you really build a testing environment?
Software testing often asks, do you really build a testing environment?
2022-06-13 10:17:00 【Software test network】
Often during the interview , The interviewer always asks , be familiar with linux Orders ?
At the same time, in many recruitment JD It is clearly pointed out that testers will build a test environment , And this is not only reflected in the post requirements of Senior Test Engineer , At the same time, junior test engineers are also required .
1. What is a test environment
Test environment (Testing environment) It refers to the description of the software and hardware environment on which the test runs , And any other software that interacts with the software under test , Including drive and pile . Test environment refers to the computer hardware necessary to complete software testing 、 Software 、 Network devices 、 General term of historical data .
In fact, that is , Test environment = Software + Hardware + The Internet + Data preparation + Testing tools ;
In layman's terms , Test environment refers to the carrier that testers need when testing programs .
2. Characteristics of the test environment
2.1. real
The test environment should try to simulate the user's real environment , However, due to the large number of software users , Then the real environment becomes very complex , Therefore, the test environment should try to simulate the user's real environment .
2.2. clean
We often say that we must ensure that the test environment is clean , Don't rely on ” Stolen data “, The clean test environment here doesn't just mean that there is no ” Stolen data “, In addition to the necessary software in the test environment , No other software , Especially when building a performance test environment , Make sure the test environment is clean and independent .
2.3. Operating platform
Where to build the test environment ?
The test environment is basically built on the server .
The test environment is built on which operating platform in the server , Generally speaking, the test environment can be built in windows On the platform , Can also be built in linux platform .
windows The choice of platform is windows server 2003,windows server 2008 And so on are server systems , You can build a test environment .
Then we windows Personal of the operating system PC Can I build a test environment ?
personal PC Of course, you can build a test environment , But because of personal PC Limitations of hardware and software , We usually don't use it to build a test environment , But if you do the simulation experiment by yourself, it's no problem .
But in enterprises, we generally don't use windows Build a server on the platform , But to choose linux platform .
This is because we often choose linux Platform as the operating system of the server .
What we often use linux The system is linux Distribution version , Such as CentOS、RedHat、Debian、Ubuntu etc.
linux Kernel and linux The difference between distributions ?
linux The kernel is linux The core function of the operating system , yes linux The whole foundation of the system , Open source software .
linux A distribution is one that will linux Kernel and peripheral applications and documentation packaging , And provide system installation interface and system configuration 、 Management tools .
2.4. Set up the test environment
If the test environment you need to build is just installed linux operating system , There is no tomcat And the database , You need to install... Before setting up the test environment tomcat And the database .
1) install jdk
2) install tomcat
3) mount this database
The database is generally installed mysql and oracle A little more , First download the corresponding database installation package .
mysql Simple installation , You can use the source code to install , You can also use yum Online installation , Here is a brief introduction to yum Online installation .
use yum Online installation :
1.rpm -qa|grep mysql -- Check linux Whether there is mysql
2. If there is mysql, uninstall rpm -e --nodeps mysql
3. install
4. After successful installation , Start the service
5. Direct input mysql Go to the database
If it's installation oracle Be sure to pay attention to , Install carefully , Find an installation tutorial for the corresponding environment on the Internet , Install step by step , Beware of mistakes ,oracle Be careful , Once the installation goes wrong , It will be quite troublesome , You may need to reinstall the operating system to solve .
The above will only be installed on a clean operating system , Generally, you only need to install it once .
Learning to build a test environment is one of the necessary abilities of every tester , Master the basic linux Commands are equally important .
边栏推荐
- 等个有“源”人|OpenHarmony 成长计划学生挑战赛报名启动
- Protocol UART of schematic diagram
- [ssl1280] full arrangement
- IDEA 续命插件
- Weekend book: power BI data visualization practice
- Matlab hub motor analysis fuzzy PID control vertical vibration analysis
- Summary of string, vector and array learning
- 首个Laravel工作流引擎发布 V1.0正式版
- [51nod p3216] Award [bit operation]
- 关于#数据库#的问题:反复检查过了查不出来
猜你喜欢
vivo大规模 Kubernetes 集群自动化运维实践
WebRTC服务端工程实践和优化探索
[Luogu p1090, ssl1040] merged fruit [pile]
SQL Server创建windows登录账户找不到用户或组
UNIX Environment advanced programming --3-file io---3.10 file sharing
Redundancy code question type -- the difference between adding 0 after
Cynthia项目缺陷管理系统
MySQL利用E-R模型的数据库概念设计
IDEA 续命插件
How to calculate ASCII code value and how to calculate arccos value
随机推荐
36氪首发|打造国产精算预测引擎等产品,「深轻科技」连续完成三轮融资
[ssl1280] full arrangement
Webrtc server engineering practice and optimization exploration
[51nod P3210] binary statistics
在 Kubernetes 集群上部署 VSCode
Oracle自定义数据类型Type疑问
【图像去噪】基于matlab高斯+均值+中值+双边滤波图像去噪【含Matlab源码 1872期】
Computing cyclic redundancy codes -- excerpts
上周热点回顾(6.6-6.12)
China SaaS industry panorama
C language structure
Introduction to knowledge map
It was so simple to implement system call
【轴承故障分解】基于matlab ITD轴承故障信号分解【含Matlab源码 1871期】
记一次水平越权漏洞的利用
Mobile web effects
多线程 从UE4的无锁队列开始 (线程安全)
C 11 more practical NAMEOF
[image denoising] image denoising based on MATLAB Gaussian + mean + median + bilateral filtering [including Matlab source code 1872]
MySQL利用E-R模型的数据库概念设计