摘要
本文在总结生成集成测试线索研究现状的基础上提出了一种有效解决组合爆炸并且生成测试线索少的集成测试线索生成方法,并根据此方法实现了一个集成测试线索生成工具。该方法根据被测系统集成测试线索具有层次的特点,首先利用例间顺序依赖关系活动图(UCSDAD)提取系统用例间的测试线索,然后通过描述用例交互信息的协作图得到系统中每个用例的测试线索,最后将得到的系统用例间测试线索中的用例替换为相应的用例测试线索,从而可以生成系统集成测试线索。
Based on the summary of studying the status quo, the paper proposes an approach to generating integration test scenarios, which can easily solves the problem of combination explosion and generating less test scenarios, and implements a generation tool for integrating scenarios based on this method. First of all, on the basis of the different characteristics of the scenario hierarchy, we extract the test scenarios between system use cases according to the activity diagram including the sequence and dependence relationship between use cases. Then through the description of the use case collaboration diagram, every use case's scenarios are extracted. Finally, the use cases testing scenarios substitute for the former system use cases generated by the testing scenarios, thus the system integration testing scenarios are generated.
出处
《计算机工程与科学》
CSCD
北大核心
2009年第3期111-114,共4页
Computer Engineering & Science
关键词
活动图
用例图
协作图
集成测试
UML
activity diagram
usecase diagram
collaboration diagram
integration testing
UML