Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/3474624.3474639acmotherconferencesArticle/Chapter ViewAbstractPublication PagessbesConference Proceedingsconference-collections
short-paper

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

Published: 05 October 2021 Publication History

Abstract

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.

References

[1]
Jonas De Bleser, Dario Di Nucci, and Coen De Roover. 2019. Assessing diffusion and perception of test smells in scala projects. In 16th International Conference on Mining Software Repositories (MSR). IEEE, Montreal, QC, Canada, 457–467.
[2]
Arie Van Deursen, Leon Moonen, Alex Van Den Bergh, and Gerard Kok. 2001. Refactoring test code. In 2nd international conference on extreme programming and flexible processes in software engineering (XP2001). CWI (Centre for Mathematics and Computer Science), NLD, 92–95.
[3]
Vahid Garousi and Barış Küçük. 2018. Smells in software test code: A survey of knowledge in industry and academia. Journal of systems and software 138 (2018), 52–81.
[4]
Nildo Silva Junior, Larissa Rocha Soares, Luana Almeida Martins, and Ivan Machado. 2020. A survey on test practitioners’ awareness of test smells. CoRR abs/2003.05613(2020).
[5]
Mohd Ehmer Khan and Farmeena Khan. 2014. Importance of software testing in software development life cycle. International Journal of Computer Science Issues (IJCSI) 11 (2014), 120.
[6]
Anthony Peruma, Khalid Almalki, Christian D Newman, Mohamed Wiem Mkaouer, Ali Ouni, and Fabio Palomba. 2019. On the distribution of test smells in open source android applications: An exploratory study. In 29th Annual International Conference on Computer Science and Software Engineering. IBM Corp., USA, 193–202.
[7]
Anthony Peruma, Khalid Almalki, Christian D Newman, Mohamed Wiem Mkaouer, Ali Ouni, and Fabio Palomba. 2020. Tsdetect: An open source test smells detection tool. In Proceedings of the 28th Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering. ACM, NY, USA, 1650–1654.
[8]
Railana Santana, Luana Martins, Larissa Rocha, Tássio Virgínio, Adriana Cruz, Heitor Costa, and Ivan Machado. 2020. RAIDE: a tool for Assertion Roulette and Duplicate Assert identification and refactoring. In Proceedings of the XXXIV Brazilian Symposium on Software Engineering - Tools Track. ACM, NY, USA, 374–379.
[9]
Davide Spadini, Martin Schvarcbacher, Ana-Maria Oprescu, Magiel Bruntink, and Alberto Bacchelli. 2020. Investigating severity thresholds for test smells. In Proceedings of the 17th International Conference on Mining Software Repositories. ACM, Seoul, Republic of Korea.
[10]
Michele Tufano, Fabio Palomba, Gabriele Bavota, Massimiliano Di Penta, Rocco Oliveto, Andrea De Lucia, and Denys Poshyvanyk. 2016. An empirical investigation into the nature of test smells. In Proceedings of the 31st IEEE/ACM International Conference on Automated Software Engineering. IEEE, Singapore.
[11]
Tássio Virgínio, Luana Martins, Larissa Rocha, Railana Santana, Adriana Cruz, Heitor Costa, and Ivan Machado. 2020. JNose: Java Test Smell Detector. In Proceedings of the XXXIV Brazilian Symposium on Software Engineering - Tools Track. ACM, NY, USA, 6 pages.
[12]
Claes Wohlin. 2014. Guidelines for Snowballing in Systematic Literature Studies and a Replication in Software Engineering. In Proceedings of the 18th International Conference on Evaluation and Assessment in Software Engineering. ACM, NY, USA, 10 pages.
[13]
Aiko Yamashita and Leon Moonen. 2013. Do developers care about code smells? An exploratory survey. In 20th working conference on reverse engineering (WCRE). IEEE, Koblenz, Germany.
[14]
Behrouz Zolfaghari, Reza Parizi, Gautam Srivastava, and Yoseph Hailemariam. 2020. Root causing, detecting, and fixing flaky tests: State of the art and future roadmap. Software Prac. Experience 51 (2020).

Cited By

View all
  • (2024)A comprehensive catalog of refactoring strategies to handle test smells in Java-based systemsSoftware Quality Journal10.1007/s11219-024-09663-732:2(641-679)Online publication date: 8-Mar-2024
  • (2023)Do you see any problem? On the Developers Perceptions in Test Smells DetectionProceedings of the XXII Brazilian Symposium on Software Quality10.1145/3629479.3629485(21-30)Online publication date: 7-Nov-2023
  • (2023)Hearing the voice of experts: Unveiling Stack Exchange communities’ knowledge of test smells2023 IEEE/ACM 16th International Conference on Cooperative and Human Aspects of Software Engineering (CHASE)10.1109/CHASE58964.2023.00017(80-91)Online publication date: May-2023
  • Show More Cited By
  1. Understanding practitioners’ strategies to handle test smells: a multi-method study

    Recommendations

    Comments

    Please enable JavaScript to view thecomments powered by Disqus.

    Information & Contributors

    Information

    Published In

    cover image ACM Other conferences
    SBES '21: Proceedings of the XXXV Brazilian Symposium on Software Engineering
    September 2021
    473 pages
    ISBN:9781450390613
    DOI:10.1145/3474624
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 05 October 2021

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. Software testing
    2. Survey research
    3. Test smells

    Qualifiers

    • Short-paper
    • Research
    • Refereed limited

    Conference

    SBES '21
    SBES '21: Brazilian Symposium on Software Engineering
    September 27 - October 1, 2021
    Joinville, Brazil

    Acceptance Rates

    Overall Acceptance Rate 147 of 427 submissions, 34%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)8
    • Downloads (Last 6 weeks)2
    Reflects downloads up to 13 Feb 2025

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)A comprehensive catalog of refactoring strategies to handle test smells in Java-based systemsSoftware Quality Journal10.1007/s11219-024-09663-732:2(641-679)Online publication date: 8-Mar-2024
    • (2023)Do you see any problem? On the Developers Perceptions in Test Smells DetectionProceedings of the XXII Brazilian Symposium on Software Quality10.1145/3629479.3629485(21-30)Online publication date: 7-Nov-2023
    • (2023)Hearing the voice of experts: Unveiling Stack Exchange communities’ knowledge of test smells2023 IEEE/ACM 16th International Conference on Cooperative and Human Aspects of Software Engineering (CHASE)10.1109/CHASE58964.2023.00017(80-91)Online publication date: May-2023
    • (2023)On the diffusion of test smells and their relationship with test code quality of Java projectsJournal of Software: Evolution and Process10.1002/smr.253236:4Online publication date: 18-Jan-2023

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    HTML Format

    View this article in HTML Format.

    HTML Format

    Figures

    Tables

    Media

    Share

    Share

    Share this Publication link

    Share on social media