当前位置:网站首页>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 !
边栏推荐
- Machine learning how to achieve epidemic visualization -- epidemic data analysis and prediction practice
- 存储成本降低 80%,有赞数据中台成本治理怎么做的?
- Lambda expressions and stream streams
- day7
- Lambda表达式和Stream流
- Small bulk quantitative stock trading record | data is the source in the quantitative system, which teaches you to build a universal data source framework
- GBase 8c 事务ID和快照(六)
- 基于 Flink CDC 实现海量数据的实时同步和转换
- Real time synchronization and conversion of massive data based on Flink CDC
- GBase 8c 备份控制函数(四)
猜你喜欢

周报、月报有多折磨人?万能报表模板建议收藏!(附模板)

Process data and change the name of data

HCIP第十二天笔记

LeetCode高频题128. 最长连续序列,经常被互联网大厂面试考到

Blizzard Diablo 4 ps5 / PS4 beta added to Playstation database

集合/容器

Leetcode: 515. Find the maximum value in each tree row

Embedded classic communication protocol

石油化工行业迎战涨价大潮,经销商分销系统平台数字化赋能经销商与门店

Leetcode high frequency question 128. the longest continuous sequence, which is often tested in interviews with Internet companies
随机推荐
硬件SPI与软件模拟SPI速率对比
Open source flight control (Px4, ardupilot)
How tormenting are weekly and monthly reports? Universal report template recommended collection! (template attached)
leetcode: 515. 在每个树行中找最大值
Hcip 13th day notes
Packet capturing wizard netcapture app packet capturing tutorial "complete"
Leveraging the blue ocean of household appliances consumption with "digital channels", the dealer online system enables enterprises to further their business
数商云供应链集采管理系统解决方案:集采系统管理模式,数字化管控企业物资
Gbase 8C backup control function (III)
周报、月报有多折磨人?万能报表模板建议收藏!(附模板)
什么是方法,什么是方法论:了解自我精进提升的底层逻辑
Redis设计规范
HyperMesh circular array - plug in
Custom type: structure, enumeration, union
UE4 unreal ndisplay plug-in easy to use three fold screen details
Gbase 8C database object size function (I)
Fiddler mobile packet capturing agent settings (for Huawei glory 60s)
领域驱动设计——术语篇
What are the important applications of MES system in manufacturing enterprises
VPP之DPDK插件