An Empirical Study of Test-Driven Development vs. Test-Last Development Using Eye Tracking
Author(s) -
Joelma Choma,
Eduardo Guerra,
Tiago Silva da Silva,
Thomas Albuquerque,
Vanessa G. Albuquerque,
Luciana Zaina
Publication year - 2019
Publication title -
communications in computer and information science
Language(s) - English
Resource type - Book series
SCImago Journal Rank - 0.16
H-Index - 51
eISSN - 1865-0937
pISSN - 1865-0929
DOI - 10.1007/978-3-030-36701-5_2
Subject(s) - test driven development , computer science , unit testing , eye tracking , coding (social sciences) , software engineering , empirical research , test (biology) , software development , software , artificial intelligence , programming language , mathematics , paleontology , statistics , biology
Test-Driven Development (TDD) is an iterative software development technique in which unit tests are defined before production code, while Test-Last Development (TLD) is a more traditional development technique in which unit tests are written after the features are implemented. There have been a number of empirical studies investigating the effects of TDD compared to other approaches in terms of software quality and productivity. However, there are few investigations in which the TDD effects are explored from the viewpoint of the developers’ experience. This paper presents an eye-tracking study carried out in order to measure visual attention during the coding and test tasks when developers are using TDD compared to TLD. Our preliminary findings pointed out a similar visual effort proportion in both techniques, but a difference regarding eye gaze behavior between them which needs to be confirmed.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom