onShore TimeSheet™ Release Tests

Greg Gallagher

$Revision: 1.2 $

Table of Contents
Release Tests Introduction
security Tests
adduser Tests
edituser Tests
addclient Tests
editclient Tests
addjob Tests
editjobs Tests
download Tests
reports Tests
loghours Tests
edithours Tests

Release Tests Introduction

This document lists the tests that should be performed on the onShore TimeSheet application before any releases are made, to identify bugs and problems.

The tests listed were generated using a flat text file, tests.in and the program reltests.pl to create the SGML.

Each of the tests uses the following information for testing


security Tests

Each of the tests below relates to security test cases


adduser Tests

Each of the tests below relates to adduser test cases


edituser Tests

Each of the tests below relates to edituser test cases


addclient Tests

Each of the tests below relates to addclient test cases


editclient Tests

Each of the tests below relates to editclient test cases


addjob Tests

Each of the tests below relates to addjob test cases


editjobs Tests

Each of the tests below relates to editjobs test cases

Table 8. editjobs Test Cases

TESTCASEEVENTIDACTIONEXPECTED_RESULTS
editjobs1hit "edit jobs" button, don't select a clientdialog box warning that you need to select client pops up
editjobs2select client from list, hit "edit jobs" buttonsearch screen for finding job returned
editjobs3any clients selected, no data entered, hit "search"all jobs for all clients and supervisor returned
editjobs4specific client radio button selected, hit "search"all jobs for that particular client and supervisor returned
editjobs5partial or whole description fieldall jobs matching the exact or partial description and supervisor returned
editjobs6job id enteredone job returned for that job id
editjobs7category selectedany and all jobs matching that category are returned
editjobs8open set to "no"only closed jobs returned
editjobs9open set to "yes"only open jobs returned
editjobs10output set to logn form, search performeddata returned in long form
editjobs11approved set to "yes"only jobs with default approval are returned
editjobs12approved set to "no"only jobs without default approval are returned
editjobs13supervisor set to "any"all jobs returned for all supervisors
editjobs14in details, current hoursshows the correct number of hours billed to the job
editjobs15in details, change open date and hit "update"data is updated
editjobs16in details, change close date and hit "update"data is updated
editjobs17in details, change category and hit "update"data is updated
editjobs18in details, change estimated hours and hit "update"data is updated
editjobs19in details, change completion date estimate and hit "update"data is updated
editjobs20in details, change bill rate and hit "update"data is updated
editjobs21in details, change open to closed and hit "update"data is updated
editjobs22in details, change closed to open and hit "update"data is updated
editjobs23in details, change supervisor and hit "update"supervisor is updated
editjobs24in details, change default approved and hit "update"default approved is updated
editjobs25in details, change flag hours and hit "update"flag hours is changed
editjobs26in details, change description and hit "update"description is changed
editjobs27in details, hit "delete"jobs is deleted from the database


download Tests

Each of the tests below relates to download test cases


reports Tests

Each of the tests below relates to reports test cases


loghours Tests

Each of the tests below relates to loghours test cases


edithours Tests

Each of the tests below relates to edithours test cases

Table 12. edithours Test Cases

TESTCASEEVENTIDACTIONEXPECTED_RESULTS
edithours1hit "view/edit hours" button, no client selectedwarning dialog box about having to select a client
edithours2hit "view/edit hours" button, client selectedview/edit hours form search page returned
edithours3in search, set supervisor to "any", client to "any", approved to "any", hit "search"all hours ever logged returned
edithours4in search, set supervisor to a specific supervisor, client to "any", approved to "any"all hours for a particular supervisor returned
edithours5in search, set supervisor to a specific supervisor, client to "any", approved to "no"all unapproved hours for a supervisor returned
edithours6in search, set supervisor to a specific supervisor, client to a specific client, approved to "no"all unapproved hours for a supervisor returned for a specifi client
edithours7select "any" for all pull down fields, enter in a start dateany hours logged on or after the date entered are returned
edithours8select "any" for all pull down fields, enter in a stop dateany hours logged up to the stop date are returned
edithours9select "any" for all pull down fields, enter in a stop and start dateany hours logged on and between the dates are returned
edithours10enter a specific job id, all fields blank and pull downs set to "any"hours for a particular job are returned
edithours11enter in a specific username, all fields blank and pull downs set to "any"hours for a particular user are returned
edithours12multiple fields fillewd in and pulls downs changeddata returned in parameters entered
edithours13select "short" form for multiple hours returnedlist of hours matching search returned, can click on descriptions to edit record
edithours14in details, change multiple fields and hit "update"data changed
edithours15in details, change job number and hit "update"job logged under changed
edithours16in details, change description and hit "update"data changed
edithours17in details, change comments and hit "update"data changed
edithours18in details, as supervisor set approved to "yes" and click "update"job is approved, can't be edited anymore
edithours19in details, click "delete"job is deleted, cannot be edited, approved or returned with a view/edit hours search