Testing restorable systems: formal definition and heuristic solution based on river formation dynamics

Author:

Rabanal Pablo1,Rodríguez Ismael1,Rubio Fernando1

Affiliation:

1. Dept. Sistemas Informáticos y Computación, Facultad de Informática, Universidad Complutense de Madrid, 28040, Madrid, Spain

Abstract

Abstract Given a finite state machine denoting the specification of a system, finding some short interaction sequences capable of reaching some/all states or transitions of this machine is a typical goal in testing methods. If these sequences are applied to an implementation under test , then equivalent states or transitions would be reached and observed in the implementation—provided that the implementation were actually defined as the specification. We study the problem of finding such sequences in the case where configurations previously traversed can be saved and restored (at some cost). In general, this feature enables sequences to reach the required parts of the machine in less time, because some repetitions can be avoided. However, we show that finding optimal sequences in this case is an NP-hard problem. We propose an heuristic method to approximately solve this problem based on an evolutionary computation approach, in particular river formation dynamics (RFD). Given finite state machine specifications and sets of states/transitions to be reached, we apply RFD to construct testing plans reaching these configurations. Experimental results show that being able to load previously traversed states generally reduces the time needed to cover the target configurations.

Publisher

Association for Computing Machinery (ACM)

Subject

Theoretical Computer Science,Software

Reference64 articles.

1. Alba E Chicano JF (2007) Ant colony optimization for model checking. In: EUROCAST’07. LNCS vol 4739 pp 523–530

2. Aho A Dahbura A Lee D Uyar MÜ (1988) An optimization technique for protocol conformance test generation based on UIO sequences and Rural Chinese Postman tours. In: Protocol specification testing and verification PSTV’88. North-Holland Amsterdam pp 75–86

3. Antoniol G Di Penta M Harman M (2004) A robust search-based approach to project management in the presence of abandonment rework error and uncertainty. In: IEEE software metrics symposium METRICS’04. IEEE Computer Society New York pp 172–183

4. Alba E Troya JM (1996) Genetic algorithms for protocol validation. In: Parallel problem solving from nature PPSN’96. LNCS vol 1141. Springer Berlin pp 870–879

5. Software testing based on formal specifications: a theory and a tool

Cited by 11 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Avoiding strategic behaviors in the egalitarian social welfare under public resources and non-additive utilities;2022 IEEE Congress on Evolutionary Computation (CEC);2022-07-18

2. IEEE ICCI*CC Series in Year 20: Latest Advances in Cognitive Computing (Plenary Panel Report-II);2021 IEEE 20th International Conference on Cognitive Informatics & Cognitive Computing (ICCI*CC);2021-10-29

3. A contract among autonomous agents to deal with egalitarian social welfare;2021 IEEE 20th International Conference on Cognitive Informatics & Cognitive Computing (ICCI*CC);2021-10-29

4. Water-Based Metaheuristics: How Water Dynamics Can Help Us to Solve NP-Hard Problems;Complexity;2019-04-02

5. Applications of river formation dynamics;Journal of Computational Science;2017-09

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3