0% found this document useful (0 votes)
127 views

What Is Software Testing Life Cycle

This document discusses the software testing life cycle (STLC) which consists of 8 phases: requirements, planning, analysis, design, implementation, execution, conclusion, and closure. It describes the key activities and deliverables for each phase. The requirements phase involves analyzing requirements to determine testability. Planning defines the testing scope, strategy, and resources. Analysis identifies detailed test conditions. Design creates test cases and traces them to requirements. Implementation develops and reviews test cases. Execution runs the test cases and logs defects. Conclusion focuses on reporting and exit criteria. Closure verifies all tests completed and documents lessons learned. The STLC aims to systematically test software quality throughout the development process.

Uploaded by

Neli Yordanova
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
127 views

What Is Software Testing Life Cycle

This document discusses the software testing life cycle (STLC) which consists of 8 phases: requirements, planning, analysis, design, implementation, execution, conclusion, and closure. It describes the key activities and deliverables for each phase. The requirements phase involves analyzing requirements to determine testability. Planning defines the testing scope, strategy, and resources. Analysis identifies detailed test conditions. Design creates test cases and traces them to requirements. Implementation develops and reviews test cases. Execution runs the test cases and logs defects. Conclusion focuses on reporting and exit criteria. Closure verifies all tests completed and documents lessons learned. The STLC aims to systematically test software quality throughout the development process.

Uploaded by

Neli Yordanova
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

1

What Is Software Testing Life Cycle (STLC)?


Software Testing:
In this tutorial, we discuss the Evolution of Software Testing, Software Testing Life
Cycle and the various phases involved in STLC.

8 Phases of Software Testing Life Cycle (STLC)


Evolution:
1960’s Trend:

1990’s Trend

2000’s Trend:
2

The trend and competency of testing are changing. Testers are now required to be more
technical and process oriented. Testing now is not only limited just to find bugs but has a
wider scope and is required right from the beginning of the project when the
requirements are not even finalized.

Since testing is also standardized. Just like the development of software has a lifecycle,
Testing too has a lifecycle. In the subsequent sections, I will be discussing what a life
cycle is and how that is related to software testing and will try to elaborate it.

Let us start!

What is Lifecycle?
Lifecycle in the simple term refers to the sequence of changes from one form to other
forms. These changes can happen to any tangible or intangible things. Every entity has a
lifecycle from its inception to retire / demise.

In a similar fashion, Software is also an entity. Just like developing software involves a
sequence of steps, testing also has steps which should be executed in a definite
sequence.

This phenomenon of executing the testing activities in a systematic and planned way is
called testing life cycle.

What Is Software Testing Life Cycle (STLC)


Software Testing Life Cycle refers to a testing process which has specific steps to be
executed in a definite sequence to ensure that the quality goals have been met. In the
STLC process, each activity is carried out in a planned and systematic way. Each phase
has different goals and deliverables. Different organizations have different phases in
STLC; however, the basis remains the same.

Below are the phases of STLC:


3

1. Requirements phase
2. Planning Phase
3. Analysis phase
4. Design Phase
5. Implementation Phase
6. Execution Phase
7. Conclusion Phase
8. Closure Phase
#1. Requirement Phase:
During this phase of STLC, analyze and study the requirements. Have brainstorming
sessions with other teams and try to find out whether the requirements are testable or
not. This phase helps to identify the scope of the testing. If any feature is not testable,
communicate it during this phase so that the mitigation strategy can be planned.

#2. Planning Phase:
In practical scenarios, Test planning is the first step of the testing process. In this phase,
we identify the activities and resources which would help to meet the testing objectives.
During planning we also try to identify the metrics, the method of gathering and tracking
those metrics.

On what basis the planning is done? Only requirements?

The answer is NO. Requirements do form one of the bases but there are 2 other very
important factors which influence test planning. These are:

– Test strategy of the organization.


– Risk analysis / Risk Management and mitigation.

#3. Analysis Phase:


This STLC phase defines “WHAT” to be tested. We basically identify the test conditions
through the requirements document, product risks, and other test bases. The test
condition should be traceable back to the requirement.

There are various factors which affect the identification of test conditions:
– Levels and depth of testing
– The complexity of the product
– Product and project risks
– Software development life cycle involved.
– Test management
– Skills and knowledge of the team.
– Availability of the stakeholders.

