Software Testing 02 - Boundary-Value Analysis

本文介绍了软件测试中的边界值分析,包括路径条件、域定义、边界类型(封闭和开放)、等价类边界点(on点和off点)。提出了选择测试用例的准则,如针对严格相等和不等式边界的选择。此外,还讨论了二维边界及高维输入空间中如何选取边界值,强调测试边界而非单个等价类的重要性。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1、computational faults and boundary shifts

2、Definition:
(i) A path condition is the condition that must be satisfied by the input data for that path to be
executed.
(ii) A domain is the set of input data satisfying a path condition.
(iii) A domain boundary is the boundary of a domain. It typically corresponds to a simple predicate.

3、two distinctly different types of boundary:
closed boundaries and open boundaries.

4、A closed boundary is a domain boundary where the points on the boundary belongs to the do-
main, and is defined using an operator that contains an equality

5、An open boundary is a domain boundary which is not closed, and is defined using a strict inequality.

6、 An on point is a point on the boundary of an equivalence

7、 An off point is a point just off the boundary of an equivalence class.

8、 guidelines to select test cases

1.If a boundary is a strict equality, fo

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值