Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Testing
Testing
C.S.P.I.T
90
Department of Information-Technology
PRJ/2013/IT/13
Testing
Overview:
Software testing is a critical element of software quality assurance and represents the
ultimate review of specification, design, and code generation. As the project was fresh and
some technical risks were involved, testing played an important part in the process.
Testing is the process of executing the program(s) with the intention of finding out errors.
During testing, the program to be tested is executed with a set of test cases and the output of
the programs for the test case is evaluated to determine if the program is performing as it is
expected to be.
The success of testing in revealing errors in programs depends critically on the test cases. In
software systems the use of testing is not limited to the testing phase. The result of the testing
is used later on during maintenance also. During testing a test suite has been prepared, which
consists of various test case along with their expected output so that later on if the software is
modified the test case from the test suite can be used to see that modifications does not have
any undesirable effect.
Coding is the art of Construction. Testing is the art of Destruction. An Integral part of
Quality Assurance
C.S.P.I.T
91
Department of Information-Technology
PRJ/2013/IT/13
Testing
Levels of testing
Unit Testing.
Integration Testing.
System Testing.
Acceptance Testing
Clients Needs
Acceptance Testing
Requirements
System Testing
Design
Integration Testing
Code
Unit Testing
C.S.P.I.T
92
Department of Information-Technology
PRJ/2013/IT/13
Testing
Test case Id
Nature of test
Unit Test
Description
Pre conditions
Test action
1. (default Page)
2. Fill up the following table.
Note:
Mandatory Field: Yes/No (Field is required or not)
Max Length to be checked: maximum length to be allowed. (E.g.
15)
Allowed Special characters: list all special characters, which are not
allowed. (Special characters are !, @, #, $, %, ^, &, *, (, ), +, {, }, [,
], \, |, ;, : ,, , ?, >, <, ., , ,/, -, _ etc.)
Email/Web site validation: Email / Web site
Alpha numeric /numeric/ Alphabets field validation: Alpha
numeric/Numeric/Alphabets
Single quote validation: Yes/No
Space validation: L/R/M (L-space not allowed on left side of filed
value, R- space not allowed on right side of field value, M- space not
allowed in between field value)
C.S.P.I.T
93
Department of Information-Technology
PRJ/2013/IT/13
Testing
Post conditions
Assumptions
Sr.
No
1
Result
Task / Activity
Y OK N Error N/A
Remarks
C.S.P.I.T
94
Department of Information-Technology
PRJ/2013/IT/13
Testing
modules.
4
10
C.S.P.I.T
95
Department of Information-Technology
PRJ/2013/IT/13
Testing
This testing strategy is performed by the QC who is not a part of the development team.
System Testing is further divided into three types of testing.
QC does the functional testing of the system. QC tests whether the system satisfies all the
functions as specified in the SFRS, Prototype and the Test Cases.
C.S.P.I.T
96
Department of Information-Technology
PRJ/2013/IT/13
Testing
Master-Login Module:
Sr. No
1.
Test Case
Desired Behavior
Redirect To Page of
Password
System Behavior
Valid
Report
2.
Stay on Master-Login
Password
Valid
User-Name
3.
Stay on Master-Login
Password
Valid
Password
4.
Stay on Master-Login
Password
Valid
Username and
password
Table 7.3 Test Case-1
C.S.P.I.T
97
Department of Information-Technology
PRJ/2013/IT/13
Testing
Sr. No
1.
Test Case
Desired Behavior
Display Registration
System Behavior
Valid
Successful, Record
Stored in Database
2.
or incorrectly filled
Valid
format
Valid
address
4.
Valid
Valid
dont match
6.
Valid
missing fields
7.
filled
Valid
numbers
8.
and conditions
Valid
conditions to proceed
C.S.P.I.T
98
Department of Information-Technology
PRJ/2013/IT/13
Testing
Sr. No
1.
Test Case
Desired Behavior
Redirect to Institute
System Behavior
Valid
username and
password page.
2.
3.
the details
or incorrectly filled
Valid
Valid
format
Valid
address
5.
Valid
Valid
dont match
7.
Valid
missing fields
8.
filled
Valid
Person name.
C.S.P.I.T
99
Department of Information-Technology
PRJ/2013/IT/13
Testing
Sr. No
1.
Test Case
Desired Behavior
Redirect to Doctor
System Behavior
Valid
username and
password page.
2.
3.
filled.
the details
Valid
Valid
Valid
Valid
dont match
C.S.P.I.T
100
Department of Information-Technology