We should try to write down the test conditions in a detailed way. For example, for an e-
commerce web application, you can have a test condition as “User should be able to
make a payment”. Or you can detail it out by saying “User should be able to make
payment through NEFT, debit card, and credit card”.

The most important advantage of writing the detailed test condition is that it increases the
test coverage since the test cases will be written on the basis of the test condition, these
4

details will trigger to write more detailed test cases which will eventually increase the
coverage.

Also, identify the exit criteria of the testing, i.e determine some conditions when you will
stop the testing.

#4. Design Phase:


This phase defines “HOW” to test. This phase involves the following tasks:

– Detail the test condition. Break down the test conditions into multiple sub-conditions to
increase coverage.
– Identify and get the test data
– Identify and set up the test environment.
– Create the requirement traceability metrics
– Create test coverage metrics.

#5. Implementation Phase:


The major task in this STLC phase is of creation of the detailed test cases. Prioritize the
test cases also identify which test case will become part of the regression suite. Before
finalizing the test case, It is important to carry out the review to ensure the correctness of
the test cases. Also, don’t forget to take the sign off of the test cases before actual
execution starts.

If your project involves automation, identify the candidate test cases for automation and
proceed for scripting the test cases. Don’t forget to review them!

#6. Execution Phase:
As the name suggests, this is the Software Testing Life Cycle phase where the actual
execution takes place. But before you start your execution, make sure that your entry
criterion is met. Execute the test cases, log defects in case of any discrepancy.
Simultaneously fill your traceability metrics to track your progress.

#7. Conclusion Phase:
This STLC phase concentrates on the exit criteria and reporting. Depending on your
project and stakeholders choice, you can decide on reporting whether you want to send
out a daily report of the weekly report, etc.

There are different types of reports ( DSR – Daily status report, WSR – Weekly status
reports) which you can send, but the important point is, the content of the report changes
and depends upon whom you are sending your reports.

If Project managers belong to testing background then they are more interested in the
technical aspect of the project, so include the technical things in your report ( number of
test cases passed, failed, defects raised, severity 1 defects, etc.).

But if you are reporting to upper stakeholders, they might not be interested in the
technical things so report them about the risks that have been mitigated through the
testing.
5

#8. Closure Phase:

Tasks for the closure activities include the following:

– Check for the completion of the test. Whether all the test cases are executed or
mitigated deliberately. Check there is no severity 1 defects opened.
– Do lessons learned meeting and create lessons learned document. ( Include what went
well, where are the scope of improvements and what can be improved)

Conclusion
Let’s try to summarize the Software Testing Life Cycle (STLC) it now!

S.N
Phase Name Entry Criteria Activities Performed Deliverables
o

1 Requirements Requirements Do brainstorming of the requirements. RUD ( Requi


specification Create a list of requirements and get your understanding
document doubts clarified.
Testing feasib
Application design Understand the feasibility of the
document requirements whether it is testable or not. Automation f
report.
User acceptance If your project requires automation, do
criteria document the automation feasibility study.

2 Planning Updated Define the scope of the project Test Plan doc
requirements
document. Do the risk analysis and prepare the risk Risk mitigatio
mitigation plan. document.
Test feasibility
reports “ Perform test estimation. Test estimatio
document.
Automation Determine the overall testing strategy and
feasibility report. process.

Identify the tools and resources and


check for any training needs.

Identify the environment.

3 Analysis Updated Identify the detailed test conditions Test condition


requirements document.
document

Test Plan document

Risk Document

Test estimation
6

S.N
Phase Name Entry Criteria Activities Performed Deliverables
o

document

4 Design Updated Detail out the test condition. Detailed test


requirements document
document Identify the test data
Requirement
Test conditions Create the traceability metrics metrics
document
Test coverage

5 Implementatio Detailed test Create and review the test cases. Test cases
n condition document
Create and review the automation scripts. Test scripts

Identify the candidate test cases for Test data


regression and automation.

Identify / create the test data

Take sign off of the test cases and scripts.

6 Execution Test cases Execute the test cases Test executio

Test scripts Log bugs / defects in case of discrepancy Defect report

Report the status Test log and D

Updated requ
traceability m

7 Conclusion Updated test cases Provide the accurate figures and result of Updated trace
with results testing metrics

Test closure Identify the risks which are mitigated Test summary
conditions
Updated risk
management

8 Closure Test closure Do the retrospective meting and Lessons learn


condition understand the lessons learnt
Test matrices
Test summary report
Test closure r
HAPPY TESTING!!

You might also like