Documents

  • PID5458011

    Accepted author manuscript, 578 KB, PDF-document

DOI

Test smells are sub-optimal design choices in the implementation of test code. As reported by recent studies, their presence might not only negatively affect the comprehension of test suites but can also lead to test cases being less effective in finding bugs in production code. Although significant steps toward understanding test smells, there is still a notable absence of studies assessing their association with software quality.
In this paper, we investigate the relationship between the presence of test smells and the change- and defect-proneness of test code, as well as the defect-proneness of the tested production code. To this aim, we collect data on 221 releases of ten software systems and we analyze more than a million test cases to investigate the association of six test smells and their co-occurrence with software quality. Key results of our study include:(i) tests with smells are more change- and defect-prone, (ii) ‘Indirect Testing’, ‘Eager Test’, and ‘Assertion Roulette’ are the most significant smells for change-proneness and, (iii) production code is more defect-prone when tested by smelly tests.
Original languageEnglish
Title of host publicationProceedings - 2018 IEEE International Conference on Software Maintenance and Evolution, ICSME 2018
Place of PublicationLos Alamitos, CA
PublisherIEEE
Pages12-23
Number of pages12
ISBN (Electronic)978-1-5386-7870-1
DOIs
Publication statusPublished - 2018
EventICSME 2018: 34th IEEE International Conference on Software Maintenance and Evolution - Madrid, Spain
Duration: 23 Sep 201829 Sep 2018
Conference number: 34
https://icsme2018.github.io/

Conference

ConferenceICSME 2018
CountrySpain
CityMadrid
Period23/09/1829/09/18
Internet address

    Research areas

  • test smells, code quality, automated testing

ID: 45599699