T09

pdf

School

McMaster University *

*We aren’t endorsed by this school

Course

3RA3

Subject

Computer Science

Date

Jan 9, 2024

Type

pdf

Pages

2

Uploaded by BrigadierFishMaster627

Report
COMPSCI/SFRENG 3RA3 – Fall 2023 Adapted from Paige et al.—Fall 2022 Tutorial #09 – Acceptance Tests Case Study Description Consider the following Use Case description from T06, as part of Biketour requirements documentation Use case : Access Daily Traffic info o Description : A cyclist wants to find information about daily traffic on particular routes. o Primary Actor : Cyclist o Supporting actors: Traffic data provider, navigation service o Pre-conditions: § Cyclist has a particular location in mind § Daily traffic data is available for the specific route to the location o Trigger: Cyclist initiated a request to check the daily traffic on a specific route o Main Success Scenario: 1. Cyclist specifies the route/location for which they want to check the traffic information 2. System queries the traffic data provider for current traffic data along the route 3. System presents daily traffic information to the Cyclist o Secondary Scenario(s): § Traffic data provider is unavailable and informs the cyclist that the information is not available § Cyclist inputs an invalid location/route, and the system informs the Cyclist that the location/route is invalid o Post-condition: § Cyclist receives information about the daily traffic on the specific route Task 1: Prototype (15 minutes) Draw a low-fi prototype on paper of the system that would be used by the cyclist to support this scenario.
2 Task 2: Acceptance Scenario (10 minutes) Using the Gherkin language (Given/When/Then clauses), write some automated scenarios that will support the automated testing of this use case. Task 3: Down to system requirements (10 minutes) Consider your Gherkin scenarios. Which assumptions are you making on the system to be able to execute them? Which kind of (non-functional) elements do you need from the system to support their automated execution?
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help