Skip to main content
QUICK REVIEW

[Paper Review] Test Case Prioritization: A Snowballing Literature Review and TCPFramework with Approach Combinators

Tomasz Chojnacki, Lech Madeyski|arXiv (Cornell University)|Feb 26, 2026
Software Testing and Debugging TechniquesComputer Science0 citations
TL;DR

The paper conducts a snowballing literature review on test case prioritization (TCP), introduces TCPFramework and approach combinators, and empirically evaluates them on RTPTorrent, achieving competitive results and up to 2.7% time reduction in regression testing.

ABSTRACT

Context: Test case prioritization (TCP) is a technique widely used by software development organizations to accelerate regression testing. Objectives: We aim to systematize existing TCP knowledge and to propose and empirically evaluate a new TCP approach. Methods: We conduct a snowballing review (SR) on TCP, implement a~comprehensive platform for TCP research (TCPFramework), analyze existing evaluation metrics and propose two new ones ( APFDc{} and ATR), and develop a~family of ensemble TCP methods called approach combinators. Results: The SR helped identify 324 studies related to TCP. The techniques proposed in our study were evaluated on the RTPTorrent dataset, consistently outperforming their base approaches across the majority of subject programs, and achieving performance comparable to the current state of the art for heuristical algorithms (in terms of APFDc{}, NTR, and ATR), while using a distinct approach. Conclusions: The proposed methods can be used efficiently for TCP, reducing the time spent on regression testing by up to 2.7\%. Approach combinators offer significant potential for improvements in future TCP research, due to their composability.

Motivation & Objective

  • Systematically review the TCP literature using snowballing to map datasets, algorithms, and evaluation practices.
  • Propose and empirically evaluate a new TCP approach with training-free combinators.
  • Provide an open-source framework (TCPFramework) for developing and evaluating TCP methods.
  • Introduce and analyze new TCP evaluation metrics (rAPFD_C and ATR) for quality and time efficiency.

Proposed method

  • Perform a snowballing systematic review following SEGRESS guidelines to identify TCP studies and datasets.
  • Adopt RTPTorrent as the evaluation dataset due to data quality considerations across fragmentation in TCP datasets.
  • Develop TCPFramework, a Python-based platform with abstract Approach, Dataset, and MetricCalc classes for reproducible TCP research.
  • Propose approach combinators (mixer, interpolator, tiebreaker) to train-freely combine TCP methods.
  • Introduce CodeDistOrder as a code-representation-based greedy distance path approach for test prioritization.
  • Define and evaluate two novel metrics, rAPFD_C and ATR, alongside existing metrics like APFD, NTR, NRPA, and RPA.

Experimental results

Research questions

  • RQ1SRRQ1: What datasets and subject programs exist for TCP?
  • RQ2SRRQ2: What are the state-of-the-art TCP algorithms?

Key findings

  • The snowballing process identified 324 TCP-related studies (292 primary) across multiple years and venues.
  • RTPTorrent emerged as the dataset chosen for empirical evaluation due to its dedicated data-quality considerations.
  • The proposed TCP approaches consistently outperformed their base methods and achieved results comparable to current heuristic state-of-the-art methods while using a distinct approach.
  • Approach combinators, being training-free and composable, demonstrated significant performance gains over base approaches.
  • The methods reduced regression testing time by up to 2.7%.
  • TCPFramework provides an open, extensible infrastructure for developing and evaluating TCP methods and baselines, promoting reproducibility.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.