当前位置:网站首页>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 !
边栏推荐
猜你喜欢

Custom type: structure, enumeration, union

忘记root密码

Solution of digital commerce cloud supply chain centralized purchase management system: centralized purchase system management mode, digital control of enterprise materials

Fiddler mobile packet capturing agent settings (for Huawei glory 60s)

抓包精灵NetCapture APP抓包教程《齐全》

Linux Installation mysql8.0.29 detailed tutorial

2022软件测试技能 Robotframework + SeleniumLibrary + Jenkins web关键字驱动自动化实战教程

N32L43x Flash读\写\擦除操作总结

二叉树的遍历和性质

Load balancing SLB
随机推荐
[Taichi] draw a regular grid in Tai Chi
以“数字化渠道”撬动家用电器消费蓝海,经销商在线系统让企业生意更进一步
GBase 8c 事务ID和快照(五)
白质脑功能网络图论分析:抑郁症分类和预测的神经标记
HCIP第十三天笔记
Prediction of charitable donation behavior by EEG multivariate model analysis
What devices does devicexplorer OPC server support? This article has listed
"Do you" want to be a test / development programmer? We strive to sprout
In the era of great changes in material enterprises, SRM supplier procurement system helps enterprises build a digital benchmark for property procurement
Use of recursion: 1. Convert the tiled array to a tree 2. Convert the tree to a tiled array
Gbase 8C transaction ID and snapshot (IV)
GBase 8c 通用文件访问函数
Leveraging the blue ocean of household appliances consumption with "digital channels", the dealer online system enables enterprises to further their business
Niuke net question brushing training (III)
Enterprise operation and maintenance practice - using aliyun container image service to pull and build images of overseas GCR and quay warehouses
数据安全与隐私计算峰会-可证明安全:学习
Packet capturing wizard netcapture app packet capturing tutorial "complete"
萤石网络,难当「孤勇者」
DeviceXPlorer OPC Server支持哪些设备?本文已列举出来了
Gbase 8C database object size function (I)