一种基于UML的多态性测试线索生成方法  被引量:1

UML-based approach to generate testing sequence of polymorphic software

在线阅读下载全文

作  者:陈连平[1] 曾一[1] 柴艳欣[1] 覃钊璇[1] 龚艺[1] 王艳丽[2] 

机构地区:[1]重庆大学计算机学院,重庆400030 [2]武警广州指挥学院信息技术教研室,广州510440

出  处:《计算机应用》2009年第3期712-715,共4页journal of Computer Applications

摘  要:首先分析了多态性的成因及形式化表示;然后借用控制流图的思想分析协作图,将类图中的信息结合到协作图中,对传统的函数间受限控制流图IRCFG进行多态性扩展并带上类图的基本信息;最后分析了测试覆盖准则并给出测试线索的生成方法。Polymorphism is one of the three most important characteristics of object-oriented technology.It not only enhances the flexibility of programming and reuse of codes,but also brings new challenges to software testing.The cause of its appearance and its formalization expressing were analyzed.Under the guidance of control-flow graph,the information of class diagram was integrated with collaboration diagram,traditional Interprocedural Restricted Control-Flow Graph(IRCFG) was extended with polymorphic informatio...

关 键 词:多态性 类图 协作图 测试线索 

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象