Professional Documents
Culture Documents
Test Planning and Strategizing: Quality Gates
Test Planning and Strategizing: Quality Gates
Quality Gates
Level- Practitioner
List down the Quality Management Performance activities across SDLC phases.
2
Do You Know
• Are you aware of the purpose of entry and exit criteria, suspension, redemption and acceptance criteria in
each phase?
3
Learning Objectives 1 of 4
List down the Quality Management Performance activities across SDLC activities.
4
What is a Quality Gate?
• Special milestone in a software project, that is located before a phase which is strongly dependent on the outcome
of a previous phase. It is especially useful between phases in which breaches in disciplines must be overcome.
• It demands a set of documents and includes special requirements on these documents, both of which are detailed
in a checklist.
• Decision makers and domain experts are involved in:
o Arriving at project specific checklist
o Taking decision on further proceeding of the project, based on the inputs provided in the checklist.
• The Stage-gate model can also be used to manage multiple projects to identify the most promising projects and
cancel the risky projects. It is not limited to the domain of software development and can be used for any type
5
Project Quality Gate
6
Project Quality Gate-Purpose and Impact
The intention of Q-Gates is to ensure that when we reach significant milestones in the project we check the
Quality of the delivery.
Few of the key factors are:
• Are we on track?
• Is risk managed?
7
Voice of stakeholders
8
Cost of Quality
Cost of Quality
9
Cost of Quality
Architecture
Requirements Development Testing Release
& Design
Quality
Quality Quality Quality Manager Quality
Manager Manager Manager Manager
Test Lead Test Lead Test Lead Test Lead Test Lead
Testers Testers
Cost to fix a bug
“ Designing and embedding Quality check parameters upstream reduces the overall
cost of Quality and also the testing effort expended per cycle”
10
Learning Objectives 2 of 4
List down the Quality Management Performance activities across SDLC phases.
11
Quality Management Performance across SDLC
QG
QG QG
QG QG
QG QG
QG QG
QG QG
QG
Automated Objective and
Requirements Implement Defect Perform Static and
Static Code quantitative measure of
Elicitation Prediction Models Dynamic Analysis
Analysis quality across lifecycle
Test Case
Optimization
12
Learning Objectives 3 of 4
List down the Quality Management Performance activities across SDLC phases.
13
Quality Gates across Test Phases- Test Initiation
Test Initiation Test Planning Test Design Test Execution Test Closure
Entry Criteria Signed off scope and BRD documents are available
• The test manager/test lead should ensure at least the BRD(Business Requirement Document) is
available to draft the high-level test estimates and plan for testing resource requirements.
Key Activities • To commence the test planning phase, it is mandatory to have the scope finalised and signed off.
They have to review and document the impact of the changes to the BRD.
• The testing team should be in place and they should understand the BRD. They should facilitate any
training that may be needed from the business analyst.
• They should have clearly identified and shared the roles and responsibilities for the entire testing
team. The same should be documented in the Test Strategy.
14
Test Initiation Quality Gate Review Checklist
15
Quality Gates across Test Phases-Test Planning
Test Initiation Test Planning Test Design Test Execution Test Closure
• Test Scenarios identified from Business Requirement Document(BRD) and Functional specifications( FS) documents
should be updated in the RTM. Further, based on the volume and complexity of the identified test scenarios, the
test estimates should be revised and reflected in the overall project estimates.
Key Activities • There should be separate environments earmarked for the testing phase
• The environment provision should be done prior to the test design phase to allow the Testing team to collect and create
the test data required during execution
• Test Strategy
Key Deliverables • Test Plan (if applicable)
• Detailed Test Estimates
16
Test Planning Quality Gate Review Checklist
17
Test Planning Quality Gate Review Checklist
18
Test Planning Quality Gate Review Checklist
19
Quality Gates across Test Phases-Test Design
Test Design –
Test Initiation Test Planning Scenario & Test Test Execution Test Closure
Cases
• Signed off Test Strategy, Test Plan (if applicable) and detailed test estimates are available
• Regression suite has been made available (if applicable)
Entry Criteria
• Test environment has been booked and made available
• Manual Test Cases for functional and non-functional testing (if applicable)
Key Deliverables • Automation Test Scripts (if applicable)
• Requirements Traceability Matrix
• Test-scenarios have been identified, prepared, reviewed and signed off by BA and test manager/test
lead
• Test cases are created in a standard template and have been reviewed and signed off
• Regressions suite has been finalized (if applicable)
• Test environments are ready with requisite test data
Exit Criteria
• If automation/performance testing are within scope, test scripts have been prepared, reviewed and
signed off
• Updated version of Requirements traceability matrix
20
Test Design Quality Gate Review Checklist
21
Test Design Quality Gate Review Checklist
22
Test Design Quality Gate Review Checklist
23
Quality Gates across Test Phases-Test Environment
Test environment decides the software and hardware conditions under which a work product is tested. Test environment set-up is one of the
critical aspects of testing process and can be done in parallel with Test Case Development Stage. Test team may not be involved in this activity if
the customer/development team provides it. In that case, they are required to do a readiness check of the given environment.
24
Test Environment Quality Gates Review Checklist
25
Quality Gates across Test Phases-Test Execution
Test Execution –
Test Initiation Test Planning Test Design Test Closure
ST and SIT
• 100% of the planned test scenarios and test cases are successfully executed
• Test cases/scripts that are required for subsequent tests cycles, updated with missing / incorrect steps
Exit Criteria • No severity 1 or severity 2 defects are open
• Requirements traceability matrix updated
26
Quality Gates across Test Phases-Regression
Test Execution -
Test Initiation Test Planning Test Design Test Closure
Regression
• 100% of planned test scenarios and test cases are successfully executed (for automated and manual)
• Requirements traceability matrix updated.
• No severity 1 or severity 2 defects are open
Exit Criteria • 100% of critical and high severity defects have been fixed, tested in development and retested in
regression test environment
• Updated automation scripts have been stored in the repository
• Test summary reports and metrics reports are completed and delivered
27
Test Execution Quality Gate Review checklist
28
Test Execution Quality Gate Review Checklist
29
Test Execution Quality Gate Review Checklist
30
Quality Gates across Test Phases-Test Closure
Test Initiation Test Planning Test Design Test Execution Test Closure
• Test closure report has been prepared, reviewed and signed off
• Lessons learnt during the project have been documented
Exit Criteria • Root cause analysis for all defects has been performed
• Regression test cases and Automation test scripts have been updated (if applicable)
31
Test Closure Quality Gate Review Checklist
32
Test Closure Quality Gate Review Checklist
33
Learning Objectives 4 of 4
List down the Quality Management Performance activities across SDLC phases.
34
Quality Gate - Readiness Review
1) Prepare Quality Gate scorecard along with milestone slip chart by indicating the project phase deliverables is according to project
plan and assures deliverables will be available for review.
2) Conduct meeting and present/ share the status of the project phase.
6) Project quality Manager records result of the review in the scorecard and the deadlines and action owners for open points/tasks.
Sample as given below
2) Acceptance Level 2: Conditionally accepted. Quality improvement to the deliverable is needed. A comment describes the next
steps depending on the estimated impact to the project.
3) Acceptance Level 3: Not available or not accepted. Fulfillment is needed. A comment describes the next steps, depending on
the estimated impact to the project.
35
Quality Gate - Readiness Review
Once the project manager or Project quality Manager record the findings after the review,
• Summarize the minutes, action items and release decision taken for the Quality Gate
• After Quality Gate Review, verify that follow-up actions have been taken place,
36
Case Study
Client Background:
‘My bank’ was a leading bank in the U.S.A. They had a regulatory
QA by Vendor2.
37
Project Background
The QA team defined the below entry criteria for Test Execution phase
Entry criteria :
38
Problem Statement 1
All entry criteria were met for execution phase and the QA team commenced the Test Execution as per the
schedule.
During Smoke testing, they found that the Test environment was not stable for Testing. This activity was
pending from the client side.
39
Solution
Project Manager conducted the quality gate meeting with the client and got into an agreement that:
40
Problem Statement 2
During Test execution, the team found a critical bug which impacted lots
of test cases. They realized that it could have been detected at the unit
testing.
It was later discovered that the development team had not completed
the unit testing as planned and they were still testing that piece of code
which had the critical defect.
41
Lessons Learnt
Testing team did not include “Availability of signed-off unit test results” as one of the entry criteria
for test execution.
Lessons learnt
• Entry and exit criteria need to be clearly documented in test planning and strategizing
document.
• Phase wise Quality Gate review is important which will help to identify the critical factors that
may impact testing.
42
Problem Statement 3
In Test Design Phase, the client SME reviewed and provided the comments on the test scenarios and test
cases delivered by the QA team. But he did not provide the sign off for the same. Due to project pressure,
the team commenced with the Test Execution as planned.
At the end of the execution phase, the client SME assigned a set of new cases to be tested by the team. The
scenarios were totally new and the team had not factored in any effort for testing those scenarios. Hence
they could not accommodate the additional test cases.
The SME insisted to execute those new test cases to verify the stability of the enhancement. The team had to
work additional hours and execute the test cases.
43
Lessons Learnt
Since the client SME has provided the review comments, the testing team assumed that it can be
considered as an approval for the Test Scenarios and cases. This is not correct. The right approach would
be to get an approval from all the involved stakeholders.
Lessons learnt
“Any artifact delivered by the testing team should be approved by stakeholders. Only in such cases, any
major review comment/change from the client at a later stage can be raised a Change request”.
44
Summary
Quality Gate is a Special milestone in a software project which is located before a phase that is strongly dependent on
Project Quality Gate means formal assessment of the quality and integrity of the project deliverables
The intention of Q-Gates is to ensure that when we reach significant milestones in the project we should check the
Cost of quality has two main components- the cost of conformance and the cost of non-conformance.
The cost to fix the error in the maintenance phase is 100 times more expensive than to fix in the design phase
45
Summary (contd..)
A Quality Gate is a collection of completion criteria and sufficiency standards representing satisfactory
Each SDLC phase has certain Entry criteria, Exit Criteria, Key activities and Key Deliverables.
Project quality Manager records result of the review in the scorecard and the deadlines and action owners
After Quality Gate Review, Project Quality Manager ensure and verify whether the follow-up actions have
been taken place and provide scorecard to Phase Acceptance and Closure.
46
Test Your Understanding
1. “Availability of Release notes” is an entry criteria for which of the following phases
a) Test Design
b) Test Execution
c) Test closure
3
Test Your Understanding
2. What will be the appropriate supporting evidence to be specified in a Quality Gate table for the exit
criteria “ All planned test cases have been executed” in Test Execution phase?
a) Defect Logs
b) Test Logs
4
Test Your Understanding
a) a. Q-Gates Dashboard will depict that whether the project is on track or any slippage.
b) b. All projects need to have defined quality gates which needs to be agreed by all
stakeholders
c) c. Early identification of defect increases the cost of quality.
5
Thank You!