期刊文献+

基于接口参数的黑箱测试用例自动生成算法 被引量:52

An Algorithm for Automatically Generating Black-Box Test Cases Based Interface Parameters
下载PDF
导出
摘要 测试用例的选择与生成技术是软件测试尤其是黑箱测试的一个重要研究领域 ,测试用例的质量将直接决定软件测试的科学性和有效性 .该文在一般的测试用例选择方法的基础上 ,提出了一种基于对接口参数进行组合覆盖的黑箱测试用例自动生成算法模型 ,据此可以生成一个对所有接口参数进行两两组合覆盖的测试用例表 .并证明了该方法产生的测试用例具有数量少、能实现对接口参数最大限度组合覆盖的特点 ,从而可以在提高软件测试质量的同时 ,降低成本 ,提高效率 .最后介绍了该算法在作者研究开发的测试数据生成工具中的实际效果 . This paper presents a network graph model for test case automatic generation, which is based on the combinatorial coverage of all the interface parameters for black box testing. In this model, a path from left to right represents a test case. The algorithm chooses a test case every time to make the corresponding path in the network graph cover all the uncovered vertices to the greatest degree by some rules. It can generate a test case table to cover all the pair wise combination of all the interface parameters. Contrasted with the existing work, authors prove that the generated test cases are able to cover all the combinations of parameters to the greatest degree with the smallest scale of test suite, thus it can improve the quality of software testing by decreasing software testing cost and improving its efficiency.
出处 《计算机学报》 EI CSCD 北大核心 2004年第3期382-388,共7页 Chinese Journal of Computers
基金 国家自然科学基金(60373066);国家“九七三”重点基础研究发展规划项目基金(2002CB312000);江苏省自然科学基金(BK2001004);教育部高等学校骨干教师基金;江苏省科技攻关项目基金(BE2001025);教育部跨世纪优秀人才培养计划基金;高等学校博士学科点专项科研基金;江苏省三三三人才基金;武汉大学软件工程国家重点实验室基金
关键词 软件测试 软件开发 接口参数 软件工程 黑箱测试 用例自动生成算法 software testing black box testing test case algorithm software engineering
  • 相关文献

参考文献14

  • 1[1]Schach S.R..Software Engineering with Java.Boston:McGraw-Hill,1999
  • 2[2]DeMillo R. et al.. Constraint-based automatic test data generation. IEEE Transactions on Software Engineering, 1991, 17(9): 900~910
  • 3[3]Grabowski J. et al.. On the design of the new testing language TTCN-3. In: Ural H. et al.eds.. Testing of Communicating Systems. Kluwer: Academic Publishers, 2000,13: 161~176
  • 4[4]Schieferdecker I. et al.. Conformance testing with TTCN. In: Telektronikk, 2000,96(4): 85~95
  • 5[5]DeMillo R. et al.. Experimental results from an automatic test case generator. ACM Transactions on Software Engineering Methodology,1993, 2(2): 109~175
  • 6[6]Offutt J.. An integrated automatic test data generation system. Journal of Systems Integration, 1991, 1(3): 391~409
  • 7[7]Rothermel G. et al.. Regression test selection for C++ software. Journal of Software Testing, Verification and Reliability, 2000,10(2):77~109
  • 8[8]Offutt J. et al.. The dynamic domain reduction approach to test data generation. Software Practice and Experience, 1999, 29(2): 167~193
  • 9[9]Chen T.Y. et al.. A new heuristic for test suite reduction. Information and Software Technology, 1998,40(5~6): 347~354
  • 10[10]Walter T. et al.. A framework for the specification of test cases for real-time distributed systems. Information and Software Technology, 1999,41(11~12): 781~798

同被引文献505

引证文献52

二级引证文献340

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部