Documente Academic
Documente Profesional
Documente Cultură
Concepts
BY
üWhat is Quality
üWhy Quality
üQuality Assurance
It is a planned and systematic set of
activities necessary to provide adequate
confidence that products and services
will confirm to specified requirements and
meet user needs.
Quality Principles
ü Quality Control
üSoftware Project
Plan
Do /
Action Execute
Check
SDLC
Requirement Analysis
Design
It is the phase of the life cycle Here the view of the application
when a logical view of the computer developed during the high-level
implementation of the solution to design is broken down into
the customer requirements is modules and programs. Logic
developed. design is done for every program
It contains 2 major components: and then documented as program
The functional architecture of the specifications.
Application and the database design.
Unit Test Cases are prepared
Preparation of Test Plan is done. based on these documents.
Design
Coding
ü What is Defect
üDefect Categories
#Wrong
#Extra
#Missing
Testing Policy
It is a management’s definition
of testing a department.
Quality Policy
In bottom up integration
A
testing,all the modules are
added or combined from lower
Level hierarchy to higher level B C D
hierarchy i.e. the lower model
is tested in isolation first, then E
the next set of higher level
modules are tested with the
E E
previously tested lower
Modules.
Big Bang
Module 1 Module 2
System
Module 3 Module 4
vBlackBox
vWhite Box
Black Box Testing
• Equivalence Partitioning,
• Boundary Analysis
• Error guessing
Equivalence Partitioning
There are two –ve tests, represented by the two ‘invalid’ equivalent
sets:-
percentage < 0
percentage > 15
Equivalence Partitioning
White Box testing examines the basic program structure and it derives the test
data from the program logic; ensuring that all statements and conditions have
been executed at least once.
White box tests verify that the software design is valid and also whether it was
built according to the specified design.
Example:
The three input parameters are age (integer), sex (male or female), and
married (true or false). Keeping in mind a logic coverage methods for the
liability (insurance) procedure follows. The following notation is used in each table
Shown below.
The first column of each row denotes the specific “IF” statement from the exercise
program. Fox example, “IF-2” means the second IF statement in the sample
Program.
IF - 2 * Female * (2)
IF - 3 <= 45 * * (1)
IF - 3 > 45 * * (3) 70 F F
IF - 3 < 65 * * (2)
IF - 3 >= 65 * * (3)
Multi. Cond. cover Age Sex Married Test case
IF - 1 < 25 Male True (1) 23 M T
IF - 1 < 25 Male False (2) 23 M F
IF - 1 < 25 Female True (3) 23 F T
IF - 1 < 25 Female False (4) 23 F F
IF - 1 >=25 Male True (5) 30 M T
IF - 1 >= 25 Male False (6) 70 M F
IF - 1 >= 25 Female True (7) 50 F T
IF - 1 >= 25 Female False (8) 30 F F
IF - 2 * Male True (5)
IF - 2 * Male False (6)
IF - 2 * Female True (7)
IF - 2 * Female False (8)
IF - 3 <=45,>= 65 * * Impossible
IF - 3 <=45,>= 65 * * (8)
IF - 3 >45,>=65 * * (6)
IF - 3 >45,< 65 * * (7)
Life Cycle Testing
Functional
Specification Integration Test
5. Test data
defined and
ready.
Test Level Criteria
Test Entry Expected result
Objective Test Types
Level Criteria
Integrat To test the 1. Conversion 1. Prg Spec 1. Integration test
interface reviewed and conditions 100%
-ion 2. Error-handling
available. executed.
between
Test program 3. Function
2. File/DB 2. Test results
modules.
4. Regression Design documented.
reviewed and
3. No severity Fatal
available.
and High problem
3. Unit test
outstanding.
executed for
the related Outstanding severity
program medium and low
modules. problems
4.Integration documented.
test cases
reviewed and
ready.
5. Test data
defined and
ready.
Test Level Criteria’s
Test Entry Expected result
Objective Test Types
Level Criteria
System To test the 1. Conversion. 1. Technical 1. System test
Test functional Spec reviewed cases 100%
2. Error-
behaviour in and available. executed.
handling.
application
level, 3. Function 2. Functional 2. No severity Fatal
interfaces to Spec reviewed or high problem
4. Interface. and available. outstanding.
other
applications, 5. Transaction 3. Integration
exit criteria 3. Test results
technical flow. documented.
aspects of met.
system. 4. System test 4. Outstanding
cases severity Medium
reviewed and and low problems
ready. documented and a
5. Test plan is in place for
environment fixing.
ready.
Testing Process
Define
Test Plan
Test Cases
Identify Area
for Automation
Create Test
Track Data
Defects
Analyse Execute
results Tests
Test Plan
It consists of steps that define the overall process for conducting the tests.
Table of contents of a test plan Might contain the following.
Communication
Test Scope Test Design
approach
Roles &
Test Objective Test Tools
Responsibilities
Test
Risk Analysis
Environment
Test Scope
Example:
Testing for this system should concentrate
on validating that the requirements based on the
test cases document.
Test Assumptions
Example:
The support team will be available
throughout the testing period in solving
technical and functional Issues. Test team will
inform 1 day in Advance if the support of
development team is required during the
weekends.
Test Design
Example:
1. Non-availability of testing resource.
2. Delay in environment readiness.
3. Any major change request raised during testing which
calls for a testing.
4. Hardware issues.
5. Poor system performance.
Roles & Responsibilities
Example:
Unit testing may be conducted in the
development
environment. While separate environments may
be needed for Integration and system testing.
Communication Approach
Severity
Open Closed
Net salary
2 Pay slip DDC Leave Entry
computation
Note: Only valid entries are entered to check the DDC and DTC
Scenario Testing Writing Techniques
Note: Only valid entries are entered to check the DDC and DTC
Example
Performance Testing
Stress Load
Stress
The best way to capture the nature of Web site load is to identify and track, [e.g. using
a log analyzer] a set of key user session variables that are applicable and relevant to
your Web site traffic.
Some of the variables that could be tracked include:
•The length of the session (measured in pages)
•The duration of the session (measured in minutes and seconds)
•The type of pages that were visited during the session (e.g., home page, product
information page, credit card information page etc.)
•The typical/most popular ‘flow’ or path through the website
•The % of ‘browse’ vs. ‘purchase’ sessions
•The % type of users (new user vs. returning registered user)
•Measure how many people visit the site per week/month or day. Then break down
these current traffic patterns into one-hour time slices, and identify the peak-hours
(i.e. if the user get lots of traffic during lunch time etc.), and the numbers of users
during those peak hours. This information can then be used to estimate the number
of concurrent users on the site.
Load
Beta Testing:
The beta testing is conducted at one or more customer sites by the end
user(s) of the software. The developer will not be present in the customer’s
place. So, the beta test is a “live” application of the software in an
environment that cannot be controlled by a developer. The customer records
all the problems (real or apparent) that are encountered during the beta
testing and reports to the developer at regular interval. As a result of
problems reported during beta test, the software developer makes the
modifications and then prepares for release of the software product to the
entire customer base.
Mapping:
Tester at this point will have both the database and front-end screen shots.
carefully data base should be mapped by understanding the entries made
In front end (input) and values displayed in front end(output). The purpose
of each field, screens and functionality should also be understood. The
tester should arrive at clarity on the input and output of the application.
In these cases, tester should use his discretion to decide the validations
required at field, module and application level depending on the
application purpose.
Once these are done then the test team can start building test conditions
for the application and from then on proceed with the normal test
preparation style.
Test Execution Process:
The preparation to test the application is now over. The test team should
next plan the execution of the test on the application.
Tests on the application are done on stages. The test execution takes
place in three passes or sometimes four passes on the state of the
application. They are:
Pass 0 :
This is done to check the health of the system before the start of the test
process. This stage may not be applicable to most test process. Free form
Testing will be adopted in this stage.
Pass 1 or Comprehensive :
All the test scripts developed for testing are executed. Some cases the
application may not have certain module(s) ready for test, hence they
will be covered comprehensively in the next pass. The testing here
should not only cover all test cases but also business cycles as defined
in the application.
Discrepancy or Pass 2:
All test scripts that have resulted in a defect during the comprehensive
pass should executed. In other words, all defects that have been fixed
should be retested. Function points that may be affected by the defect
should also be taken up for testing. Automated test scripts captured
During the pass one are used here. This type of testing is called as
Regression testing. Defects that are not fixed will be executed only after
they are fixed.
Sanity or Pass 3 :
This is the final round in the test process. This is done either at the client’s
site or at Take depending on the strategy adopted. This is done in order
to check if the system is sane enough for the next stage I.e. UAT or
production as the case may be under a isolated environment. Ideally the
defects that are fixed from the previous pass are checked and free from
testing done to ensure integrity is conducted.
Testing Process
Reviews Pass #3
Dependency on Customer/
End User.
Fatal
Inadequate Tools
High
Lack of Standards
Lack of Training
Low
Oversight
White Paper Contest On Testing
Concepts
BY