|
UML顺序图驱动的动态行为测试 |
UML Sequence Diagrams Driven Dynamic Behavior Testing |
|
DOI:10.3969/j.issn.1671-5322.2009.02.016 |
中文关键词: UML顺序图 模型驱动的测试 运行时行为 |
英文关键词: UML sequence diagram model-driven testing runtime behavior |
基金项目: |
|
摘要点击次数: 4174 |
全文下载次数: 3922 |
中文摘要: |
提出了-个模型驱动的测试方法,基于UML顺序图模型生成测试用例,并利用模型指导对程序的插装以收集运行时行为信息,执行测试后可以通过分析预期执行轨迹和运行时执行轨迹的-致性来确定顺序图描述的系统预期行为是否被正确实现.实现了-个原型工具,对上述方法提供支持. |
英文摘要: |
This paper proposed a model-driven testing approach based on UML sequence diagrams.Test cases were generated from the sequence diagrams.The implementation was instrumented to collect the runtime behavior by using the sequence diagrams as a guide.The instrumented code implementation was executed with the generated test cases,and the runtime executing information was output to a trace file.The runtime executing traces were compared with the expected executing traces to determine the consistency between the design and the implementation.Also a prototype tool was designed to support above approach. |
查看全文
查看/发表评论 下载PDF阅读器 |
关闭 |