Project 2 Stories

CS 498-598, Extreme Programming - Summer 2001


  1. an employee assigns a task and a code to each half-hour worked. tasks are selected from a fixed set of tasks; codes are selected from a fixed set of codes. each code is classified as being either premium or non-premium. the premium rate codes are any 2-character code (such as DB, EO, OT, SH, and SO); any other codes are non-premium.

    Acceptance Tests

    Show that legal time-data is accepted.

    Show that time-data can be saved to a file and recalled from a file.

    previous version

  2. the set of task-time sums is known as the daily totals. a daily total must have eight non-premium hours; a daily total not having exactly eight non-premium hours is incorrect. for any day monday through friday, a daily total of more than 24 hours is incorrect. incorrect time data should be highlighted to indicate potential problems. the presence of incorrect time data should not hinder other operations on the time data.

    previous version

  3. every two weeks employee sums the daily totals produced over the previous two weeks to produce a bi-weekly total. the bi-weekly total is one number; the task-time associations in the daily totals are ignored when producing the bi-weekly total. the employee computing the bi-weekly total must sign-off on it to indicate the daily and bi-weekly totals are complete and correct.

    previous version

  4. previous version

  5. only the employee, the employee's bosses, and the administrator (secretary) responsible for time data can access the employee's time data. The employee and bosses always have read and write access to the data. the administrator has read access to the data until the employee has signed-off on the bi-weekly total; after the employee has signed-off, the administrator has read and write access to the time data.

  6. whenever an employee's time data is changed, the change is tagged with the old data, the name of the person making the change, and the date and time when the change was made.

    previous version

  7. an employee with read access to time data can print a hard copy of that time data. The data are printed on the standard time-sheet form.

  8. employees have access to computers running windows and networked together on the company's LAN. employees can work on time data from any networked windows system.

  9. employees identify themselves before they can access time data; the identification remains valid for the remainder of the session. each employee has an employee number, which is a five digit number, and a password. each employee can use only their own employee number and password.

    Acceptance Tests

    Show that a person with an invalid employee id cannot login.

    Show that a person with a valid employee id but invalid password cannot login

    Show that a person with a valid employee id and valid password can login.

    Show that a new employee cannot login until the new id and password are added to the password database; show that the new employee can login once the new id and password have been added to the password database.

    previous version

  10. a properly identified employee is has available a list of employee time data to which access is allowed, as well as the date of the time data to display. time data are uniquely identified by employee number and bi-weekly pay-period ending date.

    Acceptance Tests

    Show that an employee can access their time-sheet data for some pay period.

    Show that employee A cannot access time-sheet data for employee B if A is not a secretary nor B's (transitively closed) boss.

    Show that secretary A can access time-sheet data for employee B.

    Show that employee A's boss can access A's time-sheet data.

  11. employees can enter their hours over the phone.

  12. employees have read-only access to their time data once they have signed off on them.

  13. for a given time period and task id, generate a report listing all the employees who worked on the given task for the given period and the total amount of time each employee spent on the task during the peroid.

    previous version

  14. task ids are 4 characters long. each employee has access to a list of valid task ids, which include the following
    5300
    5391
    53D1
    53E1
    FM00
    SICK
    VACN
    HLDY

  15. the user inteface should present a reasonable approximation to the standard paper time sheet.

  16. the daily totals must be computed no later than 24 hours after the day to which they apply.

  17. the complete set of change tags for any time datum can be made available for inspection; the initial entry of an datum is part of the change set for the datum.


This page last modified on 18 July 2001.