UML �件 程�� Test Case Specification § IEEE Std. 829 -1998 for Software Test Documentation Template for Test Case Specification § Contents 1. Test Case Specification Identifier 2. Test Items 3. Input Specifications 4. Output Specifications 5. Environmental Needs 6. Special Procedural Requirements 7. Inter-Case Dependencies www. uml. org. cn
UML �件 程�� www. uml. org. cn 测试用例的设计技术 § Ad Hoc Testing(即兴测试) § Random Testing/Monkey Testing(随机测试、 猴测试) 4 Dumb Monkeys(哑猴) 4 Semi-Smart Monkeys(半聪明猴) • 增加log 4 Smart Monkeys(聪明猴)
UML �件 程�� www. uml. org. cn 测试用例的设计技术 § 正交阵列 4摘自Systematic Software Testing, [美] Rick D. Craig and Stefan P. Jaskiel
www. uml. org. cn UML �件 程�� 测试用 浏览器 插件 服务器 操作系统 1 Netscape 6. 2 None IIS Win 2000 2 Netscape 6. 2 Real. Player Apache Win. NT 3 Netscape 6. 2 Media. Player Netscape Enterpr. Linux 4 IE 6. 0 None Apache Linux 5 IE 6. 0 Real. Player Netscape Enterpr. Win 2000 6 IE 6. 0 Media. Player IIS Win. NT 7 Opera 4. 0 None Netscape Enterpr. Win. NT 8 Opera 4. 0 Real. Player IIS Linux 9 Opera 4. 0 Media. Player Apache Win 2000 例
UML �件 程�� www. uml. org. cn 测试用例的设计技术 § 小结: § Each browser is tested with every plug-in, with every server, and with every operating system. § Each plug-in is tested with every browser, every server, and every operating system. § Each server is tested with every browser, every plug-in, and every operating system. § Each operating system is tested with every browser, every plug-in, and every server.