Evaluation Criteria for Test Suites in Software Developed Through Test-Driven Development
摘要
Novel approaches to software development have emerged recently, of which Test-Driven Development (TDD) is one of the most well-known. TDD requires writing tests before writing any code, such that no code is written without a corresponding test. By achieving broad code coverage, this approach seeks to improve the test suite’s overall quality. This study examines applications created using traditional techniques as well as TDD, focusing on two essential quality metrics: structure-based criteria and fault-based criteria. The analysis shows a correlation that is especially noticeable in TDD applications between increased mutation scores and high branch test coverage. The outcomes demonstrate how well Test-Driven Development works to improve test suite quality, cover a larger percentage of the source code, and identify possible problem.