当前位置:网站首页>Test and open basic daily question brushing (continuous updating...)
Test and open basic daily question brushing (continuous updating...)
2022-07-27 02:13:00 【Yu Xiaohe】
1. The following procedure requires at least ( ) Test cases , To meet the judgment coverage
if(x && y){....}
else{....}
2 Time Determining coverage requires that each branch be executed at least once , namely Y,N Must be executed once , There is only one decision in this question , So twice
2. Which of the following are not features of top-down incremental integration testing ( )

Top down test : It starts from the initial module of the program .
(1) This method can detect the top-level errors at an early stage .
(2) Early program frameworks can be demonstrated
(3) Need to develop pile module auxiliary test . Some even need multiple pile modules , Increased the original error impact of the pile module .
(4) After testing an upper module , Which module to choose as the next test module , And the order of testing has no unique criteria .
advantage : The main control and judgment points were verified earlier ; According to depth first, a complete software function can be realized and verified first ; The function was confirmed earlier , Bring confidence ; Just one driver , Reduce the cost of drive development ; Support fault isolation .
shortcoming : There is a large amount of development of columns ; The underlying validation was delayed ; Inadequate testing of underlying components .
Bottom up test : It starts from the bottom module of the program .
(1)I/O The operation can be tested in advance , Better submit test cases .
(2) It is easier to observe the output after the test .
(3) Need to develop driver module .
(4) Until the last module is submitted , The program can complete the system test .
advantage : Early verification of underlying component behavior ; Work can initially be integrated in parallel , More efficient than top-down ; It reduces the workload of piles ; Support fault isolation .
shortcoming : Driving development is a lot of work ; The verification of the high level was delayed , Design mistakes can't be found in time .
3. Which of the following tests has the largest granularity


4. The following is not a software testing step

5. Greater than 、 Less than 、 be equal to 、 It's not equal to 、 really 、 False comparison and wrong judgment are likely to be boundary condition problems , Comparative judgment and control flow are often closely related , Consider whether there are problems when designing test cases, excluding ( )

Comparative judgment and control flow are often closely related , Pay attention to the following errors during the test :
1. Compare objects of different data types ;
2. Incorrect use of logical operators or priorities ;
3. Due to the limitations of computer representation , Two quantities that are theoretically equal but actually unequal are expected to be equal ;
4. Error in comparison operation or variable ;
5. Loop termination conditions may or may not occur ;
6. You cannot exit while iterating ;
7. Incorrectly modified the loop variable .
6. The process of integration testing includes which of the following ?
System integration testing mainly includes the following process :1. The validation process of the build . 2. Patch validation process . 3. System integration test team submission process . 4. Test case design process . 5. Test the code writing process . 6. Bug The process of reporting . 7. Once a week / Every two weeks of the build process . 8. Point to point testing process . 9. In group training process .
7. Which of the basic standards of software testing is correct ?()
(1) All tests should be traced back to user requirements .
(2) Should be “ Do software testing early and continuously ” As a motto .
(3)pareto principle : Of the mistakes found in the test 80% It probably originated in 20% In the module .
(4) It's impossible to test completely , The test needs to be terminated .
(5) The test shall be constructed by an independent third party .
(6) Pay attention to the clustering phenomenon in the test .
(7) Try to avoid random testing .
(8) Give consideration to reasonable input and unreasonable input data .
(9) After the program is modified, it needs regression test .
(10) Use cases should be retained for a long time , Until the system is abandoned .
( To be continued ... ...)
边栏推荐
- ERROR! MySQL is not running, but PID file exists
- Introduction to network - Introduction to Enterprise Networking & basic knowledge of network
- MVCC及其原理详解
- [MySQL] MySQL startup and shutdown commands and some error reports to solve problems
- HCIA基础知识(1)
- Unity Huatuo example project source code analysis and inspiration
- js求最大值?
- C语言实现小游戏【三子棋】注释详细 逻辑清晰 快来看看吧!!
- Specify that SQL only supports select syntax
- 初识C语言(2)
猜你喜欢

2022年T2I文本生成图像 中文期刊论文速览-1(ECAGAN:基于通道注意力机制的文本生成图像方法+CAE-GAN:基于Transformer交叉注意力的文本生成图像技术)

TCP的三次握手与四次挥手(简述)

QoS quality of service - QoS overview

ERROR! MySQL is not running, but PID file exists

Solution: various error reports and pit stepping and pit avoidance records encountered in the alchemist cultivation plan pytoch+deeplearning (II)
![[explain C language in detail] takes you to play with functions](/img/44/53cdac9b9cf0d3f77e5da05956c3dc.png)
[explain C language in detail] takes you to play with functions

解决方案:炼丹师养成计划 Pytorch+DeepLearning遇见的各种报错与踩坑避坑记录(三)
![[translation] explicit and implicit batch in tensorrt](/img/17/3f00697d53ff43cd881960849da5f7.png)
[translation] explicit and implicit batch in tensorrt

科学计算库 —— Matplotlib

Beyond hidden display ellipsis
随机推荐
解决方案:炼丹师养成计划 Pytorch+DeepLearning遇见的各种报错与踩坑避坑记录(一)
Redis uses queues for consumption
利用九天深度学习平台复现SSA-GAN
索引失效原理讲解及其常见情况
[详解C语言]一文带你认识C语言,让你醍醐灌顶
Docker高级篇之Mysql主从复制、Redis集群扩容缩容配置案例详解
【mysql】mysql启动关闭命令以及一些报错解决问题
left join 、inner join 、right join区别
Docker advanced: detailed explanation of MySQL master-slave replication and redis cluster capacity expansion and reduction configuration cases
TIM输出比较——PWM
Nat网络地址转换实验
Difference between fat AP and thin AP & advantages and disadvantages of networking
Text to image intensive reading df-gan:a simple and effective baseline for text to image synthesis
广域网技术实验
JS max?
Electron FAQ 61 - must the client run with administrator privileges?
mysql一个select语句的执行过程
Unity Huatuo example project source code analysis and inspiration
[Database Course Design] SQLSERVER database course design (student dormitory management), course design report + source code + database diagram
解决方案:炼丹师养成计划 Pytorch+DeepLearning遇见的各种报错与踩坑避坑记录(三)