Document Navigator For The Design Index (Testing Document)
Previous Section
(Summary)
This Section
(Book Administration)
Next Section
(Customer Administration)
Previous (View A Book) Modify A Book Next (View Book Copy)

 


Unit Tests                                   

 

Objective                                   
     The following will be checked for correctness:
     
  1. user can enter/modify data from the View Book page,
  2. syntax errors will be checked and displayed by the system, and
  3. ensure that modified book data is saved.

 

Data Used                                   
     
To check 1):
input:
ISBN # : 1234567909
Title : Conan the Librarian
Author : Samuel L. Jackson
Publisher : Macrosoft Books
Subject : fantasy
Book Category : overnight
Media Type : book
Cost : $100.00
Version : 4
Edition : 2

Expected Results - All fields will allow modification of data

To check 2):
All individual field testing will assume that all other fields are syntactically correct.

 

Error Condition(s) Input To Test
Title :
a) empty
b) too long

Expected Results - The error window is displayed stating that the title field is invalid.

 

Author :
a) empty
b) too long

Expected Results - The error window is displayed stating that the author field is invalid.

 

Publisher :
a) empty
b) too long

Expected Results - The error window is displayed stating that the publisher field is invalid.

 

Subject :
a) empty
b) too long

Expected Results - The error window is displayed stating that the subject field is invalid.

 

Book category :
none

 

Media Type :
none

 

Cost :
a) empty
b) alphabetic input 12.b3

Expected Results - The error window is displayed stating that the cost field is invalid.

 

Version : (optional)
a) alphabetic input a.2

Expected Results - The error window is displayed stating that the version field is invalid.

 

Edition : (optional)
a) alphabetic input 3.c

Expected Results - The error window is displayed stating that the edition field is invalid.

To check 3):
input:
ISBN # : 12345678909
Title : Little Dinky Rowboat and Other Constitutional Amendments
Author : Mickey Mouse
Publisher : Flukey Publishing co.
Subject : constitution
Book Category : Overnight
Media Type : Journal
Cost : $0.67
Version : 1
Edition : 78

Expected Results - A "Book Modified" message will be displayed.

 


Integration Test                                   

 

Objective                                   
     The following will be checked for correctness:
     
  1. View Book page can be accessed,
  2. QUIT button returns user to Book Administration page,
  3. MODIFY button allowing user to update/modify book data,
  4. SAVE button allowing user to save and update database, and
  5. Customer and Administration datastores is accessed correctly.

 

Data Used                                   
     
To check 1):
Pressing "VIEW" button after entering a valid ISBN number.

Expected Results - Information regarding to the book will be displayed.

To check 2):
Pressing the QUIT button.

Expected Results - Expected Results - User will be returned to Book Administration page.

To check 3):
Once user enters valid ISBN number and clicks 'VIEW', user will click on 'MODIFY'.

Expected Results - User should be able to then modify book data.

To check 4):
Once book data is modified, user will click on 'SAVE'.

Expected Results - Book database will be updated pertaining to newly modified and updated book information.

To check 5):
System will access the Customer and Administration datastores when information is needed from them.

Expected Results - Information will be accessible from the datastores, to be displayed correctly.

 


Document Navigator For The Design Index (Testing Document)
Previous Section
(Summary)
This Section
(Book Administration)
Next Section
(Customer Administration)
Previous (View A Book) Modify A Book Next (View Book Copy)

Copyright ©1997 VoidWorks Software Inc.

Send mail to the Group Leader or the Webmaster
Pages created and maintained with Mortar