Test Cases and Results

Type of Test Case: Unit

Chemical Engineering Lab Scheduler

Benjamen Linden


Test Table

 

ID /
Description

Input

Tester Name /
Test Case Type /
Date Executed

Actual Result

  • 5.1 
  • Tests DisplayPage() function which should post a page with the current logged in student name, and a list of members in their group. 

OK: 

  • No input: Connection to the database should be made with the appropriate user name queried to extract their current partners.

ERROR:

  • In the impossible case that an invalid Username is queried, an error is generated, and the user is notified.
  • Benjamen Linden
  • 04/23/2003

PASS: 

  • The database is queried with the correct username, and the correct team members are returned.
  • The database is queried with an incorrect username, an error is returned.

FAIL:

  • none 
  • 5.2
  • Tests the makeGroup() function which should display a page with four text fields to enter the usernames of prospective group members. 

OK: 

  • No input: the text fields are displayed.

ERROR:

  • none
  • Benjamen Linden 
  • 04/23/2003 

 

PASS: 

  • The page is displayed.

FAIL:

  • none 
  • 5.3
  • Tests the VerifyNewGroup() function which takes the names entered by a student user at the make group page, and checks them for a valid group.

OK: 

  • Three – Four names (including that of the user, must be entered in the fields to successfully create a group – and update the group assignment for each of the user.

ERROR:

  • Usernames which are already part of a group should generate an error.
  • Usernames which are not students should generate an error.
  • Usernames which do not exist should generate an error.
  • Usernames which don’t include the user himself should generate an error.
  • Less than 3 selections should not result in a group.
  • Benjamen Linden 
  • 04/23/2003 

 

PASS: 

  • Correct usernames are entered, and a new group is formed.
  • A faculty username is entered, and an error is returned.
  • One of the requested group members is a student username which is already assigned, the error is returned.
  • One of the requested group members is not the user himself, an error is returned.
  • Two valid usernames, one valid username, and no valid usernames are entered in the fields, the team is not formed.

FAIL:

  • none 

Tallies 

Total Number of Test Cases

Total Number of  Test Cases Executed

Total Number of Test Cases that Completely Pass

Total Number of Test Cases with Failures

3

3

3

0