Which of the following statements about TDD, BDD and ATDD is true?
A.
Refactoring is a practice that is an integral part of TDD and is applied both to tests and to code written to satisfy those tests
B.
ATDD is a black-box test design technique that is applicable exclusively at acceptance test level
C.
BDD is a developer practice where business stakeholders are not usually involved as the tests are directly written at unit/component test level
D.
ATDD is the practice of running the automated acceptance tests as part of a continuous integration process
The Answer Is:
A
This question includes an explanation.
Explanation:
Test-Driven Development (TDD) includes refactoring as a key practice. After writing tests and the code to satisfy those tests, refactoring is performed to improve the code and test quality without changing the functionality. This continuous process helps maintain clean, efficient, and manageable code.