期刊文献+

基于软件节点重要性的集成测试序列生成方法 被引量:16

A Class Integration Test Order Method Based on the Node Importance of Software
下载PDF
导出
摘要 集成测试序列是软件集成测试的重要问题之一.不同的集成测试顺序对测试成本以及测试效率的影响很大.为降低测试成本,传统的类级集成测试顺序研究策略大多围绕如何减少构建测试桩数量和降低测试桩总体复杂度2个方面.若能将复杂程度高、出错概率大的类和发生错误后传播范围较大的类优先进行测试,不仅可以使得错误被尽早发现,还可以有效减小错误对系统的破坏性.为此,将上述思想应用到生成集成测试序列的算法当中,提出一种软件节点重要度的评估方法(Class-HITS).该方法利用复杂网络理论,将软件抽象为网络的形式,并结合所提出的重要度评估方法,打破软件网络中的环路,然后针对网络的无环链路逆向拓扑排序,最终得到类的集成测试序列.通过实验分析证明,利用该方法得出的集成测试序列既能够保证重要节点优先被测试,又确保了构造的测试桩的总复杂度较小. Class integration test order is one of the most important issues in the field of software integration testing.The different integration test orders have great influence on the testing costs and testing efficiency.In order to reduce the test costs,the traditional studies of generating class-level integration test order focused on reducing the total test stub complexities and the number of test stubs.We apply the thought of"bugs should be found as early as possible"to generate the integration test order,and propose an evaluation scheme "Class-HITS"to measure the importance of software nodes.In the proposed scheme,we firstly consider the software as a network based on the complex network theory,and with the help of proposed scheme,the circles of the network are eliminated.Finally,the integration test order is obtained by reverse sorting the nodes in acyclic links.The simulations have been carried out on open-source software,which prove the efficiency of the class integration test order obtained by the proposed scheme.The new algorithm ensures the important nodes with priority to be tested,the smaller total complexity of the test stubs.
出处 《计算机研究与发展》 EI CSCD 北大核心 2016年第3期517-530,共14页 Journal of Computer Research and Development
基金 国家自然科学基金项目(61374178 61402092)~~
关键词 软件集成测试 复杂网络 节点重要性 HITS算法 类级测试序列 software integration testing complex network node importance HITS algorithm class integration test order
  • 相关文献

参考文献4

二级参考文献37

  • 1李兵,王浩,李增扬,何克清,余敦辉.基于复杂网络的软件复杂性度量研究[J].电子学报,2006,34(B12):2371-2375. 被引量:38
  • 2[1]Mike Clark.Pragmetic Project Automation.Raleigh,North Carolina:The Pragmetic Programmers,LLC,2004
  • 3[2]Elfriede Dustin,Jeff Rashka,John Paul.Automated Software Testing:Introduction,Management,and Performance.Indianapolis,Indiana:Addison-Wesley Professional,1999
  • 4[3]Daniel J Mosley,Bruce A Posey.Just Enough Software Test Automation.Indianapolis:Prentice Hall PTR,2002
  • 5[4]Andrew Hunt,David Thomas.The Pragmatic Starter Kit-Volume II:Pragmatic Unit Testing in Java with JUnit.Raleigh,North Carolina:The Pragmetic Programmers,LLC,2003
  • 6[5]Andrew Hunt,David Thomas.The Pragmatic Starter Kit-Volume II:Pragmatic Unit Testing in C# with NUnit.Raleigh,North Carolina:The Pragmetic Programmers,LLC,2003
  • 7[6]Kanglin Li,Mengqi Wu.Effective Software Test Automation.Berkeley:SYBEX,2004
  • 8Abdurazik A, Offutt A J. Using coupling-based weights for the class integration and test order problem. The Computer Journal, 2009, 52(5): 557-570.
  • 9Briand L C, Labiche Y, Wang Y. An investigation of graphbased class integration test order strategies. IEEE Transaction on Software Engineering, 2003, 29(7): 594-607.
  • 10Hanh V L, Akif K, Traon Y L, Jezequel J M. Selecting an efficient oo integration testing strategy: An experimental comparison of actual strategies//Proceedings of the 15th European Conference on Object-Oriented Programming. Budapest, Hungary, LNCS 2072. Springer-Verlag, 2001: 381- 401.

共引文献28

同被引文献82

引证文献16

二级引证文献36

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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