UML模型驱动的划分测试用例生成方法研究  被引量:2

Using partition method to generate test cases from UML diagrams

在线阅读下载全文

作  者:王瑞雪[1,2] 张涛[2] 

机构地区:[1]中国科学院大学,北京100049 [2]中国科学院空间科学与应用总体部,北京100094

出  处:《计算机应用研究》2012年第9期3334-3337,共4页Application Research of Computers

基  金:中国科学院国防科技创新基金资助项目(CXJJ-11-Q74)

摘  要:测试用例的自动生成是软件测试研究的主要方向之一。针对现有的UML模型驱动测试方法在测试数据生成方面存在低效、无目的性、冗余等问题,提出了基于UML活动图模型驱动的划分测试用例自动生成方法。该方法将测试场景归为五种类型,并为每种类型规划了测试数据取值范围和选择方法。构建了基于该方法的原型工具软件,提供被测软件原模型和数据约束即可生成测试用例。实验结果表明,该方法能够在不降低测试覆盖率的情况下,能生成数量少、针对性强的测试用例集。Generating test cases automatically is one of the main directions of the software testing research.There are a few problems such as inefficient data,no purpose,redundant,in the existing UML model-driven test methods.This paper proposed a new method to generate test case based on UML model-driven,which used partition theory to classify test scenarios into five types,and designed different ranges and ways to choose test data.And also designed a tool which realized this method.And demonstrated a tool to realize this method,which could generate test case automatically by supplied UML diagrams and data constraints of the software under test.Experimental result shows that the test cases get by this method are smaller number and targeted

关 键 词:软件测试 测试用例生成 UML活动图 划分测试 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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