Evaluating Testability- Driven Development (TsDD) Versus Test-Driven Development (TDD)in Software Quality
Saeed Parsa · Sahar A. Hussein Altaee
Testability, as an essential property, plays a crucial role in software quality and testing techniques. In this work, we are conducting a comparative study of TDD and TsDD. Whereas TDD focuses on generating unit tests before implementing the code, TsDD aims to evaluate the testability of code before running static analysis techniques and changing the design before carrying out test execution. This study is quantitative and focuses on collecting and analysing numerical data, using code coverage (CC) and testing timeframe as two important criteria for evaluating software development and testing frameworks. The impact of this approach on software quality is measured using advanced data testing instruments, monitoring code coverage, and testing time trade-offs across three open-source software projects. Results show that code coverage is significantly improved and that the software becomes more testable, with TseDD outperforming TDDe by 14.20% on testability and 12.54% on code coverage. This underscores the significance of this technique as a successful approach to improving software quality and streamlining development processes.