最近在學習軟件測試用例的設計方法,發現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 是關於輸入域和輸出域是否合法的一種測試方法,應該是黑盒測試的一種.