The risk about whitebox testing

来源:互联网 发布:vba数据录入 编辑:程序博客网 时间:2024/06/05 03:39

There is  a risk about whitebox testing.It's very easy to become biased and failed to objectively test the software because you might tailot the tests to match the code's operation.

 

这句话的意思是说白盒测试容易变得不客观,因为很有可能演变成为了符合code而做出的测试。

本人也有幸做过白盒测试,这种情况确实经常可见。但是通常是由于需求非常难懂,导致测试人员为了完成任务而根据代码写测试用例。因此在早期的需求测试中,做到accurate and testable 是非常重要的。

 

原创粉丝点击