Smells in System User Interactive Tests

Renaud Rwemalika, Sarra Habchi, Mike Papadakis, Yves Le Traon, Marie-Claude Brasseur
11/3/2021
cs.SE

Official code: kabinja/suit-smells-replication-package (0 stars, Python, last commit 2022-07-12).

Abstract

Test smells are known as bad development practices that reflect poor design and implementation choices in software tests. Over the last decade, test smells were heavily studied to measure their prevalence and impacts on test maintainability.

Show full abstract

However, these studies focused mainly on the unit level and to this day, the work on system tests that interact with the System Under Test through a Graphical User Interface remains limited. To fill the gap, we conduct an exploratory analysis of test smells occurring in System User Interactive Tests (SUIT). First, based on a multi-vocal literature review, we propose a catalog of 35 SUIT-specific smells. Then, we conduct an empirical analysis to assess the prevalence and refactoring of these smells in 48 industrial test suites and 12 open-source projects. We show that the same type of smells tends to appear in industrial and open-source projects, but the symptoms are not addressed in the same way. Smells such as Obscure Test, Sneaky Checking, and Over Checking show symptoms in more than 70% of the tests. Yet refactoring actions are much less frequent with less than 50% of the affected tests ever undergoing refactoring. Interestingly, while refactoring actions are rare, some smells, such as Narcissistic, disappear through the removal of old symptomatic tests and the introduction of new tests not presenting such symptoms.

View on arXivView PDF

Code Implementations(1)

Replication package of the paper: Smells in System User Interactive Tests

01Python, RoffJun 24, 20214 years ago

Similar Papers

Cite this paper

@article{rwemalika2021smells,
  title  = {Smells in System User Interactive Tests},
  author = {Renaud Rwemalika and Sarra Habchi and Mike Papadakis and Yves Le Traon and Marie-Claude Brasseur},
  year   = {2021},
  eprint = {2111.02317},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.02317}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2111.02317.svg)](https://codeofpaper.com/paper/2111.02317)

Discussion