作者:Anneliese Andrews、Robert France、Sudipto Ghosh、Gerald Craig
DOI:10.1002/stvr.270
日期:2003.4
define test objectives for UML designs. The UML design test criteria are based on the same premise underlying code test criteria: coverage of relevant building blocks of models is highly likely to uncover faults. The test adequacy criteria proposed in this paper are based on building blocks for UML class and interaction diagrams. Class diagram criteria are used to determine the object configurations on
系统的设计测试,其中可执行的行为模型使用练习场景的输入进行测试,可以帮助在代码实现之前揭示设计中的缺陷。在本文中,描述了一种用于测试 UML(统一建模语言)模型的可执行形式的技术,并提出了基于 UML 模型元素的测试充分性标准。该标准可用于定义 UML 设计的测试目标。UML 设计测试标准基于代码测试标准的相同前提:相关模型构建块的覆盖极有可能发现故障。本文提出的测试充分性标准基于 UML 类和交互图的构建块。类图标准用于确定运行测试的对象配置,而交互图标准用于确定应测试的消息序列。版权所有 © 2003 John Wiley & Sons, Ltd.