Understanding practitioners’ strategies to handle test smells: a multi-method study

  • Railana Santana UFBA
  • Daniel Fernandes UFBA
  • Denivan Campos UFBA
  • Larissa Soares UEFS
  • Rita Maciel UFBA
  • Ivan Machado UFBA

Resumo


Test smells are poor design and implementation choices that can affect the test code’s understanding and maintainability. Recent studies show the industry is not aware of the test smells concept, while software engineers commonly encounter obstacles to maintain test code. This study investigated test creation and maintenance strategies through developers’ perception of eight test smells types. We surveyed 87 software testers and interviewed eight to understand their view on test smells in practice. Our results show that most participants use manual strategies for creating and maintaining test cases. Based on data captured from software testers’ perspectives, this study contributes with possible directions and treatments to analyze test smells, seeking to understand how the test affects and potential solutions for test smells.
Publicado
29/09/2021
SANTANA, Railana; FERNANDES, Daniel; CAMPOS, Denivan; SOARES, Larissa; MACIEL, Rita; MACHADO, Ivan. Understanding practitioners’ strategies to handle test smells: a multi-method study. In: SIMPÓSIO BRASILEIRO DE ENGENHARIA DE SOFTWARE (SBES), 35. , 2021, Joinville. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2021 .