西安理工大学计算机科学与工程学院,西安,710048
网络首发:2007-12-10,
纸质出版:2007
移动端阅览
王战敏 1, 崔杜武 1, 费蓉 1, 等. 软件集成测试中的一种用例生成方法[J]. 西安交通大学学报, 2007,41(12):1427-1430+1502.
王战敏 1, 崔杜武 1, 费蓉 1, et al. Method for Generating Test Cases in Software Integration Testing[J]. 2007, 41(12): 1427-1430+1502.
针对面向对象语言的多态、动态绑定等特性增加了面向对象软件集成测试难度的问题
提出了一种测试用例的生成方法.首先借鉴正交矩阵测试策略的思想
采用自定义正交矩阵生成算法生成一个二维正交矩阵
再使用鲁棒性测试方法优化生成正交矩阵
最后采用自定义测试用例生成算法为面向对象软件的集成测试生成测试用例集
并将测试用例集用XML文档保存
以备下一步测试用例复用.经验证表明
使用正交矩阵能提高错误检测能力
用其生成的测试用例比较少且方法简单、易于实现.
Focusing on the problem that the features of multimode and dynamic binding of object-oriented 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 self-defined 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.
Smith M D, Robson D J. A framework for testing object-oriented programs [J]. Journal of Object-Oriented Programming,1992, 5(3):45-53.
孙玉霞, 陈火炎. 面向对象软件簇级的一种动态测试工具的设计与实现 [J]. 小型微型计算机系统,2003,24(3):376-379.
Sun Yuxia, Chen Huoyan. Design and implementation of a dynamic testing tool for object-oriented software at cluster level [J]. Mini-micro Systems,2003,24(3):376-379.
Chen Wing-Kwong, Chen Tsong-Yueh, Tse T H. An overview of integration testing techniques for object-oriented programs[C]∥Proceedings of the 2nd ACIS Annual International Conference on Computer and Information Science. Pleasant, USA: International Association for Computer and Information Science, 2002: 116-122.
Chen Huoyan, Tse T H, Chen Tsong-Yueh. TACCLE: a methodology for object-oriented software testing at the class and cluster levels [J]. ACM Transactions on Software Engineering and Methodology, 2001, 10(1):56-109.
Leung H K N, White L. A study of integration testing and software regression at the integration level [C]∥Proceedings of Conference on Software Maintenance. Los Alamitos, USA: IEEE Computer Society, 1990:290-301.
McGregor J D, Dyer D M. A note on inheritance and state machines [J]. Software Engineering Notes,1993, 18(4):61-69.
Mandl R. Orthogonal latin squares: an application of experiment design to compiler testing [J]. Communications of the ACM, 1985, 28(10):1054-1058.
McGregor J D, Sykes D A.面向对象的软件测试 [M]. 杨文宏,李新辉,杨洁,译. 北京:机械出版社,2002.
Phadke M S. Quality engineering using robust design[M]. Englewood Cliffs,USA: Prentice Hall, 1989.
Raghavarao D. Constructions and combinatorial problems in design of experiments [M]. New York: John Wiley Sons Inc.,1971.
0
浏览量
5
下载量
1
CSCD
关联资源
相关文章
相关作者
相关机构
京公网安备11010802024621