Published February 18, 2021 | Version v3

How are test smells treated in the wild? A tale of two empirical studies

  • 1. Federal University of Bahia
  • 2. Federal University of Lavras

Description

Data collected in the study "How are test smells treated in the wild? A tale of two empirical studies".
 

Abstract: Developing test code may be a time­-consuming process that usually requires much effort and cost, es­pecially when done manually. Besides, during this process, developers and testers are likely to adopt bad design choices, which may lead to the introduction of the so­called test smells in the test code. As the test code with test smells increases in size, these tests might become more complex, and as a consequence, much more challenging to understand and evolve them correctly. Therefore, test smells may have a negative impact on the test code quality and maintenance and may also harm the whole software testing activities. In this context, this study aims to under­stand whether software testing practitioners unintentionally insert test smells when they implement test code. We first carried out an expert survey to analyze the usage frequency of a set of test smells and then interviews to reach a deeper understanding of how practitioners deal with test smells. Sixty professionals participated in the survey, and fifty professionals participated in the interview. The yielded results indicate that experienced professionals in­troduce test smells during their daily programming tasks, even when using their companies’ standardized practices. Additionally, test development and quality improvement are usually supported by tools, but most interviewees are test smells unaware.

Files

Interview questions [EN].pdf

Files (2.7 MB)

Name Size Download all
md5:320199b47b597defd157408050238959
10.7 kB Download
md5:e8b607f86d18158a5030ceb40f6959ec
38.9 kB Preview Download
md5:67a89e7be1252111e8bf2f5165f0d8e5
40.7 kB Preview Download
md5:7e80c8d6209742ec7fce8aae58f1b70b
126.0 kB Preview Download
md5:19708c391c05d5f54e3f5aebc1473ad1
128.3 kB Preview Download
md5:ce3321bb02aeded9b355268210eb1613
35.6 kB Download
md5:7983640d0c93f571fd6050b483cdddbb
1.7 MB Preview Download
md5:f6a1d67ca22424f2a543b6e3fb58ae97
312.2 kB Preview Download
md5:08bb5d1a91d4cc5e1b50d8d0961f247b
317.8 kB Preview Download
md5:bec8bea2419691c5f6fac81be300110e
32.4 kB Download