From Bugs to Brilliance: The Role of TDD in Embedded Software Engineering

Authors

  • Kishore Ranjan Independent Researcher, Trumbull, United States Author

DOI:

https://doi.org/10.56830/IJSIE202621

Keywords:

Test-Driven Development (TDD), Embedded Systems, Software Quality, Test Automation, Lithography Machine

Abstract

Software development and qualification strategy for embedded systems largely depend on the system complexity and development & maintenance cost. This paper presents an overview of research on Test-Driven Development (TDD), focusing on software quality, productivity, and embedded systems engineering. Previous studies report mixed findings regarding TDD's effects on development productivity and external software quality. This paper discusses these findings and examines their implications for large-scale, complex, and safetycritical embedded software. It also considers emerging opportunities and limitations associated with using generative AI tools to support TDD. The paper introduces the main principles of TDD and discusses reported effects on software quality and productivity. It also examines how generative AI may support test and code generation. However, existing findings do not establish that TDD consistently improves quality or reduces productivity across all development contexts. Its suitability for complex embedded systems therefore requires context-specific evaluation.

References

Andrea, J. (2009). Test-driven development: Driving new standards of beauty. In A. Goucher & T. Riley (Eds.), Beautiful testing: Leading professionals reveal how they improve software (pp. 181–194). O’Reilly Media.

Astels, D. (2003). Test driven development: A practical guide. Prentice Hall.

Bala, A. K., & Kumar, A. (2025). Research progress knowledge mapping on transit oriented development (TOD) typology. Engineering, Technology & Applied Science Research, 15(2), 21847–21853. https://etasr.com/index.php/ETASR/article/view/10097

Beck, K. (1999). Extreme programming explained: Embrace change. Addison-Wesley.

Beck, K. (2003). Test-driven development: By example. Addison-Wesley.

Consortium for Information and Software Quality. (2023). The cost of poor software quality in the US: A 2022 report.

Cui, J. (2024). A comparative study on the impact of test-driven development (TDD) and behavior-driven development (BDD) on enterprise software delivery effectiveness (arXiv:2411.04141). arXiv. https://arxiv.org/abs/2411.04141

Dohmke, T. (2008). Test-driven development of embedded control systems: Application in an automotive collision prevention system [Doctoral dissertation, University of Glasgow]. https://doi.org/10.5525/gla.thesis.239 Dojo Five. (n.d.). Unit testing for embedded software development. https://dojofive.com/blog/unit-testing-for-embedded-software-development/

Erdogmus, H., Morisio, M., & Torchiano, M. (2005). On the effectiveness of the test-first approach to programming. IEEE Transactions on Software Engineering, 31(3), 226–

Janzen, D. S., & Saiedian, H. (2008). Does test-driven development really improve software design quality? IEEE Software, 25(2), 77–84. https://doi.org/10.1109/MS.2008.34

MarketsandMarkets. (n.d.). Embedded system market. Retrieved April 1, 2023, from https://www.marketsandmarkets.com/Market-Reports/embedded-system-market- 98154672.html

Matcha, S., & Singh, S. P. (2025). Test-driven development (TDD) and its impact on software maintainability: An empirical study. ResearchGate. https://www.researchgate.net/publication/393468386

Mock, M., Melegati, J., & Russo, B. (2025). Generative AI for test driven development: Preliminary results. In Agile processes in software engineering and extreme programming – Workshops (XP 2024) (Lecture Notes in Business Information Processing, Vol. 524, pp. 24–32). Springer. https://doi.org/10.1007/978-3-031-72781- 8_3

Piya, S., & Sullivan, A. (2024). LLM4TDD: Best practices for test driven development using large language models. In Proceedings of the 2024 IEEE/ACM International Workshop on Large Language Models for Code (LLM4Code) (pp. 14–21). ACM. https://doi.org/10.1145/3643795.3648382

Rafique, Y., & Mišić, V. B. (2013). The effects of test-driven development on external quality and productivity: A meta-analysis. IEEE Transactions on Software Engineering, 39(6), 835–856. https://doi.org/10.1109/TSE.2012.28

Ranjan, K., Chandra, R., & Lulla, K. (2025). Enhancing reliability in complex embedded systems software: The critical role of unit testing in the age of AI and machine learning. International Journal of Computational and Experimental Science and Engineering, 11(3), 4170–4175. https://doi.org/10.22399/ijcesen.2633

Downloads

Published

2026-11-18

Issue

Section

Articles