You are on page 1of 6

Perform unit testing, integration testing

and system testing for library


management system and online
banking system SE LAB Assignment

By Prathaam Modi
(201800651)/SEC:B

Unit Testing:
Unit Testing is defined as a type of software testing where individual
components of a software are tested.
Unit Testing of software product is carried out during the development of an
application. An individual component may be either an individual function or a
procedure. Unit Testing is typically performed by the developer. It is a testing
method using which every independent modules are tested to determine if
there are any issue by the developer himself.
Integration Testing:
Integration testing is the process of testing the interface between two
software units or modules. Its focus is on determining the correctness of the
interface. The purpose of the integration testing is to expose faults in the
interaction between integrated units. Once all the modules have been unit
tested, integration testing is performed.

System Testing is a level of testing that validates the complete and fully
integrated software product. The purpose of a system test is to evaluate the
end-to-end system specifications. Usually, the software is only one element of a
larger computer-based system.
Test Cases For Library Management
System
• Login form: The test cases involved are whether valid password and
name are entered or invalid name and password entered.
• Book entry form: The test cases included are-on the click of add button,
delete button, update button, search button, clear button, exit button and
next button.
• User account form: The test cases included are-on the click of add
button, delete button, update button, search button, clear button, exit
button and next button.
• Book return form: The test cases included are-on the click of add button,
delete button, update button, search button, clear button, exit button and
next button.

LOGIN FORM:
SL.No Test Case Excepted Result Test
Result
1 Enter valid name and password & Software should display Successful
click on login button main window
2 Enter invalid Software should not display successful
main window
BOOK ENTRY FORM:
SL.No Test Case Excepted Result Test
Result
1 On the click of At first user have to fill all fields with proper successful
ADD button data , if any Error like entering text data
instead of number or entering number
instead of text..is found then it gives proper
message otherwise Adds Record To the
Database
2. On the Click of This deletes the details of book by using Successful
DELETE Button Accession no.
3. On the Click of Modified records are Updated in database by Successful
UPDATE Button clicking UPDATE button.
4. On the Click of Displays the Details of book for entered Successful
SEARCH Button Accession no. Otherwise gives proper Error
message.
5. On the Click of Clears all fields Successful
CLEAR Button
6. On the Click of Exit the current book details form successful
EXIT button
7. On the Click of Display the next form successful
NEXT button
USER ACCOUNT FORM:
SL.No Test Case Excepted Result Test
Result
1 On the click of At first user have to fill all fields with proper successful
ADD button data , if any Error like entering text data
instead of number or entering number
instead of text..is found then it gives proper
message otherwise Adds Record To the
Database
2. On the Click of This deletes the details of student by using Successful
DELETE Button Register no.
3. On the Click of Modified records are Updated in database by Successful
UPDATE Button clicking UPDATE button.
4. On the Click of Displays the Details of book for entered Successful
SEARCH Button Register no. Otherwise gives proper Error
message.
5. On the Click of Clears all fields Successful
CLEAR Button
6. On the Click of Exit the current book details form successful
EXIT button
7. On the Click of Display the next form successful
NEXT button

BOOK ISSUE FORM:


SL.No Test Case Excepted Result Test
Result
1 On the click of ADD At first user have to fill all fields with proper successful
button data ,if the accession number book is
already issued then it will giving proper
msg.
2. On the Click of This deletes the details of book by using Successful
DELETE Button Register no.
3. On the Click of Modified records are Updated in database Successful
UPDATE Button by clicking UPDATE button.
4. On the Click of Displays the Details of issued Successful
SEARCH Button book..Otherwise gives proper Error
message.
5. On the Click of Clears all fields Successful
CLEAR Button
6. On the Click of EXIT Exit the current book details form successful
button
7. On the Click of Display the next form successful
NEXT button
BOOK RETURN FORM:
SL.No Test Case Excepted Result Test
Result
1 On the click of At first user have to fill all fields with proper successful
ADD button data , if any Error like entering text data
instead of number or entering number
instead of text..is found then it gives proper
message otherwise Adds Record To the
Database
2. On the Click of Which deletes the details of book by using Successful
DELETE Button Register no.
3. On the Click of Modified records are Updated in database by Successful
UPDATE Button clicking UPDATE button.
4. On the Click of Displays the Details of returned book … Successful
SEARCH Button Otherwise gives proper Error message.
5. On the Click of Clears all fields Successful
CLEAR Button
6. On the Click of Exit the current book details form successful
EXIT button
7. On the Click of Display the next form successful
NEXT button
Sample Test Case for Net Banking
Login Application
Security is prime for any banking application. Therefore, during test
preparation, QA team should include both negative and positive test scenarios
in order to sneak into the system and report for any vulnerabilities before any
unauthorized individual get access to it. It not only involves writing negative test
cases but may also include destructive testing.

Following are generic test cases to check any banking application

Sample test cases

For Admin • Verify Admin login with valid and Invalid data
• Verify admin login without data
• Verify all admin home links
• Verify admin change password with valid and invalid data
• Verify admin change password without data
• Verify admin change password with existing data
• Verify admin logout

For new Branch • Create a new branch with valid and invalid data
• Create a new branch without data
• Create a new branch with existing branch data
• Verify reset and cancel option
• Update branch with valid and invalid data
• Update branch without data
• Update branch with existing branch data
• Verify cancel option
• Verify branch deletion with and without dependencies
• Verify branch search option

For New Role • Create a new role with valid and invalid data
• Create a new role without data
• Verify new role with existing data
• verify role description and role types
• Verify cancel and reset option
• Verify role deletion with and without dependency
• verify links in role details page
For customer & Visitors • Verify all visitor or customer links
• Verify customers login with valid and invalid data
• Verify customers login without data
• Verify banker's login without data
• Verify banker's login with valid or invalid data

For New users • Create a new user with valid and invalid data
• Create a new user without data
• Create a new user with existing branch data
• Verify cancel and reset option
• Update user with valid and invalid data
• Update user with existing data
• Verify cancel option
• Verify deletion of the user

You might also like