CTFL_SYLL_4.0 · Question #119
Which of the following statements about TDD, BDD and ATDD is TRUE?
The correct answer is A. Refactonng is a practice that is an integral part of TDD and is applied both to tests and to code. Test-Driven Development (TDD) emphasizes writing tests before code and includes refactoring as a key practice to improve both the tests and the code. This ensures that the codebase remains clean and maintainable. The ISTQB CTFL Syllabus v4.0 discusses TDD as a practice that…
Question
Which of the following statements about TDD, BDD and ATDD is TRUE?
Options
- ARefactonng is a practice that is an integral part of TDD and is applied both to tests and to code
- BATDD is a black-box test design technique that is applicable exclusively at acceptance test level.
- CBDD is a developer practice where business stakeholders are not usually involved as the tests
- DATDD is the practice of running the automated acceptance tests as part of a continuous
How the community answered
(29 responses)- A86% (25)
- B3% (1)
- C7% (2)
- D3% (1)
Explanation
Test-Driven Development (TDD) emphasizes writing tests before code and includes refactoring as a key practice to improve both the tests and the code. This ensures that the codebase remains clean and maintainable. The ISTQB CTFL Syllabus v4.0 discusses TDD as a practice that includes writing tests first, coding to satisfy those tests, and then refactoring the code to improve its structure and readability while keeping the tests intact.
Topics
Community Discussion
No community discussion yet for this question.