当前位置:网站首页>【测试】语句覆盖,判定覆盖,条件覆盖,路径覆盖
【测试】语句覆盖,判定覆盖,条件覆盖,路径覆盖
2022-08-09 21:42:00 【全栈程序员站长】
大家好,又见面了,我是你们的朋友全栈君。 白盒测试法的覆盖标准有逻辑覆盖、循环覆盖和基本路径测试。其中逻辑覆盖包括语句覆盖、判定覆盖、条件覆盖、判定/条件覆盖、条件组合覆盖和路径覆盖。六种覆盖标准发现错误的能力呈由弱到强的变化:
1.语句覆盖每条语句至少执行一次。
2.判定覆盖每个判定的每个分支至少执行一次。 3.条件覆盖每个判定的每个条件应取到各种可能的值。 4.判定/条件覆盖同时满足判定覆盖条件覆盖。 5.条件组合覆盖每个判定中各条件的每一种组合至少出现一次。 6.路径覆盖使程序中每一条可能的路径至少执行一次。
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/105718.html原文链接:https://javaforall.cn
边栏推荐
- 编程时请选择正确的输入法,严格区分中英文
- 威纶通触摸屏制作自定义弹出窗口的具体方法(3种)
- LED闪烁 闪灯芯片IC 手电筒IC 闪灯控制IC 闪烁IC流水灯
- Don't tell me to play, I'm taking the PMP exam: what you need to know about choosing an institution for the PMP exam
- Synchronization lock synchronized traces the source
- Skywalking系列学习之Trace Profiling源码分析
- Leetcode 93 IP addresses
- APP automation test framework - UiAutomator2 introductory
- Shanghai Konan SmartRocket series product introduction (3): SmartRocket iVerifier computer interlocking system verification tool
- 基于Docker构建MySQL主从复制数据库
猜你喜欢
随机推荐
Technology Sharing | How to use the JSON Schema mode of interface automation testing?
UE4_定序器控制蓝图对象
kvm虚拟机出现启动不了,NOT available,PV大于分区
【云原生】4.2 DevOps 精讲篇
FS4066耐高压1到4节内置MOS的锂电池充电管理芯片
埃氏筛选法:统计素数个数
The round functions in the np, ceil function and floor function
Don't use array.length-1 to get the last item of the array
NetCore路由的Endpoint模式
Endpoint mode for NetCore routing
laravel table migration error [easy to understand]
ACM MM 2022 | Cloud2Sketch: Painting with clouds in the sky, AI brush strokes
STC8H开发(十五): GPIO驱动Ci24R1无线模块
Unity_物体自转
论文解读(DropEdge)《DropEdge: Towards Deep Graph Convolutional Networks on Node Classification》
STC8H development (15): GPIO drive Ci24R1 wireless module
Optimization of SQL Statements and Indexes
Pagoda measurement - building LightPicture open source map bed system
SQL语句及索引的优化
SQLi-LABS Page-2 (Adv Injections)