摘要
随着软件测试自动化的要求,以及UML在面向对象软件开发领域中的广泛应用,基于UML的面向对象软件测试正日益受到关注。集成测试是面向对象软件测试的一个重要阶段,在基于UML协作图生成面向对象软件的集成测试用例的过程中,一个重要内容是测试序列的生成。针对集成测试序列数量容易膨胀的现象,根据UML协作图的特点,应用过程间受限控制流图(IR-CFG)描述协作图的消息间逻辑控制关系。给出了由RationalRose开发的规格说明文件生成IRCFG的算法,并介绍了IRCFG的几种覆盖准则与基于IRCFG生成测试序列的方法。
With the requirement of automated testing,and the popularization of UML in object-oriented software design and development,object-oriented software testing based on UML have being gained much attention.Integration testing is an important step of object-oriented software testing;generating test sequence is an important work of generating integration test case based on UML collaboration diagrams.Based on characters of UML collaboration diagrams,applies IRCFG expressing the logic control relation of messages in collaboration diagrams.Steps of generating IRCFG from the specification file developed by Rational Rose is given,several coverage criteria of IRCFG and the approach of generating test sequence based on IRCFG are introduced.
出处
《计算机工程与应用》
CSCD
北大核心
2007年第5期96-98,共3页
Computer Engineering and Applications