期刊文献+

自适应EFSM可执行测试序列生成 被引量:3

Adaptive Executable Test Sequences Generation from an Extended Finite State Machine
下载PDF
导出
摘要 基于扩展有限状态机(EFSM)模型自动生成测试序列可以提高测试效率.由于EFSM模型包含丰富的变量和谓词条件,它们之间的冲突可能导致自动生成的测试序列不可执行.对EFSM变迁及变迁之间的关联关系进行了详细的讨论和分析,定义了一个邻接变迁关联图,提出了一种自适应EFSM可执行测试序列生成算法.新算法首先根据变量和谓词包含情况对变迁进行分类,然后深入挖掘了邻接变迁之间的关联关系,最后,基于自适应预测搜索函数启发式引导可达性分析树扩展生成可执行的测试序列.实验数据表明,与宽度优先可达性分析方法相比,新算法可以有效降低可达性分析过程中产生状态空间爆炸问题的概率,从而提高测试序列自动生成的效率.在最坏的情况下,新算法的计算时空复杂度也等同于宽度优先算法. Automatic test sequences generation using the extended finite state machine (EFSM) model can improve the test efficiency. However, unexecutable test sequences due to the conflicts among the predicates and internal variables of transitions in an EFSM may exist. The existence of unexecutable test sequences increases the difficulties of automatic test sequences generation. How to determine whether a test sequence is executable becomes a challenging problem. In this paper, the intrinsic characteristics and dependence relations among transitions in an EFSM are discussed in detail. Then an adaptive approach to automated executable test sequence generation for EFSM models is proposed~ which is based on an adjacency transition dependence graph. In this method, firstly, transitions are classified according to their variables and predicates~ Then dependence relationships between any two adjacency transitions can be mined and defined; Finally, executable test sequences are generated through expanding a reachability analysis tree, with the heuristic guidance using an adaptive exploration function. Experimental results show that, compared with the reachability analysis algorithm based on bread-first-search, the proposed method can reduce the number of states explored in the reachability analysis process and relieve the state explosion problem. As a result, the efficiency of automatic executable test sequences generation is improved. In the worst case, time and space complexity of the proposed method is also not more than the bread-first-search algorithm.
出处 《计算机研究与发展》 EI CSCD 北大核心 2012年第6期1211-1219,共9页 Journal of Computer Research and Development
基金 国家自然科学基金项目(61101111 61002016 60702081) 浙江省自然科学基金项目(Y1090980) 浙江理工大学科研启动基金项目(Y1090980)
关键词 自适应搜索 扩展有限状态机 状态格局 可达性分析 测试序列 adaptive exploration extend finite state machine (EFSM) state configuration teachability analysis test sequence
  • 相关文献

参考文献19

  • 1Kalaji A S, Hierons R M, Swift S. An integrated search- based approach for automatic testing from extended finite state machine (EFSM) models [J]. Information and Software Technology, 2011, 53(12): 1297-1318.
  • 2陈小峰.可信平台模块的形式化分析和测试[J].计算机学报,2009,32(4):646-653. 被引量:25
  • 3冯登国,秦宇,汪丹,初晓博.可信计算技术研究[J].计算机研究与发展,2011,48(8):1332-1349. 被引量:114
  • 4Duale A Y, Uyar M U. A method enabling feasible conformance test sequence generation for EFSM models [J]. IEEE Trans on Computers, 2004, 53(5): 614-627.
  • 5Guglielmo G D. On the validation of embedded systems through functional ATPG [c] //Research inMicroelectronics and Electronics Conf 2008. Piscataway, NJ: IEEE, 2008:149-152.
  • 6Petrenko A, Boroday S, Groz R. Confirming configurations in EFSM testing [J]. IEEE Trans on Software Engineering, 2004, 30(1) : 29-42.
  • 7Chanson S T, Zhu Jinsong. A unified approach to protocol test sequence generation [C] //Proc of IEEE INFOCOM'93. Piscataway, NJ: IEEE, 1993:143-151.
  • 8Huang Chungming, Chiang Mengshu, Jang Mingyuhe. UIOE : A protocol test sequence generation method using the transition exeeutability analysis (TEA)[J]. Computer Communication, 1998, 21(16): 1462-1475.
  • 9赵保华,陈波,屈玉贵.一种改进的转换可执行分析测试序列生成算法[J].中国科学技术大学学报,2007,37(9):1096-1100. 被引量:8
  • 10Kalaji A S, Hierons R M, transition paths for testing Swift S. Generating feasible from an extended finite state machine [C] //Proc of the 2009 Int Conf on Software Testing Verification and Validation. Piseataway, NJ: IEEE, 2009, 230-239.

二级参考文献47

共引文献150

同被引文献27

  • 1GALLAGHER M J,NARASIMHAN V L. ADTEST: A test datageneration suite for Ada software system^ J] . IEEE Transactions onSoftware En^neering, 1997, 23(8): 473 - 484.
  • 2ZAKONOV A, STEPANOV 0, SHALYTO A. GA-based and designby contract approach to test generation for EFSMs[ C] // Proceedingsof the 2010 East-West Design & Teat Symposium. Washington, DC:IEEE Computer Society, 2010:152 -155.
  • 3ZHAO R, HARMAN M, LI Z. Empirical study on the efficiency ofsearch based test generation for EFSM models[ Cj// Proceedings ofthe Third International Conference on Software Testing, Verificaitonand Validation. Piscataway: IEEE, 2010: 222 -231.
  • 4ZHANG J G,LI Y Y, CAO J. Sensor situation based on the multi-ple linear r^ression forecast[ C]// Proceedings of the 2011 IEEEInternational Conference on Computer Science and Automation Engi-neering. Piscataway: IEEE, 2011: 47 -50.
  • 5WANG J Q, QIU L C,LIU G L, etal. Tlie problems and its anal-ysis of BP neural network[ C]// Proceedings of the 2010 Interan-tional Conference on Intelligent System Design and Engineering Ap-plication. Piscataway: IEEE,2010: 701 —704.
  • 6NEDEVSCHI S, PETER R I, MANDRUT A. PCA type algorithmapplied in face Fecognition[ C]// Proceedings of the 2012 IEEE In-temational Conference on lntellig.it Computer Communication andProcessing. Piscataway: IEEE, 2012: 167 -171.
  • 7Androutsopoulos K, Clark D, Harman M, et al. Amorphous slicing of extended finite state machines [ J ]. Software Engineering, IEEE Trans- actions on, 2013,39(7) :892-909.
  • 8Lu G, Miao H. Feasibility Analysis of the EFSM Transition Path Com- bining Slicing with Theorem Proving[ C]//Theoretical Aspects of Soft- ware Engineering TASE), 2013 International Symposium on. IEEE, 2013:153 - 156.
  • 9Zhang J, Yang R, Chen Z, et al. Automated EFSM-based test case generation with scatter search [ C ]//Automation of Software Test (AST), 2012 7th International Workshop on. IEEE, 2012:76 - 82.
  • 10Zhao R, Haman M, Li Z. Empirical study on the efficiency of search based test generation for EFSM models [ C ]//ICSTW: Software Tes- ting, Verification and Validation Workshops. Washington, DC : IEEE Computer Society, 2010:222 - 231.

引证文献3

二级引证文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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