English

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

Software Engineering 2024-05-24 v1 Artificial Intelligence

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.

Keywords

Cite

@article{arxiv.2405.13786,
  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},
  journal= {arXiv preprint arXiv:2405.13786},
  year   = {2024}
}

Comments

3rd International Workshop on Artificial Intelligence in Software Testing (AIST) - International Conference on Software Testing and Validation (ICST)

R2 v1 2026-06-28T16:35:58.620Z