当前位置:网站首页>Software testing interview question: what do you think is the key to good test case design?
Software testing interview question: what do you think is the key to good test case design?
2022-07-28 02:00:00 【51CTO】
What do you think is the key to do a good job in test case design ?
The key of white box test case design is to cover as many internal program logic structures as possible with fewer use cases . The key of black box test case design is also to cover module output and input interfaces with fewer use cases . It's impossible to do a full test , Find the most problems in a reasonable time with the least use cases . The black box test of software means that the test should be carried out at the interface of the software , This method regards the test object as a black box , Testers don't consider the logical structure and internal characteristics of the program at all , Only according to the requirement specification of the procedure , Check whether the function of the program conforms to its function description . Therefore, black box testing is also called function testing or data-driven testing . The main purpose of black box testing is to find the following types of errors :、
1- Is there any incorrect or missing function
2- On the interface , Whether the input can be accepted correctly ? Can you output the correct result .
3- Is there any data structure error or external information ( For example, data files ) Access error
4- Whether the performance can meet the requirements
5- Whether there are initialization or termination errors
White box testing of software is a detailed examination of the process details of the software . This approach treats the test object as an open box , It allows testers to take advantage of the logical structure and information inside the program , Design or select test cases , Test all logical paths of the program . By checking program status at different points , Determine whether the actual state is consistent with the expected state . Therefore, white box testing is also called combination testing or logic driven testing . White box test is mainly to check the program module as follows :
1- Test all independent execution paths of program modules at least once .
2- For all the logical decisions , take “ really ” And take “ false ” Both of them can be tested at least once .
3- Execute the loop body within the bounds of the loop and the bounds of its operation .
4- Test the effectiveness of the internal data structure , wait .
Personal profile
I am a test and Development Engineer , at present 25K, What we are doing now is driverless , Welcome to share the development and testing technology with you , High paying employment together , We also have a group to fight monsters together , And the interview question applet !
边栏推荐
- JS what situations can't use json Parse, json.stringify deep copy and a better deep copy method
- Gbase 8C snapshot synchronization function
- 写给去不图床用户的一封信
- Linux系统彻底删除Mysql
- In the era of great changes in material enterprises, SRM supplier procurement system helps enterprises build a digital benchmark for property procurement
- How tormenting are weekly and monthly reports? Universal report template recommended collection! (template attached)
- 硬件SPI与软件模拟SPI速率对比
- 【taichi】在太极中画出规整的网格
- What is method and methodology: understand the underlying logic of self-improvement
- Gbase 8C annotation information function
猜你喜欢

After learning the loop, I came across the problem of writing factorial of N, which caused a series of problems, including some common pitfalls for beginners, and how to simplify the code

什么是方法,什么是方法论:了解自我精进提升的底层逻辑
![[interview: concurrent article 28:volatile] orderliness](/img/8d/c4c2ca08d8883e997709d208b7395b.png)
[interview: concurrent article 28:volatile] orderliness

FreeRTOS kernel summary

HCIP第十二天笔记

Hcip day 12 notes

Forget the root password

数商云供应链集采管理系统解决方案:集采系统管理模式,数字化管控企业物资

数字经济才是未来经济发展的核心

IIC read / write eefprom
随机推荐
Gbase 8C backup control function (III)
Packet capturing wizard netcapture app packet capturing tutorial "complete"
Establishment of elk log analysis system
Game 302 of leetcode
N32l43x FLASH read \ write \ erase operation summary
UE4 unreal ndisplay plug-in easy to use three fold screen details
网易云仿写
Linux系统彻底删除Mysql
Data security and privacy computing summit - provable security: Learning
HCIP第十三天笔记
数字经济才是未来经济发展的核心
Use of recursion: 1. Convert the tiled array to a tree 2. Convert the tree to a tiled array
"Do you" want to be a test / development programmer? We strive to sprout
机器学习如何做到疫情可视化——疫情数据分析与预测实战
Prediction of charitable donation behavior by EEG multivariate model analysis
Gbase 8C transaction ID and snapshot (III)
GBase 8c 事务ID和快照
hypermesh 圆周阵列-插件
软件测试面试题:请详细介绍一下各种测试类型的含义?
白质脑功能网络图论分析:抑郁症分类和预测的神经标记