Content area

Abstract

Partition testing is one of the most fundamental and popularly used software testing techniques. It first divides the input domain of the program under test into a set of disjoint partitions, and then creates test cases based on these partitions. Motivated by the theory of software cybernetics, some strategies have been proposed to dynamically select partitions based on the feedback information gained during testing. The basic intuition of these strategies is to assign higher probabilities to those partitions with higher fault-detection potentials, which are judged and updated mainly according to the previous test results. Such a feedback-driven mechanism can be considered as a learning process—it makes decisions based on the observations acquired in the test execution. Accordingly, advanced learning techniques could be leveraged to empower the smart partition selection, with the purpose of further improving the effectiveness and efficiency of partition testing. In this paper, we particularly leverage reinforcement learning to enhance the state-of-the-art adaptive partition testing techniques. Two algorithms, namely RLAPT_Q and RLAPT_S, have been developed to implement the proposed approach. Empirical studies have been conducted to evaluate the performance of the proposed approach based on seven object programs with 26 faults. The experimental results show that our approach outperforms the existing partition testing techniques in terms of the fault-detection capability as well as the overall testing time. Our study demonstrates the applicability and effectiveness of reinforcement learning in advancing the performance of software testing.

Details

10000008
Title
A Reinforcement Learning Based Approach to Partition Testing
Volume
40
Issue
1
Pages
99-118
Publication year
2025
Publication date
Jan 2025
Publisher
Springer Nature B.V.
Place of publication
Beijing
Country of publication
Netherlands
ISSN
10009000
e-ISSN
18604749
Source type
Scholarly Journal
Language of publication
English
Document type
Journal Article
Publication history
 
 
Online publication date
2025-03-12
Milestone dates
2024-03-11 (Registration); 2022-12-01 (Received); 2024-02-05 (Accepted)
Publication history
 
 
   First posting date
12 Mar 2025
ProQuest document ID
3176454853
Document URL
https://www.proquest.com/scholarly-journals/reinforcement-learning-based-approach-partition/docview/3176454853/se-2?accountid=208611
Copyright
Copyright Springer Nature B.V. Jan 2025
Last updated
2025-03-13
Database
ProQuest One Academic