Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

iSQI CTAL-ATT Exam - Topic 9 Question 74 Discussion

You have been given the following storyAs a shopperI want to scan my membership cardSo that I get all the discounts I'm entitled to receiveWhich of the following is the correct use of BDD to design test scenarios?
A) Given that the shopper scans their card When they checkout Then they should receive alt the quantity discounts for everything they have purchased
B) As a store clerk I want to scan a customer's card So that their total includes their discounts
C) Given that I have scanned my card I expect to receive my discounts And an itemized list of what I bought
D) Given that a card is scanned Then discounts should be applied When the customer checks out

iSQI CTAL-ATT Exam - Topic 9 Question 74 Discussion

Actual exam question for iSQI's CTAL-ATT exam
Question #: 74
Topic #: 9
[All CTAL-ATT Questions]

You have been given the following story

As a shopper

I want to scan my membership card

So that I get all the discounts I'm entitled to receive

Which of the following is the correct use of BDD to design test scenarios?

Show Suggested Answer Hide Answer
Suggested Answer: A

The correct use of Behavior-Driven Development (BDD) to design test scenarios involves specifying the behavior in a given-when-then format. This format helps to clarify the conditions under which a particular outcome should occur. Option A follows this structure correctly:

Giventhat the shopper scans their card (the precondition),

Whenthey checkout (the action),

Thenthey should receive all the quantity discounts for everything they have purchased (the expected outcome).

This scenario clearly outlines the behavior of the system in response to the user's actions, which is central to BDD.

Reference= The ISTQB Advanced Level Agile Technical Tester syllabus emphasizes the importance of creating testable acceptance criteria for a given user story using requirements engineering and test techniques, which include the application of BDD in the context of a given user story12.


Contribute your Thoughts:

0/2000 characters
Trevor
2 days ago
I'm a bit confused about option C. It mentions an itemized list, but I don't think that's part of the original user story.
upvoted 0 times
...
Paz
7 days ago
I remember practicing similar questions, and I feel like option D might be the best fit since it clearly states the conditions and outcomes.
upvoted 0 times
...
Rikki
13 days ago
I think option A is close, but I'm not sure if it captures the full intent of the user story.
upvoted 0 times
...

Save Cancel