AgNose: A Framework-Agnostic Test Smell Detection Tool

Test smells indicate problems in automated tests that hinder the understanding, effectiveness, and maintenance of the test code. Due to their relevance, many tools have been created to detect them in xUnit frameworks, which has led to the emergence of test framework-agnostic strategies for detecting smells. However, these strategies are still little explored in the literature, and the available tools depend on obsolete components with considerable limitations. This study proposes the AgNose tool, which extends the strategy of agnostic test smell detection. The strategy is based on creating, from the test code in different frameworks, a simplified structure aimed solely at test smell detection. To implement the proposal, we (i) identify test smells analyzed simultaneously by different detection tools, as well as their identification steps; (ii) establish the minimum XML structure that represents the important information for detecting smells; (iii) implement the AgNose tool; (iv) validate the tool using real open-source projects from public repositories. As results, we map 8 test smells and their minimal XML structure. Also, the tool validation achieved a precision of 96.9%, a recall of 87.5%, and an f-measure of 92%. The presented strategy and tool extend current strategies for agnostic test smell detection, eliminating the perceived limitations of available tools.

Authors

Institutions

Publication Details

Published
2025-07-20
DOI
https://doi.org/10.5753/encompif.2025.9277
Primary Topic
Advanced Chemical Sensor Technologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

AgNose: A Framework-Agnostic Test Smell Detection Tool

Elvys Soares, André Cardoso, David Freire Maia Vieira
Advanced Chemical Sensor Technologies
article

AgNose: A Framework-Agnostic Test Smell Detection Tool

Elvys Soares, André Cardoso, David Freire Maia Vieira
article en

Abstract

Test smells indicate problems in automated tests that hinder the understanding, effectiveness, and maintenance of the test code. Due to their relevance, many tools have been created to detect them in xUnit frameworks, which has led to the emergence of test framework-agnostic strategies for detecting smells. However, these strategies are still little explored in the literature, and the available tools depend on obsolete components with considerable limitations. This study proposes the AgNose tool, which extends the strategy of agnostic test smell detection. The strategy is based on creating, from the test code in different frameworks, a simplified structure aimed solely at test smell detection. To implement the proposal, we (i) identify test smells analyzed simultaneously by different detection tools, as well as their identification steps; (ii) establish the minimum XML structure that represents the important information for detecting smells; (iii) implement the AgNose tool; (iv) validate the tool using real open-source projects from public repositories. As results, we map 8 test smells and their minimal XML structure. Also, the tool validation achieved a precision of 96.9%, a recall of 87.5%, and an f-measure of 92%. The presented strategy and tool extend current strategies for agnostic test smell detection, eliminating the perceived limitations of available tools.

Instituto Federal de Educação, Ciência e Tecnologia de Alagoas (BR)
Openalex Percentile: Top 79%
Advanced Chemical Sensor Technologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

AgNose: A Framework-Agnostic Test Smell Detection Tool — Elvys Soares, André Cardoso, et al. · (2025) | TGRS Research Map | TGRS