Multi-objective Black-box Test Case Prioritization based on Wordnet Distances

Conference Paper (2023)
Author(s)

I. van Dinten (TU Delft - Software Engineering)

Andy Zaidman (TU Delft - Software Engineering)

Annibale Panichella (TU Delft - Software Engineering)

Research Group
Software Engineering
Copyright
© 2023 I. van Dinten, A.E. Zaidman, A. Panichella
DOI related publication
https://doi.org/10.1007/978-3-031-48796-5_7
More Info
expand_more
Publication Year
2023
Language
English
Copyright
© 2023 I. van Dinten, A.E. Zaidman, A. Panichella
Research Group
Software Engineering
Pages (from-to)
101-107
ISBN (print)
978-3-031-48795-8
ISBN (electronic)
978-3-031-48796-5
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

Test case prioritization techniques have emerged as effective strategies to optimize this process and mitigate the regression testing costs. Commonly, black-box heuristics guide optimal test ordering, leveraging information retrieval (e.g., cosine distance) to measure the test case distance and sort them accordingly. However, a challenge arises when dealing with tests of varying granularity levels, as they may employ distinct vocabularies (e.g., name identifiers). In this paper, we propose to measure the distance between test cases based on the shortest path between their identifiers within the WordNet lexical database. This additional heuristic is combined with the traditional cosine distance to prioritize test cases in a multi-objective fashion. Our preliminary study conducted with two different Java projects shows that test cases prioritized with WordNet achieve larger fault detection capability (APFD
C ) compared to the traditional cosine distance used in the literature.

Files

978_3_031_48796_5_7.pdf
(pdf | 0.322 Mb)
- Embargo expired in 24-06-2024
License info not available