Approach to choose integration testing combination for foundational software platform
-
摘要: 针对基础软件平台集成测试组合爆炸的问题,研究了组合设计方法,提出了一种基于组合设计选择基础软件平台集成测试组合的方法.该方法将基础软件平台看作是一个多因素的系统,组成平台的每类基础软件用一个对应的因素变量来表示,每类基础软件的不同品牌产品表示为各因素变量的多种取值,构建相应的正交表或基于正交表的覆盖表,采用正交表或覆盖表来选择集成测试组合,按照选择的集成测试组合进行基础软件平台集成测试.应用实例表明该方法保证了集成测试组合对基础软件间两两交互的全覆盖,并有效地降低了集成测试组合数.Abstract: Concerning the problem of combination explosion which was caused by the combinations of all kinds of foundation software, the methods of combinatorial design were studied, and an approach based on combinatorial design was proposed to choose integration testing combinations that cover the interaction between foundation software. Foundational software platform was composed of many types of foundational software, and each type of foundational software had different brands and different versions. Each type of foundational software was expressed as a variable factor, and software products of different brands were viewed as variable values, then foundational software platform could be regarded as a multifactor system. The corresponding orthogonal array or the covering array based on orthogonal array was constructed. Integration testing combinations were chosen with the help of orthogonal array and the covering array. The results of the cases indicate that the number of the testing combination can be effectively decreased, and the pairwise test coverage is ensured.
-
Key words:
- software testing /
- integration /
- combinatorial design /
- software engineering
-
[1] DeCock D,Stufken J.On finding mixed orthogonal arrays of strength 2 with many level factors[J].Statistics & Probability Letters,2000,50(4):383-388 [2] Kuhn D R,Reilly M J.An investigation of the applicability of design of experiments to software testing //Proceedings of the 27th NASA/IEEE Software Engineering Workshop.Washington DC:IEEE Computer Society,2002:4-6 [3] Cohen D M,Cohen D M,Dalal S R,et al.The AETG system: An approach to testing based on combinatorial design[J].IEEE Transactions on Software Engineering,1997,23(7):437-444 [4] Kobayashi N,Tsuchiya T,Kikuno T.A new method for constructing pairwise covering designs for software testing[J].Information Processing Letters,2002,81(2):85-91 [5] Williams A W.Software component interaction testing:Coverage measurement and generation of configurations .Carleton,Ottawa: School of Information Technology and Engineering,University of Ottawa,2002 [6] Tai K C,Lei Y.A test generation strategy for pairwise testing[J].IEEE Transactions on Software Engineering,2002,28(1):109-111 [7] 聂长海,徐宝文.基于接口参数的黑箱测试用例自动生成算法[J].计算机学报,2004,27(3):382-388 Nie Changhai,Xu Baowen.An algorithm based interface parameters automatically to generate black-box test cases[J].ChineseJournal of Computers,2004,27(3):382-388 (in Chinese) [8] Sloane,Neil J A.A library of orthogonal arrays .Florham Park,New Jersey:Information Sciences Research Center,AT&T Shannon Labs,2001 .http://www.research.att.com/~njas/oadir/
点击查看大图
计量
- 文章访问数: 3908
- HTML全文浏览量: 352
- PDF下载量: 1042
- 被引次数: 0