ISTQB Certified Tester Foundation Level v4.0 — Question 41
If test cases are written in the given/when/then format, what type of test-first software development is being used?
Answer options
- A. Test-driven development
- B. Acceptance test-driven development
- C. Business-driven development
- D. Behavior-driven development
Correct answer: D
Explanation
The correct answer is D, Behavior-driven development, as it specifically uses the given/when/then format to describe behaviors from the user's perspective. The other options, while related to testing, do not focus on this specific format; for example, Test-driven development emphasizes unit tests, and Acceptance test-driven development focuses on acceptance criteria.