Professional Documents
Culture Documents
Testing Process
Q&PG
Date: 6th January 2010
Version: 8.3
Restricted for company use only. © Copyright HTS 2010. | HSBC INTERNAL DOCUMENT
Testing Process | Version: 8.3
Revision History
Version Date Author Reasons for Change Section(s) Affected
0.1 24 Dec 02 SEPG New process introduced as All
standard process for coding in
IDC
0.2 08 Apr 03 SEPG Process reviewed and All
reworked
0.3 15 May 03 SEPG Changed the measurements 3.2.5
section and elaborated on the
analysis of defects
0.4 01 Aug 03 SEPG Revised the process to make 3.1.1
Independent Unit Testing a
mandatory step in testing
0.5 12 Aug 03 SEPG Changed the reference of 3.3
Testing Review Checklist to
Review Checklist
0.6 17 Sep 03 SEPG Changed the reference to 3.2.4
SDP_QP_CMP to Project Plan
to reflect the change in the
name of the document
0.7 24 Sep 03 SEPG Changed workplace references 3.1.1
to reflect change in the name of
documents like Peer review
report
0.8 08 Oct 03 SEPG Removed the reference of 6.0
PPCR from Workplace
Reference since it is not being
referred to in the process
1.0 12 Jan 04 SEPG Completely revised the testing All
process to simplify it and make
it more relevant to projects that
are being executed in IDC
1.1 27 Feb 04 SEPG Baselined the process, All
replaced IDC with GLT and
changed the formatting of the
document
1.2 13 Sep 04 SEPG Process revised, included All
section on UAT
2.0 16 Sep 04 SEPG Baselined after PCCB approval All
2.1 06 Jun 05 SEPG Process revised to provide 4.0
clarity in the manner in which
testing will be carried out and
results recorded.
3.0 08 Jun 05 SEPG Baselined after PCCB approval All
3.1 07 Oct 05 SEPG Revised the process to include 3.1, 4.0
Quality Center as a defect
management tool
4.0 19 Oct 05 SEPG Baselined after PCCB approval All
Table of Contents
1.1 Purpose
To ensure that the software developed/tested at the GLT meets user requirements in
terms of functionality, performance, usability, security etc.
To detect, report and eliminate maximum number of defects before delivering the
software to the client.
1.2 Applicability
This process is applicable for all Product Engineering projects where GLT is involved in the
Testing Phase and for Testing Projects.
For details on the Testing Process Applicability please refer to Process Applicability matrix.
For details on the Testing Process tailoring, refer Process Tailoring Guidelines.
2.0 Process
The following sections describe the testing process in detail.
Testing Process
Start
Requirements
Specification, Use
Case, EDR, Query log,
Requirement Customer supplied
document documents, Change
Tracking Sheet
Yes
Review
comments?
Test Activity
Prepare and review Test Completion Certificate,
Activity Completion Test Activity
Certificate completion review
records
Role Responsibilities
Project Overall Testing activity planning, monitoring, tracking, controlling and status
Management reporting
Team
Determine the testing strategies that will be used in the project
Testing Team Ensure that the test plan_test strategy and test cases are designed,
documented and are reviewed to ensure sufficient coverage and
completeness
Ensure that the software is tested as per the plan and test reports are
documented
Ensure that all the defects found in testing are logged in the Quality
Center/Client Recommended Tool, analysed and tracked to closure
Take corrective actions based on the defect analysis results
Q&PG Collect defect data from projects at the closure of phase/project and
analyse it for inclusion in organizational software baselines
Based on the project scope, different testing strategies will be taken into consideration and
testing activities will be planned accordingly. If the project scope involves other testing phases,
other than Unit testing, separate Test plan_Test Strategy should be created.
Test cases should be reviewed and review comments to be maintained where test case
preparation is in the scope. Traceability should be maintained.
Production data received from customer for conducting testing should be changed / masked in
such a fashion that the sensitive customer info. Such as actual name, address, Social Security
Number, transaction details is not shared with the testing team. if not done should be raised as
issue/risk.
Depending on the project scope, PM/APM shall decide if Integration testing will be done in the
project.
Integration testing shall be done after unit testing to ensure that the panels/screens when
linked together give the expected output.
Integration Test Cases shall be prepared as per the Test Case template.
Integration Test cases shall cover all possible navigation and interfaces between the
panels/screens that are related by some functionality.
For all projects that involve System Testing, Test plan_Test Strategy document will be
prepared, which will include scope, responsibilities, schedule, deliverables, test coverage,
entry and exit criteria for testing and test cases. The Test plan_Test Strategy will include
details for following types of system testing as applicable to the project:
Functionality Testing
Recovery Testing
Security Testing
Stress Testing
Performance Testing
The Test Cases documents for different types of system testing applicable to the project will be
prepared. Test Cases are updated in QC
For projects that involve User Acceptance Testing carried out at the GLT, a UAT plan will be
prepared, including the scope, objectives, responsibilities, schedules, deliverables, test
coverage, entry and exit criteria for testing, test cases etc. UAT plan shall be documented in
Test Plan_Test Strategy Document.
The following kinds of testing may be considered:
Functionality Testing
Security Testing
Performance/Stress Testing
Recovery Testing
For projects where the UAT is to be carried out at a remote location by client/business users,
the GLT will provide requisite support based on the scope of the engagement.
Overview of the test environment required for the various stages of testing will be documented
in the Test Plan_Test Strategy
Input Complete Tested and defect free code ready for the delivery to
customer
Output Signed off mail from customer
Project team shall prepare the Test completion report using Test Activity Completion Certificate
and Test summary report as mentioned in the Test plan_Test Strategy.
Test Activity Completion Certificate to be reviewed internally before sending it to the customer for
the Sign off.
Sign off taken from the customer will be considered as test completion.
Following steps will be followed while fixing the defects found in different types and cycles of
system testing:
The Pass/Fail status will be recorded.
The tester will log all the failed test cases as defects in the Quality Center/client recommended
tool. While logging, detailed information like action for simulation, defect summary and defect
description will be recorded.
The TL or defect analyzer in the project will analyze these defects and assign them to team
members. The analyzer will also identify the root cause, severity and phase of origin of the
defect.
The analyzer may reject the defect if it cannot be simulated or is not a valid defect.
In case of valid defects, the team members will identify the changes required in different
software component in order to fix the defect.
All the components that need to change will be checked-out from the project’s repository.
Changes will be made in the components and these changes will be reviewed.
The analyzer verifies that the defect is fixed and releases it to the initiator. The initiator executes
the test case again and on successful execution, closes the defect. In case the defect is not
fixed, the defect is re-assigned to the fixer.
The changed components will be checked-in to the repository.
The defect status will be changed to ‘Released’.
The updated components will be released.
Any defects found during testing will be tracked to closure using the Quality Center/client
recommended tool. These should include the defects found during Integration Testing, System
Testing, User Acceptance Testing, Volume Testing, Performance Testing, Stress Testing and
any other defects reported by customer or found internally after the delivery of the software.
Root Causes and Origin Phase for the defects recorded will be identified and root cause
analysis of the defects will be done at the end of each phase/tranche/iteration/project.
The defect data will be reported on a monthly basis in the Project Status Report of the project.
Q&PG will use data for various projects from the Quality Center/the client recommended tool for
forming/revising the organizational baselines for Defect Density and Defect Leakage. Defect
Removal Efficiency is also an important indicator of test effectiveness.
Process Consultants will help the PM/APM to decide on taking any corrective action on the
project’s defect data.
Review the artefacts ( Technical Specification, Test plan_Test Strategy, Test Cases) to ensure
The Test Cases meets the requirements.
Identification of Testing related constraints and risks associated with it.
Verify the traceability of the Test cases with requirement
that Testing guidelines and best practices are followed wherever applicable.
that the functional and technical requirements are satisfied.
Testing Process Review Checklist shall be referred for conducting the Testing review.
Record all findings in QC or Review Report as internal review defects with defect classification,
responsibilities, target closure date etc as applicable.
If required provide additional information on the defects.
Conduct verification of findings closure and mark the findings as closed in QC or Review
Report.
Post release, record all defects raised by customer as external review defects.
All Configurable items (Requirement specs, Peer Review Reports, Test plan_Test Strategys,
Test cases) shall be passed on to the Software Configuration Manager (SCM) after closure of all
review defects.
Baseline the document by creating or incrementing the version of the document and ensure that
the revision history of the artefact is updated.
Check-in the artefact in the configuration management tool.
Test plan_Test Strategy and Test Cases will be maintained as configuration items. Any changes
to these documents will be controlled as per the change and version management process
defined for the project.
If any new test cases are identified while executing the tests, the Test Cases document will be
revised to add or modify the test cases.
While making changes in requirements, design and code, the respective test cases will also be
revised. Traceability Matrix document will be updated to ensure correct mapping between
revised requirements, design, code and test cases..
Conduct periodic baseline audit and maintain record of the baseline audit report in DOMDOC.
Following exit criteria should be met for the closure of Testing phase,
1. All the test cases have been executed as per the Test Plan
2. All testing related defects are closed.
3. Necessary sign-offs are obtained and sign-off mails are archived.
End of
Testing
phase
4 Defect Detection To ascertain that adequate time is QC, PSR Periodic
Ratio spent in Testing activity to ensure review during
all defects are identified during the Testing
testing. schedule.
End of
Testing
Phase
5 Defect Rejection To validate the rejection rate and QC, PSR Periodic
Ratio to analyze the root causes for review during
rejection for checking any gap in the Testing
testing activity schedule.