当前位置:网站首页>The concept and method of white box test
The concept and method of white box test
2022-07-23 08:57:00 【Programmer Achang】
Readers ask questions : What is a white box test , What are the test methods ?
Achang replied :
One 、 White box testing
White box testing is also called structural testing 、 Transparent box test 、 Logic driven or code based testing .
We can treat software as a transparent box , The tester must check the internal structure of the program , Start by checking the logic of the program , Get the test data .
It should be noted that , Doing white box testing requires proficiency in programming language . For example, this program uses Java Language development , Then we have to master Java Language .
Two 、 The test method
1、 White box test
Code checking 、 Static structural analysis 、 Static quality measures 、 Logical coverage 、 Basic path testing 、 Domain testing 、 Symbol test 、 Path coverage and program variation .
2、 Coverage criteria
Logical coverage 、 Loop coverage and basic path testing .
3、 Logical coverage
The ability to find errors is in order from weak to strong : Statement override 、 Determine coverage 、 Conditional coverage 、 Determine conditional coverage 、 Conditional combination covering 、 Modify the condition to judge the coverage .
Ah Chang reads in pieces :
Because white box testing requires a high level of programming , White box testing is usually performed by developers when doing unit testing .
Proficient in a programming language, such as Java / Python The tester , When writing automated scripts, you can check the internal logic of the program by doing white box tests .
边栏推荐
- 「建议收藏」常用adb操作命令详解
- 网络同步IO模型——多路复用(IO Multiplexing)
- Family fraud is prevalent, and Sogou number builds a security firewall
- How do test / development programmers break through? All roads lead to Rome
- 生成13位条形码Ean-13码规则:第十三位数字是前十二位数字经过计算得到的校验码。
- [openvx] VX for basic use of objects_ node
- 我用Flutter开发了一个类似微信可运行小程序的App
- 常用cmd命令 总结 二进制与十进制的转换
- 触发器基础知识(下)
- 亲情诈骗盛行,搜狗号码通筑安全防火墙
猜你喜欢

HCIP第十天(初始BGP边界网关协议)
![[英雄星球七月集训LeetCode解题日报] 第22日 有序集合](/img/db/aaff170119727c0c9a02c4c3a3d8d7.png)
[英雄星球七月集训LeetCode解题日报] 第22日 有序集合

【云原生】风云暗涌的时代,DBA们的利刃出鞘了

User defined type details: structure, enumeration, union

牛客刷题系列之初阶版(自守数,返回小于 N 的质数个数,第一个只出现一次的字符)

babylon.js炫酷canvas背景动画js特效

PKS Secretary & brother | review the past and know the new

Intel raid simulator Download

15000 words to summarize all features of ES6

SIP账号的作用-告诉你什么是SIP线路
随机推荐
This is a joke
Redux 用法总结
Traversal of graph~
Camera IQ:76%消费者曾体验AR,49%愿意分享AR广告
PKS Secretary & brother | review the past and know the new
图的存储 ~
微软 Win11/10 软件包管理器 winget 将支持从 zip 文件安装应用
BGP实验
测试面试题
做对的事情,把事情做对
BGP联邦实验
uva1344
以后面试官问你 为啥不建议使用Select *,请你大声回答他!
PostgreSQL and Navicat: the backbone of the database industry
Data analysis and privacy security become the key factors for the success or failure of Web3.0. How do enterprises layout?
[openvx] VX for basic use of objects_ context
华为再回应“清理34岁以上员工”传言,程序员如何应对“35岁危机”?
测试/开发程序员如何突破?条条大路通罗马......
15000 words to summarize all features of ES6
牛客刷题系列之初阶版(自守数,返回小于 N 的质数个数,第一个只出现一次的字符)