吉林大学学报(信息科学版) ›› 2015, Vol. 33 ›› Issue (5): 588-.

• 论文 • 上一篇    下一篇

类簇级测试任务并行化研究

孙琳琳, 侯秀萍, 朱波, 肖宇虹, 王荣丽   

  1. 长春工业大学计算机科学与工程学院, 长春130012
  • 收稿日期:2015-01-10 出版日期:2015-09-30 发布日期:2015-12-30
  • 作者简介:孙琳琳(1989—), 女, 吉林四平人, 长春工业大学硕士研究生, 主要从事软件工程研究, (Tel)86-18943626350 (E-mail)ccutlinlin@126. com; 通讯作者: 侯秀萍(1964—), 女, 长春人, 长春工业大学教授, 硕士生导师, 主要从事软件工程研究, (Tel)86-18643194774(E-mail)houxiuping@ mail. ccut. edu. cn。
  • 基金资助:

    吉林省科技厅科技成果转化基金资助项目(20130303010GX)

Research on Parallelization of Cluster Level Test Task

SUN Linlin, HOU Xiuping, ZHU Bo, XIAO Yuhong, WANG Rongli   

  1. School of Computer Science and Engineering, Changchun University of Technology, Changchun 130012, China
  • Received:2015-01-10 Online:2015-09-30 Published:2015-12-30

摘要:

为了提高传统串行类簇级测试速度, 对类簇测试任务并行化方法进行研究。使用类间依赖关系和类测试依赖关系分析方法将类簇级测试任务并行化问题转化为求解对象关系图中节点的并行性。复杂的类簇关系会形成有向环路, 为确定环路中测试的起始位置需要将环路打破, 提出了综合考虑节点度数、环路数和测试桩复杂度3 种因素的破环方法; 对消除环路的对象关系图进行并行性分析, 并设计了一种分层并行算法。通过实验对串行方案和分层并行方案进行对比, 证明了分层并行方案的有效性。

关键词: 类簇测试, 打破环路, 对象关系图, 并行化

Abstract:

In order to improve the test speed of the traditional serial cluster level, we study the parallel method ofcluster test tasks. In this process we through the dependencies between the classes and between the class tests tomake the cluster level test task parallelization problem transformed into solving the parallel nodes in objectrelational graph. First, complex cluster relationships could be formed into the loop. In order to determine thestarting position of the test, we need to break loop. We put forward the broken loop method considering the nodedegree, number of loops and complexity of test stub of the three kinds of factors. Second, by means of analyzingthe elimination of the loop object relation graphs, a hierarchical parallel algorithm is designed. Finally, anexample of serial scheme and hierarchical parallel scheme comparison demonstrate that the hierarchical parallel scheme has a practical significance.

Key words: class cluster testing, break the loop, object relation graph, parallelization

中图分类号: 

  • TP311