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

  • 4.1 
  • Tests the doLabPreferencePage() function which should post a page of radio buttons set to the preferences already saved under the faculty user’s name. 

OK: 

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

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 preferences are set on the radio buttons.
  • The database is queried with an incorrect username, an error is returned.

FAIL:

  • none 
  • 4.2
  • Tests the doSubmit() function which takes the currently selected preferences on the radio buttons, and updates the database with those preferences. 

OK: 

  • The database entries corresponding to the preferences of the user are updated. 

ERROR:

  • In the event that database connection cannot be made, an error should be generated.
  • Benjamen Linden 
  • 04/23/2003 

 

PASS: 

  • The preference fields are updated.

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

2

2

2

0