Why do software developers practice test-driven development?

Patrick Kayongo, Wallace Chigona, Zwelithini Mabhena
2016 2016 International Conference on Advances in Computing and Communication Engineering (ICACCE)  
This dissertation describes research that has been undertaken to understand factors influencing software developers' intention to perform test driven development (TDD). Unit tests are a form of testing, where tests are written for small units of software being developed. TDD is a practice where these tests are written before the functionality is written, so as to guide the design of the code for the functionality, as well as to ensure test coverage for all functionality. There has been some
more » ... arch conducted to understand TDD by looking at its effects on both the outcomes and the practice of software development. It has been found to increase quality by decreasing defects, while also increasing the maintainability and the changeability of the code. On the other hand, some research has also found it to increase time spent on completing tasks. Despite this, to the best of the researcher's knowledge, there hasn't been research done to understand the behavioural components of TDD, and in particular, why developers choose to practice TDD.
doi:10.1109/icacce.2016.8073775 fatcat:adiimqijdzdbpiqhsosal2li6q