AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
Article Link
Collect
Submit Manuscript
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Regular Paper

A Reinforcement Learning Based Approach to Partition Testing

School of Computer and Communication Engineering, University of Science and Technology Beijing, Beijing 100083, China
Department of Computing Technologies, Swinburne University of Technology, Hawthorn VIC 3122, Australia
Show Author Information

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.

Electronic Supplementary Material

Download File(s)
JCST-2210-12900-Highlights.pdf (318.6 KB)

References

【1】
【1】
 
 
Journal of Computer Science and Technology
Pages 99-118

{{item.num}}

Comments on this article

Go to comment

< Back to all reports

Review Status: {{reviewData.commendedNum}} Commended , {{reviewData.revisionRequiredNum}} Revision Required , {{reviewData.notCommendedNum}} Not Commended Under Peer Review

Review Comment

Close
Close
Cite this article:
Sun C-A, Xiao M-J, Dai H-P, et al. A Reinforcement Learning Based Approach to Partition Testing. Journal of Computer Science and Technology, 2025, 40(1): 99-118. https://doi.org/10.1007/s11390-024-2900-7

1336

Views

2

Crossref

2

Web of Science

2

Scopus

0

CSCD

Received: 01 December 2022
Accepted: 05 February 2024
Published: 23 February 2025
© Institute of Computing Technology, Chinese Academy of Sciences 2025