On the Diffusion of Test Smells in Automatically Generated Test Code: An Empirical Study

On the Diffusion of Test Smells in Automatically Generated Test Code: An Empirical Study
复制标题

自动生成测试代码中测试气味的扩散:一项实证研究

DOI:
--
复制
发表时间:
2016
期刊:
International Workshop on Search-Based Software Testing
影响因子:
--
通讯作者:
A. D. Lucia
A. D. Lucia
中科院分区:
--
文献类型:
--
作者:
Fabio Palomba;Dario Di Nucci;Annibale Panichella;Rocco Oliveto;A. D. Lucia

文献摘要

参考文献

被引文献

相似文献

软件测试在软件开发过程中的作用被广泛认为是成功项目的关键活动。这就是为什么在过去的十年中,已经提出了几个自动单元测试生成工具,特别是集中在高代码覆盖率。尽管研究界付出了努力,但仍然缺乏旨在分析所产生的测试代码的特征的实证调查。事实上,虽然一些研究在实践中检查了这些工具的有效性和可用性,但仍然不知道测试代码是否被维护。在本文中,我们进行了大规模的实证研究,以分析不良设计解决方案,即测试气味,在自动生成的单元测试类的扩散。研究结果表明,高扩散的测试气味,以及频繁的不同类型的设计问题的共同出现。最后,我们发现所有的测试气味有很强的正相关性的结构特征的系统,如规模或数量的类。
The role of software testing in the software development process is widely recognized as a key activity for successful projects. This is the reason why in the last decade several automatic unit test generation tools have been proposed, focusing particularly on high code coverage. Despite the effort spent by the research community, there is still a lack of empirical investigation aimed at analyzing the characteristics of the produced test code. Indeed, while some studies inspected the effectiveness and the usability of these tools in practice, it is still unknown whether test code is maintainable. In this paper, we conducted a large scale empirical study in order to analyze the diffusion of bad design solutions, namely test smells, in automatically generated unit test classes. Results of the study show the high diffusion of test smells as well as the frequent co-occurrence of different types of design problems. Finally we found that all test smells have strong positive correlation with structural characteristics of the systems such as size or number of classes.
DOI: 10.1109/icst.2013.11
发表时间: 2013-03
期刊: 2013 IEEE Sixth International Conference on Software Testing, Verification and Validation
影响因子: --
作者:
S. Afshan;Phil McMinn;Mark Stevenson
通讯作者: S. Afshan;Phil McMinn;Mark Stevenson
DOI: 10.1109/icstw.2010.31
发表时间: 2010-04
期刊: 2010 Third International Conference on Software Testing, Verification, and Validation Workshops
影响因子: --
作者:
M. Harman;Sung Gon Kim;Kiran Lakhotia;Phil McMinn;S. Yoo
通讯作者: M. Harman;Sung Gon Kim;Kiran Lakhotia;Phil McMinn;S. Yoo
DOI: 10.1109/tse.2014.2372785
发表时间: 2015-05-01
影响因子: 7.4
作者:
Barr, Earl T.;Harman, Mark;Yoo, Shin
通讯作者: Yoo, Shin