The Scent of Test Effectiveness: Can Scriptless Testing Reveal Code Smells?

Olivia Rodríguez-Valdés, Domenico Amalfitano, Otto Sybrandi, Beatriz Marín, Tanja Vos, Tanja Vos

2025

Abstract

This paper presents an industrial experience applying random scriptless GUI testing to the Yoho web application developed by Marviq. The study was motivated by several key challenges faced by the company, including the need to optimise testing resources, explore how random testing can complement manual testing, and investigate new coverage metrics, such as “code smell coverage”, to assess software quality and maintainability. We conducted an experiment to explore the impact of the number and length of random GUI test sequences on traditional adequacy metrics, the complementarity of random with manual testing, and the relationship between code smell coverage and traditional code coverage. Using Testar for scriptless testing and SonarQube code smell identification, results show that longer random test sequences yielded better test adequacy metrics and increased code smell coverage. In addition, random testing offers promising efficiency in test coverage and detects unique smells that manual testing might overlook. Additionally, including code smell coverage provides valuable insights into long-term code maintainability, revealing gaps that traditional metrics may not capture. These findings highlight the benefits of combining functional testing with metrics assessing code quality, particularly in resource-constrained environments.

Download


Paper Citation


in Harvard Style

Rodríguez-Valdés O., Amalfitano D., Sybrandi O., Marín B. and Vos T. (2025). The Scent of Test Effectiveness: Can Scriptless Testing Reveal Code Smells?. In Proceedings of the 20th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE; ISBN 978-989-758-742-9, SciTePress, pages 137-148. DOI: 10.5220/0013360100003928


in Bibtex Style

@conference{enase25,
author={Olivia Rodríguez-Valdés and Domenico Amalfitano and Otto Sybrandi and Beatriz Marín and Tanja Vos},
title={The Scent of Test Effectiveness: Can Scriptless Testing Reveal Code Smells?},
booktitle={Proceedings of the 20th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE},
year={2025},
pages={137-148},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0013360100003928},
isbn={978-989-758-742-9},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 20th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE
TI - The Scent of Test Effectiveness: Can Scriptless Testing Reveal Code Smells?
SN - 978-989-758-742-9
AU - Rodríguez-Valdés O.
AU - Amalfitano D.
AU - Sybrandi O.
AU - Marín B.
AU - Vos T.
PY - 2025
SP - 137
EP - 148
DO - 10.5220/0013360100003928
PB - SciTePress