Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
SOEN 6481
Software Systems Requirements Specification
Summer 2015
Deliverable #3
Ticket Vending Machine
(Team-C)
Luis Angel Ipenza Marin
Maneesh Japa
Muhammad Farhan
Navleen Kaur
Sharath Kumar Reddy Jillela
Vijay Shah
These are base marks. The marks of individual members can vary.
The style of expressing user story statements and tests can improve.
Contents
1. USER STORY.........................................................................................................................................3
1.1 Select Language...........................................................................................................................3
1.2 Select Refill Card..........................................................................................................................3
1.3 Select Type of Ticket....................................................................................................................4
1.4 Payment by Credit/Debit.............................................................................................................4
1.5 Payment by Cash.........................................................................................................................5
1.6 Cancel Transaction.......................................................................................................................5
1.7 Refund.........................................................................................................................................6
1.8 Print Ticket...................................................................................................................................6
1.9 Check History...............................................................................................................................7
1.10 Insert cash into machine.............................................................................................................7
1.11 Hack Financial Information..........................................................................................................8
2. TRACEABILITY MATRIX.........................................................................................................................8
3. Glossary.............................................................................................................................................10
4. REFERENCES......................................................................................................................................10
5. Link to Wiki Hosting service...............................................................................................................10
7. TEAM MEMBER’S CONTRIBUTIONS...................................................................................................11
1. USER STORY
User stories are short, simple description of a feature told from the perspective of the
person who desires the new capability, usually a user or customer of the system. They
typically follow a simple template [1]:
MoSCoW approach [2] is used for prioritizing user stories.
1.1Select Language
Identifier: TVM-US-001
Author: Team-C
Version: 1.0
Statement: The user selects This is not a proper style. the language preferred or easily to
communicate with machine for his own convenience.
Constraint: User should know either French or English language.
Priority: Should
Acceptance The selected option must be valid.
Criteria:
Identifier: TVM-US-002
Name: Select Refill Card
Date: June 8, 2015
Author: Team-C
Version: 1.0
Statement: A User This is overly broad. Use some term such as commuter or traveler. can
recharge the card that they ? already owns, so that user need not purchase the
ticket every time they travel.
Constraint: User must have a valid debit/credit card or cash and a transport refill card. It is
better not to write compound statements.
Priority: Could
Acceptance The card inserted (i.e. Credit Card or Debit Card) must be valid.
Criteria:
Identifier: TVM-US-003
Author: Team-C
Version: 1.0
Statement: User should ? select a type of ticket that best suits his need How does one
know this?.
Constraint: Not Applicable
There could be usability constraints.
Priority: Should
Acceptance The user selects a type of ticket from the options provided.
Criteria: What if the machine is out of paper or ink to print tickets (or out of tickets,
assuming they are already printed and ready to be dispensed)?
Identifier: TVM-US-004
Author: Team-C
Version: 1.0
Statement: The user can make the payment through debit/credit card so that the
transaction gets completed.
Constraint: There should be connection between TVM and bank in order to process the
transaction.
There could be security constraints.
Priority: Could
Acceptance There should be enough balance in the account of user.
Criteria: PIN (Personal Identification Number) should be correct.
Identifier: TVM-US-005
Author: Team-C
Version: 1.0
Statement: The user can pay by cash in order to complete the transaction.
Constraint: Multiple denominations should be available in the machine.
Priority: Could
Acceptance The user should insert the amount of cash equal to or greater than the
Criteria: amount to be paid. This could be better expressed. Remove “The user
should …”.
1.6Cancel Transaction
Identifier: TVM-US-006
Author: Team-C
Version: 1.0
Statement: User can cancel the transaction at any time before the payment has been
made.
Constraint: The cancelation can be possible only before the payment
Priority: Could
Acceptance The cancelation is accepted only before the payment is made.
Criteria:
1.7 Refund
Identifier: TVM-US-007
Name: Refund
Date: June 8, 2015
Author: Team-C
Version: 1.0
Statement: The system will refund the user when there is a problem in transaction or
printing the ticket.
Priority: Would
Acceptance The machine will register a refund complaint only if there is a problem in
Criteria: completing the transaction.
1.8Print Ticket
Identifier: TVM-US-008
Author: Team-C
Version: 1.0
Statement: The machine ? This is a user story! should print the traveling ticket(s). If
required by the user a receipt can also be printed. This is a compound user
story.
Constraint: There should be enough ink and paper in the machine for printing.
Priority: Should
Acceptance The payment transaction should be approved.
Criteria:
1.9 Check History
Identifier: TVM-US-009
Author: Team-C
Version: 1.0
Statement: The maintenance employee should check the history of last’s week demand on
transport tickets to put a suitable amount of cash into the machine.
Constraint: The history of transactions should be shown by week.
The maintenance employee should be able to check the transaction’s
history of the last 12 past months.
Priority: Should
Acceptance N/A
Criteria:
Identifier: TVM-US-010
Author: Team-C
Version: 1.0
Statement: The maintenance employee will insert the amount of cash required on the
specific denominations into the machine.
Constraint: The cash inserted on the TVM cannot exceed the cash container’s
capacity.
The amount of cash inserted cannot exceed the limit established by
the managers.
Priority: Would
Acceptance The bills and coins denominations of the cash inserted on the TVM are also
Criteria: selected following the last week’s demand.
1.11 Hack Financial Information
Identifier: TVM-US-011
Author: Team-C
Version: 1.0
Statement: The Hacker can get account details in order to gain authorization to user’s
financial account.
Constraint: N/A
Priority: Could
Acceptance N/A
Criteria:
There could be more negative user stories. For example, use of counterfeit money.
2. TRACEABILITY MATRIX
A traceability matrix is a table that correlates any two baselined documents that require a many
to many relationship to determine the completeness of the relationship. It is often used with high-
the machine.
TVM-US-010 Insert cash into The maintenance employee UC2-C-D2
machine can insert the amount of cash
required on the specific
denominations into the
machine.
TVM-US-011 Hack Financial The Hacker can get account http://www.technotification.com/
Information details in order to gain 2014/02/top-10-black-hat-hacker-and-
authorization to user’s thier-story.html
financial account.
3. Glossary
TVM-US Ticket Vending Machine User Story of a Use Case
MoSCoW The abbreviation MoSCoW stands for Must, Should, Could, and Would.
Acceptance Criteria The criteria under which the system satisfies or performs a certain task.
4. REFERENCES
http://users.encs.concordia.ca/~kamthan/courses/soen-6481/user_stories_introduction.pdf
[3] Available Online: https://en.wikipedia.org/wiki/Traceability_matrix
[5] Available Online: (IEEE 1320.2-1998 (R2004) IEEE Standard for Conceptual Modeling
Language Syntax and Semantics for IDEF1X97 (IDEFobject), 3.1.41)
[6] Available Online: http://www.geekinterview.com/talk/1086-base-line-document.html
http://users.encs.concordia.ca/~kamthan/courses/soen-6481/user_stories_quality.pdf
[8] Kamthan P, “ User Stories in Context”.
http://users.encs.concordia.ca/~kamthan/courses/soen-6481/user_stories_context.pdf
[9] Available Online : Kamthan P,”Negative User Stories”.
http://users.encs.concordia.ca/~kamthan/courses/soen-6481/user_stories_negative.pdf
https://soen6841-teamc.wikispaces.com/D3
1. Maneesh Japa Brainstorming
2. Vijay Shah Elicitation of User Stories
Backward Traceability Matrix construction
Integration of document.
Peer review