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.
Original language | English |
---|---|
Title of host publication | Search-Based Software Engineering: 15th International Symposium, SSBSE 2023, San Francisco, CA, USA, December 8, 2023, Proceedings |
Editors | Paolo Arcaini , Tao Yue, Erik M. Fredericks |
Publisher | Springer |
Pages | 101-107 |
Number of pages | 7 |
ISBN (Electronic) | 978-3-031-48796-5 |
ISBN (Print) | 978-3-031-48795-8 |
DOIs | |
Publication status | Published - 2023 |
Event | 15th International Symposium on Search-Based Software Engineering - San Francisco, United States Duration: 8 Dec 2023 → 8 Dec 2023 Conference number: 15 https://conf.researchr.org/home/ssbse-2023 |
Publication series
Name | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
---|---|
Volume | 14415 LNCS |
ISSN (Print) | 0302-9743 |
ISSN (Electronic) | 1611-3349 |
Conference
Conference | 15th International Symposium on Search-Based Software Engineering |
---|---|
Abbreviated title | SSBSE 2023 |
Country/Territory | United States |
City | San Francisco |
Period | 8/12/23 → 8/12/23 |
Internet address |
Keywords
- Empirical Software Engineering
- Search-Based Software Testing
- Test Case Prioritization
- Wordnet
- Natural Language Processing