检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[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
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.227