Towards Explainable Test Case Prioritisation with Learning-to-Rank Models

Aurora Ramírez, Mario Berrios, José Raúl Romero, Robert Feldt
5/22/2024
cs.SEcs.AI

No confident code implementation found for this paper.

Abstract

Test case prioritisation (TCP) is a critical task in regression testing to ensure quality as software evolves. Machine learning has become a common way to achieve it. In particular, learning-to-rank (LTR) algorithms provide an effective method of ordering and prioritising test cases. However, their use poses a challenge in terms of explainability, both globally at the model level and locally for particular results. Here, we present and discuss scenarios that require different explanations and how the particularities of TCP (multiple builds over time, test case and test suite variations, etc.) could influence them. We include a preliminary experiment to analyse the similarity of explanations, showing that they do not only vary depending on test case-specific predictions, but also on the relative ranks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ramrez2024towards,
  title  = {Towards Explainable Test Case Prioritisation with Learning-to-Rank Models},
  author = {Aurora Ramírez and Mario Berrios and José Raúl Romero and Robert Feldt},
  year   = {2024},
  eprint = {2405.13786},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.13786v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.13786.svg)](https://codeofpaper.com/paper/2405.13786)

Discussion