arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2207.12172cs.SE
收藏

一种新的变长状态机测试路径生成策略

Novel Strategy Generating Variable-length State Machine Test Paths

Vaclav Rechtberger, Miroslav Bures, Bestoun S. Ahmed, Hynek Schvach

摘要:

有限状态机是各种系统,特别是软件和电子系统的流行建模符号。可以从系统模型自动生成测试路径,以使用合适的算法来测试这样的系统。本文提出了一种策略,生成测试路径,并允许开始和结束测试路径只在有限状态机的定义状态。该策略还同时支持生成长度在给定范围内的测试路径。为此,替代系统模型,测试覆盖率的标准,和一组算法的开发。该策略相比,最好的替代方案的基础上减少的测试集所产生的混合171工业和人工产生的问题实例的N-开关覆盖的方法。所提出的策略在较少的测试路径步骤中优于比较的变体。该程度随所使用的测试覆盖标准而变化,并且优选的测试路径长度范围从零到2.5倍差异。此外,所提出的技术检测到高达30%以上的简单的人工缺陷插入到实验SUT模型每一个测试步骤比比较替代技术。所提出的策略是很好地适用于一个可能的测试路径开始和结束的状态机需要被反映的情况下,同时,测试路径的长度必须在一个定义的范围内。

英文摘要:

Finite State Machine is a popular modeling notation for various systems, especially software and electronic. Test paths can be automatically generated from the system model to test such systems using a suitable algorithm. This paper presents a strategy that generates test paths and allows to start and end test paths only in defined states of the finite state machine. The strategy also simultaneously supports generating test paths only of length in a given range. For this purpose, alternative system models, test coverage criteria, and a set of algorithms are developed. The strategy is compared with the best alternative based on the reduction of the test set generated by the established N-switch coverage approach on a mix of 171 industrial and artificially generated problem instances. The proposed strategy outperforms the compared variant in a smaller number of test path steps. The extent varies with the used test coverage criterion and preferred test path length range from none to two and half fold difference. Moreover, the proposed technique detected up to 30% more simple artificial defects inserted into experimental SUT models per one test step than the compared alternative technique. The proposed strategy is well applicable in situations where a possible test path starts and ends in a state machine needs to be reflected and, concurrently, the length of the test paths has to be in a defined range.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