检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:王战敏[1] 崔杜武[1] 费蓉[1] 张淳民[2]
机构地区:[1]西安理工大学计算机科学与工程学院,西安710048 [2]西安交通大学理学院,西安710049
出 处:《西安交通大学学报》2007年第12期1427-1430,1502,共5页Journal of Xi'an Jiaotong University
基 金:国家自然科学基金重点资助项目(40537031);国家自然科学基金资助项目(40375010;60278019)
摘 要:针对面向对象语言的多态、动态绑定等特性增加了面向对象软件集成测试难度的问题,提出了一种测试用例的生成方法.首先借鉴正交矩阵测试策略的思想,采用自定义正交矩阵生成算法生成一个二维正交矩阵,再使用鲁棒性测试方法优化生成正交矩阵,最后采用自定义测试用例生成算法为面向对象软件的集成测试生成测试用例集,并将测试用例集用XML文档保存,以备下一步测试用例复用.经验证表明,使用正交矩阵能提高错误检测能力,用其生成的测试用例比较少且方法简单、易于实现.Focusing on the problem that the features of multimode and dynamic binding of objectoriented software increase the difficulty of integration test, a novel method for generating test cases is presented. Firstly benefiting from the idea of OATS (orthogonal matrix testing strategy), a 2D orthogonal matrix is created according to self-defined orthogonal matrix generation algorithm. Then the generated orthogonal matrix is optimized by using robustness test. Finally, the testing case set is created for the object-oriented software integration test using the selfdefined test cases generation algorithm, and the cases sets are saved with XML documents for reusing in next step testing. The experiments show that the ability of error detection is improved with orthogonal matrix, the generated cases are less, and the proposed method is simple and easy to be realized.
关 键 词:面向对象软件 集成测试 正交矩阵测试 用例生成方法
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.15