ISTQB Certified Tester Foundation Level v4.0 — Question 68
Which of the following statements about TDD, BDD and ATDD is TRUE?
Answer options
- 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.
Correct answer: A
Explanation
The correct answer is A because refactoring is indeed a vital component of Test-Driven Development (TDD) and applies to both the tests and code. Option B is incorrect as ATDD is not limited to black-box techniques at the acceptance level; it can involve collaboration with stakeholders. Option C misrepresents BDD, which actively involves business stakeholders in the testing process, and option D incorrectly describes ATDD, which focuses on the collaboration before the tests are run, rather than the execution of tests.