当前位置:网站首页>[software testing] 05 -- principles of software testing
[software testing] 05 -- principles of software testing
2022-07-05 07:05:00 【Derived planet】
Principles of software testing
1. Testing should be based on customer requirements
All testing work should be based on meeting customer needs , From the customer's point of view , The most serious mistake is that the software can't meet the requirements . occasionally , The test results of software products are perfect , But it's not the product that customers ultimately want , Then the development of software products is a failure , And testing is meaningless . Therefore, the testing environment should be configured according to the needs of customers , And test and evaluate the results according to the customer's usage habits .
2. The test should be carried out as soon as possible
Software errors exist in all stages of the software life cycle , Therefore, testing should be carried out as soon as possible , Run software testing through all stages of software life cycle , In this way, testers can find and prevent errors as soon as possible , Reduce the cost of bug fixes . Early testing helps testers understand the requirements and design of software products , So as to predict the difficulty and risk of testing , Formulate and perfect plans , Improve the efficiency of testing .
3. It's impossible to run out of tests
Due to time and resource constraints , Complete ( All combinations of various inputs and outputs ) The test is impossible , Testers can determine the focus of testing according to the risk and priority of testing , So as to control the workload of testing , At test cost 、 Strike a balance between risk and benefit .
4. follow GoodEnough principle
GoodEnough The principle is that the input and output of the test should be properly balanced , Form an adequate quality assessment process , This process is based on the cost of testing . Inadequate testing cannot guarantee the quality of software products , However, too much testing investment will cause a waste of resources . With the increase of test resource investment , The output of testing is also increased , But when the investment reaches a certain proportion , The effect of the test will not be significantly enhanced . Therefore, the test input should be considered according to the actual requirements and product quality , It is best to achieve a balance between test input and output GoodEnough state .
5. Test defects shall comply with “ sixteen ” Theorem
Defective “ sixteen ” The theorem is also called Pareto principle 、 Defect clustering effect , In general , Software 80% The defects will focus on 20% In the module , Defects are not evenly distributed . So when testing , We should grasp the main contradiction , If some modules are found to have more defects than others , It takes more manpower 、 Focus on testing these modules to improve testing efficiency .
6. Avoid defective immunity
In software testing , Defects can also produce immunity . The same test cases are used repeatedly , The ability to find defects will become worse and worse ; The more familiar testers are with the software, the more they will ignore some seemingly small problems , The worse the ability to find defects , This phenomenon is called the of software testing “ Insecticide ” The phenomenon . It is mainly because testers do not update test cases in time or are too familiar with test cases and test objects , Formed a thinking pattern .
To overcome this situation , It is necessary to constantly modify and review the test cases , Add new test cases , meanwhile , Testers should also think differently , You can't compare input and output just to complete the test task .
Software without defects does not exist , Software testing is to find out the defects in software testing , Not to prove that the software is flawless .
边栏推荐
- Huawei bracelet, how to add medicine reminder?
- window navicat连接阿里云服务器mysql步骤及常见问题
- 现在有html文件,和用vs制作的mvc(连接了数据库),怎么两个相连?
- Powermanagerservice (I) - initialization
- 【MySQL8.0不支持表名大写-对应方案】
- ethtool 原理介绍和解决网卡丢包排查思路(附ethtool源码下载)
- Orin 安装CUDA环境
- 二分查找(折半查找)
- Marvell 88e1515 PHY loopback mode test
- Sum of two numbers, the numbers in the array are converted to decimal, added, and output inversely
猜你喜欢
Marvell 88E1515 PHY loopback模式测试
iNFTnews | 喝茶送虚拟股票?浅析奈雪的茶“发币”
扫盲-以太网MII接口类型大全-MII、RMII、SMII、GMII、RGMII、SGMII、XGMII、XAUI、RXAUI
你心目中的数据分析 Top 1 选 Pandas 还是选 SQL?
Ros2 - node (VII)
Vant Weapp SwipeCell設置多個按鈕
Ros2 - common command line (IV)
A brief introduction to heading/pitch/roll and omega/phi/kappa
SOC_SD_DATA_FSM
PowerManagerService(一)— 初始化
随机推荐
Interpretation of the earliest sketches - image translation work sketchygan
【无标题】
网易To B,柔外刚中
The problem of Chinese garbled code in the vscode output box can be solved once for life
The “mode“ argument must be integer. Received an instance of Object
Matlab在线性代数中的应用(四):相似矩阵及二次型
【软件测试】04 -- 软件测试与软件开发
Volcano resource reservation feature
一文揭开,测试外包公司的真实情况
Docker installs MySQL and uses Navicat to connect
LSA Type Explanation - detailed explanation of lsa-2 (type II LSA network LSA) and lsa-3 (type III LSA network Summary LSA)
Orin installs CUDA environment
About vscode, "code unreachable" will be displayed when calling sendline series functions with pwntools“
你心目中的数据分析 Top 1 选 Pandas 还是选 SQL?
iNFTnews | 喝茶送虚拟股票?浅析奈雪的茶“发币”
The differences and connections among cookies, sessions, JWT, and tokens
U-Boot初始化及工作流程分析
Written examination notes
Build a microservice cluster environment locally and learn to deploy automatically
Qt项目中的日志库log4qt使用