arrow
Return

Accelerating Finite State Machine-Based Testing Using Reinforcement Learning

delete2024-03-01
delete0
delete
OA
AI
U
Uraz Cengiz Türker *
R
Robert M. Hierons
K
Khaled El‐Fakih
M
Mohammad Reza Mousavi
I
Ivan Tyukin
DOI:10.1109/TSE.2024.3358416delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Testing is a crucial phase in the development of complex systems, and this has led to interest in automated test generation techniques based on state-based models. Many approaches use models that are types of finite state machine (FSM). Corresponding test generation algorithms typically require that certain test components, such as reset sequences (RSs) and preset distinguishing sequences (PDSs), have been produced for the FSM specification. Unfortunately, the generation of RSs and PDSs is computationally expensive, and this affects the scalability of such FSM-based test generation algorithms. This paper addresses this scalability problem by introducing a reinforcement learning framework: the Q-Graph framework for MBT. We show how this framework can be used in the generation of RSs and PDSs and consider both (potentially partial) timed and untimed models. The proposed approach was evaluated using three types of FSMs: randomly generated FSMs, FSMs from a benchmark, and an FSM of an Engine Status Manager for a printer. In experiments, the proposed approach was much faster and used much less memory than the state-of-the-art methods in computing PDSs and RSs.
Keywords:
Finite state machines
reset sequences
state identification sequences
reinforcement learning
Q-value function
software engineering/software/program verification
software engineering/test design
software engineering/testing and debugging

Journal

IEEE Transactions on Software Engineering cover
IEEE Transactions on Software Engineering
IF:
5.6
Papers:
2.8K
Citations:
1.1W

Organization

U
University of Sheffield
Scholars:
3.0W
Papers: 2.9W
Citations: 3.9W
A
American University of Sharjah
Scholars:
2.5K
Papers: 2.4K
Citations: 2.7K
L
Lancaster University
Scholars:
9.5K
Papers: 1.1W
Citations: 1.7W
U
university of london
Scholars:
21.5W
Papers: 19.7W
Citations: 305
researcher View more organizations