Software Testing and Code Refactoring: A Survey with Practitioners

被引:0
|
作者
Lima, Danilo Leandro [1 ]
Santos, Ronnie de Souza [2 ,3 ]
Garcia, Guilherme Pires [4 ]
da Silva, Sildemir S. [3 ]
Franca, Cesar [3 ]
Capretz, Luiz Fernando [5 ]
机构
[1] Accenture, Recife, PE, Brazil
[2] Cape Breton Univ, Sydney, NS, Canada
[3] CESAR Sch, Sydney, NS, Canada
[4] Agape2IT, Recife, PE, Brazil
[5] Western Univ, London, ON, Canada
关键词
software testing; test automation; code refactoring; test engineers;
D O I
10.1109/ICSME58846.2023.00064
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Nowadays, software testing professionals are commonly required to develop coding skills to work on test automation. One essential skill required from those who code is the ability to implement code refactoring, a valued quality aspect of software development; however, software developers usually encounter obstacles in successfully applying this practice. In this scenario, the present study aims to explore how software testing professionals (e.g., software testers, test engineers, test analysts, and software QAs) deal with code refactoring to understand the benefits and limitations of this practice in the context of software testing. We followed the guidelines to conduct surveys in software engineering and applied three sampling techniques, namely convenience sampling, purposive sampling, and snowballing sampling, to collect data from testing professionals. We received answers from 80 individuals reporting their experience refactoring the code of automated tests. We concluded that in the context of software testing, refactoring offers several benefits, such as supporting the maintenance of automated tests and improving the performance of the testing team. However, practitioners might encounter barriers in effectively implementing this practice, in particular, the lack of interest from managers and leaders. Our study raises discussions on the importance of having testing professionals implement refactoring in the code of automated tests, allowing them to improve their coding abilities.
引用
收藏
页码:500 / 507
页数:8
相关论文
共 50 条
  • [1] A survey of software refactoring
    Mens, T
    Tourwé, T
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2004, 30 (02) : 126 - 139
  • [2] A Systematic Literature Survey of Software Metrics, Code Smells and Refactoring Techniques
    Agnihotri, Mansi
    Chug, Anuradha
    [J]. JOURNAL OF INFORMATION PROCESSING SYSTEMS, 2020, 16 (04): : 915 - 934
  • [3] Analysis of Code Refactoring Impact on Software Quality
    Kaur, Amandeep
    Kaur, Manpreet
    [J]. 4TH INTERNATIONAL CONFERENCE ON ADVANCEMENTS IN ENGINEERING & TECHNOLOGY (ICAET-2016), 2016, 57
  • [4] Refactoring Techniques for Improving Software Quality: Practitioners' Perspectives
    Almogahed, Abdullah
    Omar, Mazni
    [J]. JOURNAL OF INFORMATION AND COMMUNICATION TECHNOLOGY-MALAYSIA, 2021, 20 (04): : 511 - 539
  • [5] Refactoring Community Smells: An Empirical Study on the Software Practitioners of Bangladesh
    Tahsin, Noshin
    Sakib, Kazi
    [J]. 2022 29TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, APSEC, 2022, : 422 - 426
  • [6] Investigating the Effect of Refactoring on Software Testing Effort
    Elish, Karim O.
    Alshayeb, Mohammad
    [J]. APSEC 09: SIXTEENTH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2009, : 29 - 34
  • [7] A Code Refactoring Dataset and Its Assessment Regarding Software Maintainability
    Kadar, Istvan
    Hegedus, Peter
    Ferenc, Rudolf
    Gyimothy, Tibor
    [J]. 2016 IEEE 23RD INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION, AND REENGINEERING (SANER), VOL 1, 2016, : 599 - 603
  • [8] Code Refactoring Strategies of Third Year Software Engineering Students
    Rajapakse, Roshan
    Szabo, Claudia
    [J]. PROCEEDINGS OF THE 2024 CONFERENCE INNOVATION AND TECHNOLOGY IN COMPUTER SCIENCE EDUCATION, VOL 1, ITICSE 2024, 2024, : 562 - 568
  • [9] Transformation of centralized software components into distributed ones by code refactoring
    Seriai, Abdelhak
    Bastide, Gautier
    Oussalah, Mourad
    [J]. DISTRIBUTED APPLICATIONS AND INTEROPERABLE SYSTEMS, PROCEEDINGS, 2006, 4025 : 332 - 346
  • [10] Transformation of centralized software components into distributed ones by code refactoring
    Ecole de Mines de Douai, 941 rue Charles Bourseul, Douai
    59508, France
    不详
    44322, France
    [J]. Lect. Notes Comput. Sci., 2006, (332-346):