基于UML的回归测试软件测试方法的研究与应用  被引量:2

Research and Application of Software Testing Based on UML-Based Regression Testing

在线阅读下载全文

作  者:李杨[1] 张春海[1] 张美玲[1] 

机构地区:[1]中国海洋大学信息科学与工程学院,山东青岛266000

出  处:《计算机技术与发展》2010年第9期235-238,242,共5页Computer Technology and Development

基  金:青岛市科技计划项目(08-1-3-2-jch)

摘  要:回归测试在软件的版本升级中起着至关重要的作用,它的测试效率直接取决于软件升级中对软件修改部分的测试实例的选择。提出了一种基于UML的回归测试方法,它采用UML中类图和状态机来确定软件升级中的修改,它将修改分为两类:一种是类驱动修改;一种是状态驱动修改。通过类图和状态机图的改变选择确定有效的测试用例,提高了回归测试的测试效率。将测试用例划分为无用的、可重用的、需重新测试的测试用例三类,并将此方法应用到一个实例中,验证了它的可行性和有效性。Regression testing is an important activity that ensures the reliability of evolving software.One of the major issues in this type of testing is the selection of test-cases to test the affected portion of the software.Present a UML-based selective regression testing strategy that uses state machines and class diagrams for change identification.Identify the changes using the UML semantics of state machines and class diagram.The changes are classified as class-driven(obtained from class diagram) and state-driven(obtained from state machine).With the help of the identified changes,classify the test cases of the test suite as obsolete,reusable,and retestable.Apply the approach on a case study to demonstrate its validity.

关 键 词:基于UML的回归测试 类图 状态机图 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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