error of “omission” and “commission”

both black-box and white-box testing have weaknesses. White-box Testing does not typically find faults relating to missing functionality (referred to as Errors of Omistision). Black-box testing does not typically find faults relating to extra functionality (referred to as errors of commission)

.p.s.

1.error handling is often a source of omission faults in complex code, where incorrect input data is not identified correctly.

在复杂的代码中,错误处理常常是遗漏错误的来源,错误的输入数据不能正确地识别。

2. Misunderstanding the specification is often a source of faults of commission, where extra input conditions are identified by the programmer which were not in specification.

对软件规格说明的错误理解通常是Commission fault的一个来源,在那里,程序员额外标识了不在程序规格说明中的输入条件。

Another way of looking at this is  from the coverage viewpoint:

1 block-box testing provides for coverage of the specification, but not full coverage of the implementation. That is, there may be code in the implementation that produces results not stated in the specification. ( 黑盒:实现中的代码所产生的结果没有在规格说明中陈述。)

2. White-box testing provides for coverage of the implementation, but not of specification. That is there may be behaviour stated in the specification for which there is no code in the implementation.(白盒:规格说明书中的规定的软件行为在实现中没有代码)

 

转载于:https://www.cnblogs.com/YWahpu/p/7409808.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值