Ans.
(f) Test Plan
In a software development project, errors can be injected at any stage during development. The development of software involves a series of production activities where opportunities for injection of human fallibilities are enormous. Because of human inability to perform and communicate with perfection, software development is accomplished by a quality assurance activity.
Testing is a process which reveals errors in the program. It is the major quality measure employed during software development. During testing, the program is executed with a set of test cases and the output of the program for the test cases is evaluated to determine if the program is performing as it is expected to perform.
Scope
This document describes all the tests taking place for JKC Release 1.0. It covers the design elements specified in the OOD and the detailed modeling elements of the system being tested.
References
User requirements document, Software Requirements specification document. Detailed design document. IMSF
Testing Objective:
- Testing is a process of executing a program with the intent of finding an error.
- A good test case is the one that has a high probability of finding an as-yet undiscovered error.
- A successful test is one that uncovers an as-yet undiscovered error.
In order to make sure that the system does not have errors, the different levels of testing strategies that are applied at different stages of software development are:
- Unit Testing.
- System Testing.
Unit Testing:
Unit testing is done on individual modules as they are completed and become executable. Unit testing treats each component as stand-alone entity which does not need other components during the testing process.
System Testing:
This involves in-house testing of the entire system before delivery to the user. Its aim is to satisfy the user. The system meets all the requirements of the client’s specification.
Results:-
Administrator module:
1. Test case : Login
Input : ID, Password.
Process : Click on the login link. If administrator enters ID and password correct it goes to the admin services otherwise displays the same page with an error message.
Output : Displays the admin services page.
2. Test case : Add new employee
Input : Name, Id, designation, Date of joining.
Process : A new employee can be added into the system and admin can update his details. Output : The employee can be credited salary based upon his details.
3. Test case : Salary details
Input : Id, designation, basic salary, PF, DA, HRA.
Process : The admin can update his salary details
Output : Employee salary details will be updated to the database.
4. Test case : Loan details
Input : Id, Loan number, EMI, Repaid amount, Balance amount.
Process : Administrator can update a particular employee’s loan details.
Output : Employee Loan details will be updated to the database.
5. Test case : Leave details
Input : Id, Type of leave, Number of Leaves.
Process : Administrator updates the leave details.
Output : Employee Leave details will be updated to the database.
6. Test case : Tax details
Input : Id, Basic salary, Tax percentage, income tax.
Process : The tax details of an employee can be updated by the administrator.
Output : Employee Tax details will be updated to the database.
7. Test case : Salary slip
Input : Id, Basic salary, Designation, Net pay.
Process : Based on the leave, loan , tax details the slip will be generated
Output : Salary slip will be generated.
8. Test case : Bank details
Input : Id, Designation, salary
Process : The employee’s salary is credited to bank.
Output : Employee can View and receive the salary.
Employee module:
1. Test case : Login
Input : ID, Password.
Process : Click on the login link. If Employee enters ID and password correct it goes to the other page otherwise displays the same page with an error message.
Output : Displays the Information to be viewed by an employee
2. Test case : Update profile
Input : Id, Name, Designation, Email-id, Mobile number, Address,key skills,qualification
Process : The employee can update his profile if any modifications occur in his details
Output : The details of an employee can be updated
3. Test case : Change password
Input : Id, Old password, New password
Process : Employee can be able to change his password by using this test case
Output : Employee new password will be updated
4. Test case : View earnings
Input : ID, Month, Year.
Process : The earnings can be displayed by this test case
Output : The total earnings of an employee for the specified month and year can be viewed
5. Test case : View deductions
Input : Id, Month, Year
Process : The deductions can be known by using this test case
Output : The total deductions of an employee for the specified month and year can be viewed
6. Test case : View salary slip
Input : Id, Month, Year.
Process : The employee can view the salary slip.
Output : The salary slip of an employee for the specified month and year can be viewed.