Homework 2 - Hilari/Tarkvaratehnika-projekt GitHub Wiki

Requirements Specification

  • Use case: making a reservation
  • Primary actor: Cashier
  • Precondition: It is possible to make reservation
  • Main success scenario:
    1) Client wants to make a reservation
    2) Waiter receives a reservation
    3) Waiter delivers reservation to cashier
    4) Cashier checks if the date is available
    4.1) Offers new date if isn’t.
    5) Waiter gives confirmation or offers new date.
  • Extensions: If date is not available, new date is offered.
  • Use case: Ordering
  • Primary actor: Waiter
  • Precondition: It is possible to order beer
  • Main success scenario:
    1) Client calls waiter
    2) Waiter recieves order
    3) Waiter pours out drink
    4) Waiter delivers order
    5) Client pays for order.
  • Extensions: If the product the client wishes has ran out or does not exsist, alternative is offered, new order taken.
  • Use case: Pass a bill to another waiter
  • Primary actor: Waiter
  • Precondition: It is possible to pass bill
  • Main success scenario:
    1) Client calls waiter
    2) Waiter receives order
    3) Waiter delivers order
    4) For some reason it is not possible for waiter to serve table(s) any more, therefore passes a bill to another waiter.
    5) New waiter starts serving the table.
  • Extensions: It is possible to split the bill from the table (later on) so the previous waiter receives 50% of the bonus.
  • Use case: POS recognizes the user
  • Primary actor: Cashier
  • Precondition: There could be more than one user in POS
  • Main success scenario:
    1) Cashier uses his card to log-in
    2) Cashier is able to log in into his account
    *Extensions:
    1) If another cashier pulls his card through, the previous one is immediately logged out and new cashier has logged in
    2) If the card mismatches somehow the log in will not work and will require a head waiter attention
  • Use case: Shift reports are sent automatically
  • Primary actor: Cashier
  • Precondition: Computer is connected to the internet
  • Main success scenario:
    1) Cashier ends his/hers shift
    2) Shift report is sent
    3) Accountant receives the shift report
    *Extensions:
    1) If for some reason the system fails to send shift report then error message is displayed
    2) The copy of shift report is saved automatically on computer HDD/server.

Modeling

Planning
Project plan xls link

⚠️ **GitHub.com Fallback** ⚠️