IET Software (Aug 2023)

Test‐driven development, engagement in activity, and maintainability: An empirical study

  • Wei Ren,
  • Stephen Barrett

DOI
https://doi.org/10.1049/sfw2.12135
Journal volume & issue
Vol. 17, no. 4
pp. 509 – 525

Abstract

Read online

Abstract The software engineering community aims to achieve and maintain high‐efficient software engineering practical activities. One of the techniques used for this purpose is Test‐Driven Development (TDD), which is a cyclic and test‐centered development method positively related to maintainability, which may vary depending on the context and application. Previous research has indicated that TDD's benefits on maintainability may be due to the improved focus on coding and testing activities. However, limited research has investigated the role of engagement in software quality. Therefore, this study investigates the relationship between TDD methods, engagement level in development activities, and maintainability. The primary research questions addressed in this study are does following TDD methods improve the engagement level in development activities? And does a higher engagement level leads to better maintainability? The study employs a statistical analysis technique, regression analysis to explore the research questions. The results show that TDD behaviours improve the engagement level, and engaging in development activities has a significant positive impact on maintainability. Additionally, the study finds that the positive impact of focussing on testing, such as writing more test cases, is more pronounced compared to coding activities. Our study adds to current software engineering literature that not only personal expertise but the engagement level in the development process are associated with software quality and calls for the emphasis on developer's engagement.

Keywords