最近在学习软件测试用例的设计方法,发现Domain testing的概念还模糊阿。有的说是白盒测试的一种方法,有的说是黑盒测试的一种方法,难煞了我这个初学者。
Domain testing概念1:领域测试,是指测试人员对相关领域有特别深厚的经验,因此能针对性的设计高质量的用例。
Domain testing概念2:出处在http://www.mathematik.uni-ulm.de/~melzer/thesis/node19.html 中,原文摘录如下:
The last important white box testing method discussed here is domain testing. The goal is to check values taken by a variable, a condition, or an index, and to prove that they are outside the specified or valid range. It also contains checking that the program acepts only valid input , because it is unlikely to get reasonable results if idiocy has been entered. Colloquially, this part can be called ``garbage in -- garbage out'' testing.
Domain testing概念3:出处在http://www.testingeducation.org/k04/documents/bbst5_2005.pdf中,原文摘录如下:
Black Box Software Testing
2005 Academic Edition
DOMAIN TESTING
by
Cem Kaner, J.D., Ph.D.
Professor of Software Engineering
Florida Institute of Technology
我的理解,粗粗看了一下,Domain testing 是关于输入域和输出域是否合法的一种测试方法,应该是黑盒测试的一种.
本文探讨了域测试(Domaintesting)的不同定义与应用方法。一种观点认为它是基于领域知识的黑盒测试方法,专注于验证输入输出域的有效性;另一种观点则将其视为白盒测试的一部分,用于检查变量值是否处于有效范围内。通过对比分析,本文倾向于将域测试归类为黑盒测试的一种形式。
4万+

被折叠的 条评论
为什么被折叠?



