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

 


Unit Tests                                   

 

Objective                                   
     The following will be checked for correctness:
     
  1. user can enter the data into the Add Book Copy page,
  2. syntax errors will be checked and displayed by the system,
  3. ensure that the book exists in the database, and
  4. ensure that book copy is actually entered into the database.

 

Data Used                                   
     
To check 1):
input:
ISBN #: 1234567908
Location : Main Branch
Floor : 3
Circulation status : each of {available, on loan, overdue, on hold, out of circulation}

Expected Results - All fields will allow entry of data.

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

 

Error Condition(s) Input To Test
ISBN # :
a) empty
b) too short 123456789
c) alphabetic input 123a456789

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

 

Location :
none

 

Floor :
a) empty
b) alphabetic input g7

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

 

Circulation Status :
none

To check 3):
input:
ISBN # : 9999999999

Expected Results - The error window will be displayed stating that the book with that ISBN number does not exist in the database and a request will be made as to whether the user wishes to add the book to the database.

To check 4):
Assuming that the book with ISBN number 1234567908 exists in the database due to and ADD BOOK being performed.

input:
ISBN # : 1234567908
Location : Main Branch
Floor : 6
Circulation Status : available

Expected Results - A "Book Copy Added" message will be displayed and the book copy will be added to the database.

 


Integration Tests                                   

 

Objective                                   
     The following will be checked for correctness:
     
  1. add Book Copy page can be accessed,
  2. user can access "Add Book" page if ISBN number does not exist,
  3. the book information page can be accessed,
  4. QUIT button returns user to Add Book Copy page, and
  5. CANCEL button returns user to Book Administration page.

 

Data Used                                   
     
To check 1):
Pressing "Add Book Copy" button on Book Administration page.

Expected Results - Add Book Copy page will be displayed.

To check 2):
Pressing the YES button at the window that states that the ISBN number does not correspond to a book in the database.

Expected Results - Add Book Page will be displayed.

To check 3):
Pressing the OK button on the Add Book Copy page with a correct ISBN number.

Expected Results - window with book data corresponding the ISBN number will be displayed.

To check 4):
Pressing the QUIT button on page with book data.

Expected Results - User will be returned to Add Book Copy page.

To check 5):
Pressing the CANCEL button on the Add Book Copy page.

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

 


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

Copyright ©1997 VoidWorks Software Inc.

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