R. Clayton (rclayton@clayton.cs.monmouth.edu)
(no date)
These are also available on the Stories Page for Project 2.
story 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 with an invalid employee-id or hours is rejected.
Show that time-data can be saved to a file and recalled from a file.
story 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. each
employee can use only their own employee number.
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.
story 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.
This archive was generated by hypermail 2.0b3 on Thu Aug 02 2001 - 12:45:05 EDT