• Home
  • Search
  • Graph Neural Network and Reinforcement Learning Framework for Test Case Prioritization, Selection, and Reduction
  • https://doi.org/10.36548/jtcsst.2026.1.007Copy DOI Icon

Graph Neural Network and Reinforcement Learning Framework for Test Case Prioritization, Selection, and Reduction

Show More
  • Abstract
  • Literature Map
  • Similar Papers
Abstract

The process of regression testing is generally done under critical time and resource constraints. In the existing approaches, Test Case Prioritization (TCP), Test Case Selection (TCS), and Test Suite Reduction (TSR) have been treated as different optimization problems. This is based on simple heuristics that do not use valuable information that can be extracted from the program under test. Moreover, they do not allow for making internally consistent budget-conscious decisions. This paper introduces a unified approach that combines various variants of Graph Neural Networks (GNNs) and Reinforcement Learning (RL) for the solutions of TCP, TCS, and TSR. In our proposal, the representation of regression artifacts such as test cases, code entities, and faults is used as nodes in the typed graph, while the edges are used to show the relations between these artifacts. The relation-aware GNN is used for generating test case embeddings, reflecting the distance between the test cases and the changed areas as well as the areas known to have issues in the past. The actor-critic RL agent uses these test case embeddings and the budget to decide whether to run, skip, or discard test cases. The performance of our proposal outstrips coverage-based heuristics, history-based ranking, a GA-based search, an enhanced QPSO, and two learning-based ablations, as validated by our experiments on four Java projects from Defects4J. In terms of various programs and budgets, using GNN–RL has led to an improvement in the Average Percentage of Faults Detected (APFD) and Cost-cognizant Average Percentage of Faults Detected (APFDc) by approximately 6–9 percentage points on lower budgets. In addition, it is possible to obtain a 42% suite reduction and a 48% cost reduction while still retaining 98% of all fault-revealing tests in the final suite. The results show that it is possible to obtain promising solutions for adaptive regression testing using budget-aware reinforcement learning and graph-based representation learning.

Similar Papers
  • PDF
  • Research Article
  • Citations3

Multi-Objective Fault-Coverage Based Regression Test Selection and Prioritization Using Enhanced ACO_TCSP

  • Jul 04, 2023
  • Mathematics
  • Shweta Singhal +9
  • Book Chapter
  • Citations10

Flower Pollination Algorithm for Test Case Prioritization in Regression Testing

  • Jan 01, 2020
  • Priyanka Dhareula +1
  • Research Article

A Hybrid Technique for Selection and Minimization of Test Cases in Regression Testing

  • May 20, 2021
  • Recent Advances in Computer Science and Communications
  • Leena Singh +2
  • Research Article
  • Citations1

LeF‐MTP: Prioritizing GNN Test Cases by Fusing Model Uncertainty and Feature‐Space Confusability

  • Feb 01, 2026
  • Computational Intelligence
  • Qingran Su +5
  • PDF
  • Research Article
  • Citations23

Fault Coverage-Based Test Case Prioritization and Selection Using African Buffalo Optimization

  • Jan 01, 2023
  • Computers, Materials & Continua
  • Shweta Singhal +5
  • Conference Article
  • Citations32

Adaptive Test-Case Prioritization Guided by Output Inspection

  • Jul 01, 2013
  • Dan Hao +2
  • Research Article
  • Citations4

Test Case Prioritization Based on Early Fault Detection Technique

  • Apr 05, 2021
  • Recent Advances in Computer Science and Communications
  • Dharmveer K Yadav +1
  • Research Article

Greedy Algorithm Implementation for Test Case Prioritization in the Regression Testing Phase

  • Feb 01, 2025
  • Journal of Computer Science
  • Akira Wahyu Putra +1
  • PDF
  • Research Article
  • Citations6

Test case prioritization based on fault sensitivity analysis using ranked NSGA-2

  • May 02, 2024
  • International Journal of Information Technology
  • Kamal Garg +1
  • Conference Article
  • Citations14

Effectiveness of prioritization of test cases based on Faults

  • Mar 01, 2016
  • Soumen Nayak +2
  • Research Article
  • Citations6

HSP: A hybrid selection and prioritisation of regression test cases based on information retrieval and code coverage applied on an industrial case study

  • Sep 24, 2019
  • Journal of Systems and Software
  • Claudio Magalhães +5
  • PDF
  • Research Article
  • Citations48

A novel methodology to classify test cases using natural language processing and imbalanced learning

  • Aug 14, 2020
  • Engineering Applications of Artificial Intelligence
  • Sahar Tahvili +5
  • Conference Article
  • Citations9

A Meta-heuristic Test Case Prioritization Method Based on Hybrid Model

  • Mar 01, 2020
  • Wenjun Su +3
  • Research Article
  • Citations19

Test Case Prioritization Using Bat Algorithm

  • May 20, 2021
  • Recent Advances in Computer Science and Communications
  • Anu Bajaj +1
  • Conference Article
  • Citations3

Test case design based technique for the improvement of test case selection in software maintenance

  • Sep 01, 2016
  • Adtha Lawanna
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.