Please use this identifier to cite or link to this item: http://hdl.handle.net/2440/124780
Citations
Scopus Web of Science® Altmetric
?
?
Type: Conference paper
Title: Comprehending test code: An empirical study
Author: Yu, C.
Treude, C.
Aniche, M.
Citation: Proceedings of the 35th IEEE International Conference on Software Maintenance and Evolution (ICSME 2019), 2019 / pp.501-512
Publisher: IEEE
Publisher Place: Piscataway, NJ
Issue Date: 2019
Series/Report no.: Proceedings. IEEE International Conference on Software Maintenance and Evolution (ICSME)
ISBN: 9781728130958
ISSN: 1063-6773
2576-3148
Conference Name: IEEE International Conference on Software Maintenance (ICSME) (30 Sep 2019 - 04 Oct 2019 : Cleveland, OH, USA)
Statement of
Responsibility: 
Chak Shun Yu, Christoph Treude, Maurício Aniche
Abstract: Developers spend a large portion of their time and effort on comprehending source code. While many studies have investigated how developers approach these comprehension tasks and what factors influence their success, less is known about how developers comprehend test code specifically, despite the undisputed importance of testing. In this paper, we report on the results of an empirical study with 44 developers to understand which factors influence developers when comprehending Java test code. We measured three dependent variables: the total time spent reading a test suite, the ability to identify the overall purpose of a test suite, and the ability to produce additional test cases to extend a test suite. The main findings of our study, with several implications for future research and practitioners, are that (i) prior knowledge of the software project decreases the total reading time, (ii) experience with Java affects the proportion of time spent on the Arrange and Assert sections of test cases, (iii) experience with Java and prior knowledge of the software project positively influence the ability to produce additional test cases of certain categories, and (iv) experience with automated tests is an influential factor towards understanding and extending an automated test suite.
Keywords: Software Testing; Program Comprehension
Rights: ©2019 IEEE
RMID: 1000012342
DOI: 10.1109/ICSME.2019.00084
Grant ID: http://purl.org/au-research/grants/arc/DE180100153
Published version: https://ieeexplore.ieee.org/xpl/conhome/8910135/proceeding
Appears in Collections:Computer Science publications

Files in This Item:
There are no files associated with this item.


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.