摘要
本文首先给出了形式化的UML活动图生成测试场景的覆盖准则,然后依据覆盖准则提出UML活动图转化测试场景的算法(ATOS)将活动图转化为测试场景,最后使用算法(STOT)将测试场景转化为测试用例,有效地解决了UML活动图到测试用例的自动生成,减少了编写测试用例的时间。
According to the requirements editing test cases based on UML activity diagram in a design document, this paper presents the coverage criterion for generating test scenario from formalized UML activity diagram, puts forward an algorithm generating test scenario from UML activity diagram(ATOS) based on the coverage criterion, and transforms the test scenario into test cases with the STOT algorithm. Thus, test cases can be alltomatically formed and the time editing them is also reduced.
出处
《山东科学》
CAS
2007年第5期43-47,共5页
Shandong Science
关键词
UML活动图
集成测试
测试用例
UML activity diagram
integrated testing
test case