最近在学习软件测试用例的设计方法,发现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 是关于输入域和输出域是否合法的一种测试方法,应该是黑盒测试的一种.