• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2012, Vol. 34 ›› Issue (11): 124-129.

• 论文 • Previous Articles     Next Articles

Research on Regression Testing Based on UML Diagram and Different Granularity Slicing

QIAN Xuezhong,SONG Jiansheng   

  1. (School of Internet of Things Engineering,Jiangnan University,Wuxi 214122,China)
  • Received:2011-10-21 Revised:2011-12-13 Online:2012-11-25 Published:2012-11-25

Abstract:

According to the new features of regression testing about objectoriented software, a different granularity slicing method based on UML diagram is introduced. First of all, the UML class diagram which describes the relationship of classes and the UML state diagram which describes the relationship of states are formulated. Second, the defined diagrams are analyzed, A coarsegrained slicing tool based on UML class diagram is presented in the interclass test, while a finegrained slicing method based on UML state diagram is proposed in the innerclass test. Finally, they are applied into the salesorder system. The result shows that the efficiency of regression testing can be improved effectively by these two analysis methods. 

Key words: regression testing;UML class diagram;UML state diagram;coarsegrained slicing;finegrained slicing