Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 13

TEST CASES FOR

LIBRARY
MANAGEMENT
SYSTEM
Roll .no
186(046150)
Fifth semester (morning)
TEST CASES IN LIBRARY
MANAGEMENT SYSTEM
 The test cases for library management
system is an application that explains
the test cases for library management
system.
TEST CASE FOR ADDING A BOOK
Test Case ID TC001
Test Case Description Verify if user can add a new book
to the library
Expected Result New book should be added to the
library with all details including
title, author, ISBN, and available
quantity
Actual Result The book is successfully added to
the library with all the details

Pass/Fail Pass
TEST CASE FOR SEARCH A BOOK
Test Case ID TC002

Test Case Description Verify if user can search for a


book by title or author
Expected Result The system should display all the
books that match the search
criteria
Actual Result The system displays all the books
that match the search criteria
Pass/Fail Pass
TEST CASE FOR BARROWING A
BOOK

TC003

Test
Case ID
Test Case Description Verify if user can borrow a book
from the library
Expected Result The system should update the
book quantity and borrower
details
Actual Result The book quantity should
decrease by 1 and the borrower
details should be updated
Pass/Fail Pass
TEST CASE TO RETURN A BOOK
Test Case ID C004
Test Case Description Verify if user can return a book
to the library
Expected Result The system should update the
book quantity and borrower
details
Actual Result The book quantity should
increase by 1 and the borrower
details should be removed
Pass/Fail Pass
TEST CASE FOR RENEW A BOOK
LOAN
Test Case ID TC005

Test Case Description Verify if user can renew a book


loan
Expected Result The system should extend the
due date for the book loan
Actual Result The due date should be
extended for the book loan
Pass/Fail Pass
TEST CASE FOR VERIFICATION
OF USER DATA ACCESSABILITY
Test Case ID TC006
Test Case Description Verify if user can view
their borrowing history
Expected Result The system should display all the
books borrowed by the user
along with the borrowing and
returning dates
Actual Result The system displays all the books
borrowed by the user along with
the borrowing and returning
dates
Pass/Fail Pass
TEST CASE FOR PAYING
LIBRARY FINES
Test Case ID TC007
Test Case Description Verify if user can pay their
library fines
Expected Result The system should update the
user's account balance
Actual Result The user's account balance
should be updated
Pass/Fail Pass
TEST CASE TO VERIFY TO USER TO
SEE OPERATING HOURS OF LIBRARY
Test Case ID TC008
Test Case Description Verify if user can view the
library's operating hours
Expected Result The system should display the
library's operating hours
Actual Result The system displays the library's
operating hours
Pass/Fail Pass
TEST CASE TO VERIFY ACCEBILITY LF
USER TO RESERVE UNAVAILABLE BOOK
Test Case ID TC009
Test Case Description Verify if user can reserve a book
that is currently unavailable
Expected Result The system should add the user
to the reservation list for the
book
Actual Result The user should be added to the
reservation list for the book
Pass/Fail Pass
TEST CASE TO REMOVE A USER
FROM RESERVATION PART
Test Case ID TC010

Test Case Description Verify if user can cancel a book


reservation
Expected Result The system should remove the
user from the reservation list for
the book
Actual Result The user should be removed
from the reservation list for the
book
Pass/Fail Pass
THE END OF TEST CASES

You might also like