Standard

Comprehending Test Code: An Empirical Study. / Yu, Chak Shun; Treude, Christoph; Aniche, Maurício.

Proceedings of the 35th IEEE International Conference on Software Maintenance and Evolution. IEEE, 2019.

Research output: Chapter in Book/Report/Conference proceedingConference contributionScientificpeer-review

Harvard

Yu, CS, Treude, C & Aniche, M 2019, Comprehending Test Code: An Empirical Study. in Proceedings of the 35th IEEE International Conference on Software Maintenance and Evolution. IEEE, 35th IEEE International Conference on Software Maintenance and Evolution, Cleveland, United States, 30/09/19.

APA

Yu, C. S., Treude, C., & Aniche, M. (2019). Comprehending Test Code: An Empirical Study. In Proceedings of the 35th IEEE International Conference on Software Maintenance and Evolution IEEE.

Vancouver

Yu CS, Treude C, Aniche M. Comprehending Test Code: An Empirical Study. In Proceedings of the 35th IEEE International Conference on Software Maintenance and Evolution. IEEE. 2019

Author

Yu, Chak Shun ; Treude, Christoph ; Aniche, Maurício. / Comprehending Test Code: An Empirical Study. Proceedings of the 35th IEEE International Conference on Software Maintenance and Evolution. IEEE, 2019.

BibTeX

@inproceedings{8c997432398c44da8ec45b00fa7a4416,
title = "Comprehending Test Code: An Empirical Study",
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 engineering, test engineering, program comprehension, test code comprehension, empirical software engineering",
author = "Yu, {Chak Shun} and Christoph Treude and Maur{\'i}cio Aniche",
year = "2019",
language = "English",
booktitle = "Proceedings of the 35th IEEE International Conference on Software Maintenance and Evolution",
publisher = "IEEE",
address = "United States",

}

RIS

TY - GEN

T1 - Comprehending Test Code: An Empirical Study

AU - Yu, Chak Shun

AU - Treude, Christoph

AU - Aniche, Maurício

PY - 2019

Y1 - 2019

N2 - 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.

AB - 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.

KW - software engineering

KW - test engineering

KW - program comprehension

KW - test code comprehension

KW - empirical software engineering

M3 - Conference contribution

BT - Proceedings of the 35th IEEE International Conference on Software Maintenance and Evolution

PB - IEEE

ER -

ID: 55477440