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.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Evaluation Criteria for Test Suites in Software Developed Through Test-Driven Development

  • Tara Rani Agarwal,
  • Nikita Thakur

摘要

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.