ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 214 - CTFL4 discussion

Report
Export

Which of the following statements about TDD, BDD and ATDD is TRUE?

A.
Refactonng is a practice that is an integral part of TDD and is applied both to tests and to code wntten to satisfy those tests.
Answers
A.
Refactonng is a practice that is an integral part of TDD and is applied both to tests and to code wntten to satisfy those tests.
B.
ATDD is a black-box test design technique that is applicable exclusively at acceptance test level.
Answers
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.
Answers
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.
Answers
D.
ATDD is the practice of running the automated acceptance tests as part of a continuous integration process.
Suggested answer: A

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.

asked 18/09/2024
Sergio da Costa
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first