4.4 Article

Smells in system user interactive tests

期刊

EMPIRICAL SOFTWARE ENGINEERING
卷 28, 期 1, 页码 -

出版社

SPRINGER
DOI: 10.1007/s10664-022-10251-1

关键词

Test smells; System user interface tests; GUI tests; Refactoring; Multivocal literature review

向作者/读者索取更多资源

Test smells are bad development practices that indicate poor design and implementation choices in software tests. This study examines test smells in System User Interactive Tests (SUIT) and identifies 35 SUIT-specific smells through a literature review. The results show that these smells appear in both industrial and open-source projects, but are addressed differently. The study also finds that smells originating from multiple code locations are more common and smell-removing actions are not frequently performed.
Test smells are known as bad development practices that reflect poor design and implementation choices in software tests. Over the last decade, there are few attempts to study test smells in the context of system tests that interact with the System Under Test through a Graphical User Interface. To fill the gap, we conduct an exploratory analysis of test smells occurring in System User Interactive Tests (SUIT). We thus, compose a catalog of 35 SUIT-specific smells, identified through a multi-vocal literature review, and show how they differ from smells encountered in unit tests. We also conduct an empirical analysis to assess the diffuseness and removal of these smells in 48 industrial repositories and 12 open-source projects. Our results show that the same type of smells tends to appear in both industrial and open-source projects, but they are not addressed in the same way. We also find that smells originating from a combination of multiple code locations appear more often than those that are localized on a single line. This happens because of the difficulty to observe non-local smells without tool support. Furthermore, we find that smell-removing actions are not frequent with less than 50% of the affected tests ever undergoing a smell removal. Interestingly, while smell-removing actions are rare, some smells disappear while discarding tests, i.e., these smells do not appear in follow-up tests that replace the discarded ones.

作者

我是这篇论文的作者
点击您的名字以认领此论文并将其添加到您的个人资料中。

评论

主要评分

4.4
评分不足

次要评分

新颖性
-
重要性
-
科学严谨性
-
评价这篇论文

推荐

暂无数据
暂无数据