作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2006, Vol. 32 ›› Issue (1): 96-98,104.

• 软件技术与数据库 • 上一篇    下一篇

基于 UML 的构件软件集成测试用例生成研究

尚绪全,张毅坤   

  1. 西安理工大学计算机科学与工程学院,西安 710048
  • 出版日期:2006-01-05 发布日期:2006-01-05

Research of UML-based Generating Test Case for Component Integration Testing

SHANG Xuquan, ZHANG Yikun   

  1. School of Computer Science and Engineering, Xi’an University of Technology, Xi’an 710048
  • Online:2006-01-05 Published:2006-01-05

摘要: 对构件软件测试的特点进行了分析,结合扩展的UML 状态图规约和时序图规约,以文献[1]4 个能模拟构件间交互特性的要素作为测试用例产生的基础,特别是分析了构件间的内容依赖关系和上下文依赖关系获取算法,从而提出一种有效地构件软件集成测试用例的生成方法。

关键词: 构件软件;软件测试;UML;测试用例

Abstract: This paper with UML extension which are statechart diagram and sequence diagram for CBSE analyses the features of component based software testing and founds generating test case on four elements in the literature[1] that can model the characteristics of the interactions between components, especially, to impose arithmetic of gaining context-dependence relationships and content-dependence relationships. And according to these elements, this paper proposes a valid method of generating test case for component based software Integration testing

Key words: Component based software; Software testing; UML; Test case