Abstract:
Because UML statecharts is different from traditional stateflow charts, traditional method to get test path is not suitable for UML statecharts. This paper gives out a method of getting test path from UML statecharts by analysis of every UML statecharts level and combination of concurrent substate. It is proved that this method can get test path from UML statecharts.
Key words:
UML statecharts,
software test,
test path,
concurrent substate,
composite state
摘要: UML状态图与传统的状态转换图存在较大的差异,导致由状态转换图得到的软件测试路径不适用于UML状态图。为此,提出一种由UML状态图得到软件测试路径的方法。通过对UML状态图逐层分析,并将并发子状态相互组合,以获得状态迁移路径,从而得到软件测试路径。实例证明,该方法可以从UML状态图得出软件的测试路径。
关键词:
UML状态图,
软件测试,
测试路径,
并发子状态,
组合状态
CLC Number:
LI Xiao-Qiang, CUI Jian, CA Li-Zhi. Research of Software Test Based on UML Statecharts[J]. Computer Engineering, 2011, 37(18): 32-34.
李晓庆, 崔健, 蔡立志. 基于UML状态图的软件测试研究[J]. 计算机工程, 2011, 37(18): 32-34.