QuestionQ45

VerifiedChapter 4: Test Analysis and Design

You are creating test cases for a user story.

As a customer, I want to be able to book an ISTQB exam for a particular date, so that I can find and choose my time slot and pay the correct amount, including discounts, if any.

The acceptance criteria are:

  1. The displayed dates should range from the current date to 2 years in the future.
  2. Initially, 10 timeslots should be available for each day, each lasting 1 hour and starting at 8 AM GMT.
  3. A maximum of 5 persons should be able to select a time slot, after which that time slot should become unavailable.
  4. The first timeslot should have a 10% discount.

Which of the following is the BEST example of a test case for this user story?

Explanation

The first daily timeslot is required to receive a 10% discount. A test that books the 8 AM GMT slot verifies that required discounted price, and changing to another timeslot verifies that the discount is not incorrectly retained for a non-first slot.

Community Discussion

No comments yet. Be the first to start the discussion!