计算机科学 ›› 2006, Vol. 33 ›› Issue (6): 284-286.
• • 上一篇 下一篇
出版日期:
发布日期:
Online:
Published:
摘要: 本文提出了一种基于UML状态图的测试用例生成方法,生成较少但有效的测试用例,便于实现自动化测试。测试用例从状态图中的转换(转换路径)中产生,一个用例代表了一条转换路径。对深度优先算法进行改进后,给出了从UML模型视图的状态图中获得测试用例的算法,该算法从状态图中的初始状态到终止状态进行遍历,可以得到所有的转换路径,根据循环复杂度来得到状态图的基本路径的最大数量,即测试用例的最小数量。
关键词: UML 测试用例 测试用例生成
Abstract: This paper introduces the development of software testing technology, puts forward a method to obtain test cases from UML State Diagram, Test cases will be generated from the transitions (transition path) of the State Diagram. The method above is absolute
Key words: UML, Test case, Test case generation
. 基于UML状态图的面向对象软件测试用例生成[J]. 计算机科学, 2006, 33(6): 284-286. https://doi.org/
0 / / 推荐
导出引用管理器 EndNote|Reference Manager|ProCite|BibTeX|RefWorks
链接本文: https://www.jsjkx.com/CN/
https://www.jsjkx.com/CN/Y2006/V33/I6/284
Cited