期刊文献+

基于UML活动图的多态性测试用例生成 被引量:9

UML Activity Diagram-based Polymorphic Test Case Generation
下载PDF
导出
摘要 目前对于活动图的研究没有考虑到面向对象软件的多态性特点,无法在活动图中对多态消息进行测试。基于此,结合面向对象多态性的特点,根据UML类图对活动图中含有多态信息的节点进行加权扩展,利用所提出的优化算法对其进行遍历并得出数量少但覆盖率高的测试用例序列。通过实例说明该方法的实现过程,证明该方法的有效性。 Since the current researches of activity diagram do not take into account of the polymorphism, which is one of the most important characteristics of the object-oriented software, it is impossible to test the polymorphism information of the activity diagram. Combining with the object-oriented polymorphic feature, this paper uses UML class diagram to do weighted expansion to the nodes containing polymorphism information in the activity diagram, and traversals it with an optimization algorithm to get thetest case series which are smaller in amount but higher in coverage rate. It uses an example to prove the availability and effectiveness of the approach.
出处 《计算机工程》 CAS CSCD 北大核心 2010年第11期83-84,87,共3页 Computer Engineering
关键词 面向对象 多态性 活动图 类图 测试用例 object-oriented polymorphism activity diagram class diagram test case
  • 相关文献

参考文献5

二级参考文献23

  • 1RobertVBinder.面向对象系统的测试[M].Addsion Wesley Longman.人民邮电出版社译,2001—04..
  • 2BrianOverland 董梁.C++语言命令详解[M].北京:电子工业出版社,2000..
  • 3Alexander Roger T, Jeff Offutt. Testing polymorphic relationships[DB/OL].Colorado State University. 2003(09): 1-32.http://www.cs.colostate.edu/-rtaJpublications/cboot.pdf.
  • 4Alexander Roger T. Testing the polymorphic relationships of object-oriented components [R].Technical Report of Department of Information and Software Engineering of George Mason University, ISE-TR-99-05:l-67.
  • 5UML2.0 Infrastructure specification[R].OMG Adopted Specification.ptc/03-09-15.http://www.omg.org/cgi-bin/doc ptc.
  • 6Roger T,Alexander A,Jefferson Offutt. international symposium on software reliability engineering(ISSRE'00)[R]. San Jose CA,2000.15-23.
  • 7Paul C Jorgrnsen.Software testing:A craftsman's approach[M].Second Edition.北京:机械工业出版社,2003.
  • 8Object Management Group.UML specification 1.5[S].2003.http://www.omg.org/uml.
  • 9Offutt A J,Abdurazik A.Generating tests from UML specifications[R].Information and Software Engineering George Mason University Fairfax,Virginia 22030,1999.
  • 10Lionel Briand,Yvan Labiche.A UML-based approach to system testing[R].Ottawa,Canada:Software Quality Engineering Laboratory Systems and Computer Engineering Department,Carleton University,2002.

共引文献12

同被引文献46

引证文献9

二级引证文献25

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部