[1]费克雄,王雅文,宫云战.基于软件度量的集成测试序列生成方法[J].郑州大学学报(工学版),2021,42(04):1-6.[doi:10.13705/j.issn.1671-6833.2021.04.010]
 Fickxiong,Wang Yawen,Gongyun War,et al.An Integrated Test Sequence Generation Method Based on Software Metrics[J].Journal of Zhengzhou University (Engineering Science),2021,42(04):1-6.[doi:10.13705/j.issn.1671-6833.2021.04.010]
点击复制

基于软件度量的集成测试序列生成方法()
分享到:

《郑州大学学报(工学版)》[ISSN:1671-6833/CN:41-1339/T]

卷:
42
期数:
2021年04期
页码:
1-6
栏目:
出版日期:
2021-07-30

文章信息/Info

Title:
An Integrated Test Sequence Generation Method Based on Software Metrics
作者:
费克雄王雅文宫云战
北京邮电大学网络与交换技术国家重点实验室;
Author(s):
Fickxiong; Wang Yawen; Gongyun War;
State Key Laboratory of Network and Exchange Technology of Beijing University of Posts and Telecommunications;
关键词:
Keywords:
integration testtest sequencesoftware metricsregression testingsoftware testing
DOI:
10.13705/j.issn.1671-6833.2021.04.010
文献标志码:
A
摘要:
集成测试是将已经通过单元测试的模块按照一定的方式组合起来,检查模块间能否正确的协作的重要软件测试环节之一。但是,已有的集成测试工具还存在不足之处,如使用人工方式设计测试序列、如测试发现故障则会导致测试进程暂停等等。导致在实际的集成测试过程中测试效率很低。本文围绕通过改进测试序列生成算法提高集成测试效率进行研究。(1)通过自动化代码分析技术,结合软件度量等技术实现对函数调用图中模块的重要性权值自动计算。(2)在已有测试序列生成策略基础上,设计并实现了基于故障位置的测试序列调整技术、面向回归测试的集成测试序列生成技术。作者通过提高测试序列生成的自动化程度、降低故障对测试进程的影响,提高了集成测试和相应回归测试的效率。
Abstract:
To ensure that the software products could work as designed,a series of tests were needed.Due to the different importance of different modules,testers could have special requirements for test projects.How to help testers improve efficiency was the main problem of test sequence generation.Through the analysis of the above problems,this paper designed and implemented:①combined with automatic code analysis and software measurement technology,the automatic calculation of the importance weight of function module was realized.②Based on the existing test sequence generation strategy,the dynamic test sequence optimization technology and regression test sequence generation technology were designed and implemented.Through the fine-grained modeling of function modules and the combination of a variety of automatic test sequence generation strategies,the author reduces the impact of faults on the test process and improved the efficiency of regression tests in the integration test.

参考文献/References:

[1] 吴超,杨冕,王秉.科学层面的安全定义及其内涵、外延与推论[J].郑州大学学报(工学版),2018,39(3):1-4,28.

[2] 宫云战.软件测试[M].北京:国防工业出版社,2006.
[3] 毛澄映,卢炎生.构件软件测试技术研究进展[J].计算机研究与发展,2006,43(8):1375-1382.
[4] KUNG D C,GAO J,HSIA P,et al.Class firewall,test order,and regression testing of object-oriented programs[J].JOOP-journal of object-oriented programming,1995,8(2):51-65.
[5] MAO C Y,LU Y S.AICTO:an improved algorithm for planning inter-class test order[C]//The Fifth International Conference on Computer and Information Technology (CIT′05).Piscataway:IEEE,2005:927-931.
[6] ABDURAZIK A,OFFUTT J.Using coupling-based weights for the class integration and test order problem[J].The computer journal,2009,52(5):557-570.[7] 王莹,于海,朱志良.基于软件节点重要性的集成测试序列生成方法[J].计算机研究与发展,2016,53(3):517-530.
[8] 赵玉丽,王莹,于海,等.基于复杂网络的类间集成测试序列生成方法[J].东北大学学报(自然科学版),2015,36(12):1696-1700.
[9] 姜淑娟,张艳梅,李海洋,等.一种基于耦合度量的类间集成测试序的确定方法[J].计算机学报,2011,34(6):1062-1074.
[10] 刘坤.一种基于ORG的破除环路改进算法[J].计算机与信息技术,2008(8):58-61.
[11] ZHANG Y M,JIANG S J,WANG X Y,et al.An optimization algorithm applied to the class integration and test order problem[J].Soft computing,2019,23(12):4239-4253.
[12] 李兵,王浩,李增扬,等.基于复杂网络的软件复杂性度量研究[J].电子学报,2006,34(增刊1):2371-2375.[13] 孙志安,裴晓黎,宋昕.软件可靠性工程[M].北京:北京航空航天大学出版社,2009.[14] 林连进,谢怀民.软件测试技术[M].北京:北京理工大学出版社,2018.

更新日期/Last Update: 2021-08-26