SlideShare une entreprise Scribd logo
1  sur  10
Télécharger pour lire hors ligne
STLC
i
STLC
i
AbouttheTutorial
Software Testing Lifecycle is a standard procedure divided into different phases, followed
by the QA Team to complete all testing activities. This is a brief tutorial that introduces
the readers to the various phases of Software Testing Life Cycle.
Audience
This tutorial has been prepared for beginners to help them understand the software testing
lifecycle. It would help all those professionals who would like to understand the Testing
Framework in detail along with its types, methods, and levels.
Prerequisites
There are no specific prerequisites for this tutorial. Any software professional can go
through this tutorial to get a bigger picture of how the high-quality software applications
and products are designed. However, it would certainly be an advantage if the readers
have a basic of understanding of some fundamental testing concepts.
Copyright&Disclaimer
 Copyright 2018 by Tutorials Point (I) Pvt. Ltd.
All the content and graphics published in this e-book are the property of Tutorials Point (I)
Pvt. Ltd. The user of this e-book is prohibited to reuse, retain, copy, distribute or republish
any contents or a part of contents of this e-book in any manner without written consent
of the publisher.
We strive to update the contents of our website and tutorials as timely and as precisely as
possible, however, the contents may contain inaccuracies or errors. Tutorials Point (I) Pvt.
Ltd. provides no guarantee regarding the accuracy, timeliness or completeness of our
website or its contents including this tutorial. If you discover any errors on our website or
in this tutorial, please notify us at contact@tutorialspoint.com
STLC
ii
TableofContents
About the Tutorial....................................................................................................................................i
Audience..................................................................................................................................................i
Prerequisites............................................................................................................................................i
Copyright & Disclaimer.............................................................................................................................i
Table of Contents....................................................................................................................................ii
1. STLC – OVERVIEW................................................................................................................1
2. COMPARISON – STLC AND SDLC..........................................................................................2
3. TESTING – FUNDAMENTAL PRINCIPLES...............................................................................4
4. STLC – REQUIREMENT ANALYSIS .........................................................................................6
Activities Performed for Requirement Analysis.......................................................................................6
5. STLC – ENTRY AND EXIT CRITERIA........................................................................................8
Entry Criteria...........................................................................................................................................8
Exit Criteria .............................................................................................................................................8
6. STLC – ACCEPTANCE CRITERIA.............................................................................................9
7. STLC – TEST PLANNING......................................................................................................10
Aspects of the Test Planning Phase .......................................................................................................11
8. STLC – TEST CASE DEVELOPMENT .....................................................................................13
Activities in the Test Case Development Phase .....................................................................................13
Activity Block Diagram ..........................................................................................................................14
9. STLC – TEST ENVIRONMENT SETUP...................................................................................15
Activities Performed for Test Environment Setup .................................................................................15
STLC
iii
10. STLC – TEST EXECUTION....................................................................................................17
Activities for Test Execution ..................................................................................................................17
Activity Block Diagram ..........................................................................................................................19
11. STLC – DEFECT LIFE CYCLE.................................................................................................20
12. STLC – DEFECT CLASSIFICATION ........................................................................................22
What is Priority? ...................................................................................................................................22
Priority Listing.......................................................................................................................................22
What is Severity? ..................................................................................................................................22
Severity Listing......................................................................................................................................23
13. STLC – TEST CYCLE CLOSURE .............................................................................................24
STLC
1
STLC stands for Software Testing Life Cycle. STLC is a sequence of different activities
performed by the testing team to ensure the quality of the software or the product.
 STLC is an integral part of Software Development Life Cycle (SDLC). But, STLC
deals only with the testing phases.
 STLC starts as soon as requirements are defined or SRD (Software Requirement
Document) is shared by stakeholders.
 STLC provides a step-by-step process to ensure quality software.
 In the early stage of STLC, while the software or the product is developing, the
tester can analyze and define the scope of testing, entry and exit criteria and also
the Test Cases. It helps to reduce the test cycle time along with better quality.
 As soon as the development phase is over, the testers are ready with test cases
and start with execution. This helps to find bugs in the initial phase.
STLC Phases
STLC has the following different phases but it is not mandatory to follow all phases. Phases
are dependent on the nature of the software or the product, time and resources allocated
for the testing and the model of SDLC that is to be followed.
There are 6 major phases of STLC:
 Requirement Analysis – When the SRD is ready and shared with the
stakeholders, the testing team starts high level analysis concerning the AUT
(Application under Test).

 Test Planning – Test Team plans the strategy and approach.

 Test Case Designing – Develop the test cases based on scope and criteria’s.

 Test Environment Setup–When integrated environment is ready to validate the
product.

 Test Execution – Real-time validation of product and finding bugs.

 Test Closure – Once testing is completed, matrix, reports, results are documented.
1. STLC – Overview
Requirement
Analysis
Test
Planning
Test Cases
Designing
Test Environment
Setup
Test
Execution
Test
Closure
Defect
Reporting
STLC
2
In this chapter, we will understand the factors of comparison between STLC and SDLC. Let
us consider the following points and thereby, compare STLC and SDLC.
 STLC is part of SDLC. It can be said that STLC is a subset of the SDLC set.

 STLC is limited to the testing phase where quality of software or product ensures.
SDLC has vast and vital role in complete development of a software or product.

 However, STLC is a very important phase of SDLC and the final product or the
software cannot be released without passing through the STLC process.

 STLC is also a part of the post-release/ update cycle, the maintenance phase of
SDLC where known defects get fixed or a new functionality is added to the software.
The following table lists down the factors of comparison between SDLC and STLC based
on their phases:
Phase SDLC STLC
Requirement
Gathering
 Business Analyst gathers
requirements.

 Development team analyzes
the requirements.

 After high level, the
development team starts
analyzing from the
architecture and the design
perspective.

 Testing team reviews and
analyzes the SRD document.
 Identifies the testing
requirements - Scope, Verification
and Validation key points.
 Reviews the requirements for
logical and functional relationship
among various modules. This
helps in the identification of gaps
at an early stage.
Design
 The architecture of SDLC helps
you develop a high-level and
low-level design of the
software based on the
requirements.
 Business Analyst works on the
mocker of UI design.
 Once the design is completed,
it is signed off by the
stakeholders.

 In STLC, either the Test
Architect or a Test Lead usually
plan the test strategy.
 Identifies the testing points.
 Resource allocation and timelines
are finalized here.
2. Comparison – STLC and SDLC
STLC
3
Development
 Development team starts
developing the software.
 Integrate with different
systems.
 Once all integration is done, a
ready to test software or
product is provided.

 Testing team writes the test
scenarios to validate the quality
of the product.

 Detailed test cases are written for
all modules along with expected
behaviour.
 The prerequisites and the entry
and exit criteria of a test module
are identified here.
Environment
Set up
 Development team sets up a
test environment with
developed product to validate.

 The Test team confirms the
environment set up based on the
prerequisites.
 Performs smoke testing to make
sure the environment is stable for
the product to be tested.
Testing
 The actual testing is carried
out in this phase. It includes
unit testing, integration
testing, system testing, defect
retesting, regression testing,
etc.
 The Development team fixes
the bug reported, if any and
sends it back to the tester for
retesting.
 UAT testing performs here
after getting sign off from SIT
testing.
 System Integration testing starts
based on the test cases.
 Defects reported, if any, get
retested and fixed.
 Regression testing is performed
here and the product is signed off
once it meets the exit criteria.
Deployment/
Product
Release
 Once sign-off is received from
various testing team,
application is deployed in prod
environment for real end users
 Smoke and sanity testing in
production environment is
completed here as soon as
product is deployed.
 Test reports and matrix
preparation are done by testing
team to analyze the product.
Maintenance
 It covers the post deployment
supports, enhancement and
updates, if any.
 In this phase, the maintaining of
test cases, regression suits and
automation scripts take place
based on the enhancement and
updates.
STLC
4
The common objective of testing is finding bugs as early as possible. And, once the bugs
are fixed, make sure it is working as expected and not breaking any other functionality.
To achieve these goals, seven basic principles are given for software testing:
What Testing shows?
Testing can show that defects are present but there is no way to prove that there is no
defect in the product. Testing phases make sure that the application under test is working
based on the given requirement and it helps to reduce the probability of undiscovered
defects in the application. But, even if no defects are found, it does not mean that it is
absolutely correct. We can assume that AUT is matching with our exit criteria and
maintaining the requirements according to SRD.
Is Exhaustive Testing possible?
100% coverage or testing of all combinations of inputs and possible combinations are not
possible except of trivial cases. Instead of exhaustive testing, risk analysis and priorities
are used to define the scope of testing. Here, most of the real time scenarios can consider
including most probable negative scenario as well. This will help us track the failure.
Early Testing
Testing activities should start as soon as possible and be focused on defined objectives in
Test Strategy and expected results. Early stage of testing helps to identify Requirement
Defect or design level discrepancies. If these types of bugs are captured in initial stage, it
helps us save time and is cost-effective too. The answer to why testing should start at an
early stage is very simple – as soon as the SRD is received, the testers can analyze the
requirement from the testing perspective and can notice a requirement discrepancy.
Defect Clustering
Based on previous product defect analysis, it can be said that most of the defects are
identified from small set of modules which are critical for application. These modules can
be identified based on complexity, different system interaction or dependency on different
other modules. If testers can identify these crucial modules, they can focus more on these
modules to identify all possible bugs. In a study, it is found that 8 out of 10 defects are
identified from 20% functionality of AUT.
Pesticide Paradox
What is pesticide paradox – if pesticides are frequently used on crops, there comes when
the insects develop a certain kind of resistance and gradually the pesticides thus sprayed
seem to be ineffective on the insects.
The same concept is applicable on testing also. Here, insects are bugs while pesticides are
test cases that are used to run again and again. If the same sets of test cases are executed
again and again, these test cases become ineffective after certain timeframe and the
testers will not be able to identify any new defect.
3. Testing – Fundamental Principles
STLC
5
To overcome these conditions, test cases should be revised and reviewed time to time and
new and different test cases can be added. This will help in identifying new defects.
Testing is Context Dependent
This principle states that two different type of application can’t be tested using same
approach until both applications are of same nature. For example, if a tester uses the
same approach for Web Based Application and Mobile Application, that is completely wrong
and there is high risk of poor quality of product release. Testers should use different
approaches, methodologies, techniques and coverage for different types and nature of
applications.
Absence of Error – Fallacy
This principle states finding defects and fixing them until the application or system is
stable, is time consuming and also eats up on the resources. Even after fixing 99% of the
defects, there is a high risk of unstable application. The first essential thing is to verify the
stability of the application and the prerequisites of the environment. If these two conditions
fulfill, only then we can start with the detailed testing.
STLC
6
End of ebook preview
If you liked what you saw…
Buy it from our store @ https://store.tutorialspoint.com

Contenu connexe

Tendances

Software testing life cycle
Software testing life cycleSoftware testing life cycle
Software testing life cycleNikhil Sharma
 
STLC (Software Testing Life Cycle)
STLC (Software Testing Life Cycle)STLC (Software Testing Life Cycle)
STLC (Software Testing Life Cycle)Ch Fahadi
 
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | EdurekaSoftware Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | EdurekaEdureka!
 
STLC– software testing life cycle
STLC– software testing life cycleSTLC– software testing life cycle
STLC– software testing life cyclesubash kumar
 
16103271 software-testing-ppt
16103271 software-testing-ppt16103271 software-testing-ppt
16103271 software-testing-pptatish90
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1Raghu Kiran
 
2 testing throughout software lifecycle
2 testing throughout software lifecycle2 testing throughout software lifecycle
2 testing throughout software lifecycleAsmaa Matar
 
TESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTTESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTsuhasreddy1
 
Sw Software QA Testing
Sw Software QA TestingSw Software QA Testing
Sw Software QA Testingjonathan077070
 
Software Testing Life Cycle
Software Testing Life CycleSoftware Testing Life Cycle
Software Testing Life CycleUdayakumar Sree
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance Webtech Learning
 
software testing strategies
software testing strategiessoftware testing strategies
software testing strategiesHemanth Gajula
 
Why testing is important ?
Why testing is important ?Why testing is important ?
Why testing is important ?TestCenter
 
Software testing and process
Software testing and processSoftware testing and process
Software testing and processgouravkalbalia
 

Tendances (20)

SDLC vs STLC
SDLC vs STLCSDLC vs STLC
SDLC vs STLC
 
Software testing life cycle
Software testing life cycleSoftware testing life cycle
Software testing life cycle
 
Software test life cycle
Software test life cycleSoftware test life cycle
Software test life cycle
 
STLC
STLCSTLC
STLC
 
STLC (Software Testing Life Cycle)
STLC (Software Testing Life Cycle)STLC (Software Testing Life Cycle)
STLC (Software Testing Life Cycle)
 
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | EdurekaSoftware Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
 
STLC– software testing life cycle
STLC– software testing life cycleSTLC– software testing life cycle
STLC– software testing life cycle
 
Test Life Cycle
Test Life CycleTest Life Cycle
Test Life Cycle
 
Software testing
Software testingSoftware testing
Software testing
 
16103271 software-testing-ppt
16103271 software-testing-ppt16103271 software-testing-ppt
16103271 software-testing-ppt
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
 
2 testing throughout software lifecycle
2 testing throughout software lifecycle2 testing throughout software lifecycle
2 testing throughout software lifecycle
 
TESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTTESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPT
 
Sw Software QA Testing
Sw Software QA TestingSw Software QA Testing
Sw Software QA Testing
 
Software Testing Life Cycle
Software Testing Life CycleSoftware Testing Life Cycle
Software Testing Life Cycle
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
 
software testing strategies
software testing strategiessoftware testing strategies
software testing strategies
 
Why testing is important ?
Why testing is important ?Why testing is important ?
Why testing is important ?
 
Software testing and process
Software testing and processSoftware testing and process
Software testing and process
 

Similaire à Stlc tutorial

An Introduction to Software Testing Life Cycle
An Introduction to Software Testing Life CycleAn Introduction to Software Testing Life Cycle
An Introduction to Software Testing Life CycleKMSSolutionsMarketin
 
Agile testing tutorial
Agile testing tutorialAgile testing tutorial
Agile testing tutorialHarikaReddy115
 
MTLM Visual Studio 2010 ALM workshop
MTLM Visual Studio 2010 ALM workshopMTLM Visual Studio 2010 ALM workshop
MTLM Visual Studio 2010 ALM workshopClemens Reijnen
 
Istqb Agile-tester Extension
Istqb Agile-tester ExtensionIstqb Agile-tester Extension
Istqb Agile-tester ExtensionGirish Goutam
 
What Is the Software Testing Life Cycle.pdf
What Is the Software Testing Life Cycle.pdfWhat Is the Software Testing Life Cycle.pdf
What Is the Software Testing Life Cycle.pdfAnanthReddy38
 
Quality Assessment Handbook
Quality Assessment HandbookQuality Assessment Handbook
Quality Assessment HandbookMani Nutulapati
 
Best SQA Document.pdf
Best SQA Document.pdfBest SQA Document.pdf
Best SQA Document.pdfAzmatIqbal2
 
STLC & SDLC-ppt-1.pptx
STLC & SDLC-ppt-1.pptxSTLC & SDLC-ppt-1.pptx
STLC & SDLC-ppt-1.pptxssusere4c6aa
 
Manual Testing real time questions .pdf
Manual Testing real time questions .pdfManual Testing real time questions .pdf
Manual Testing real time questions .pdfTiktokIndia2
 
manual-testing
manual-testingmanual-testing
manual-testingKanak Mane
 
Software testing tutorial
Software testing tutorialSoftware testing tutorial
Software testing tutorialHarikaReddy115
 
Introduction to Software Testing
Introduction to Software TestingIntroduction to Software Testing
Introduction to Software TestingMeghaj Mallick
 
Software development life cycle.
Software development life cycle.Software development life cycle.
Software development life cycle.RishavChandel1
 
Software development life cycle (sdlc) phases.pdf
Software development life cycle (sdlc) phases.pdfSoftware development life cycle (sdlc) phases.pdf
Software development life cycle (sdlc) phases.pdfPrayas Gokhale
 

Similaire à Stlc tutorial (20)

An Introduction to Software Testing Life Cycle
An Introduction to Software Testing Life CycleAn Introduction to Software Testing Life Cycle
An Introduction to Software Testing Life Cycle
 
Agile testing tutorial
Agile testing tutorialAgile testing tutorial
Agile testing tutorial
 
Sdlc tutorial
Sdlc tutorialSdlc tutorial
Sdlc tutorial
 
Sdlc tutorial
Sdlc tutorialSdlc tutorial
Sdlc tutorial
 
MTLM Visual Studio 2010 ALM workshop
MTLM Visual Studio 2010 ALM workshopMTLM Visual Studio 2010 ALM workshop
MTLM Visual Studio 2010 ALM workshop
 
Istqb Agile-tester Extension
Istqb Agile-tester ExtensionIstqb Agile-tester Extension
Istqb Agile-tester Extension
 
What Is the Software Testing Life Cycle.pdf
What Is the Software Testing Life Cycle.pdfWhat Is the Software Testing Life Cycle.pdf
What Is the Software Testing Life Cycle.pdf
 
Quality Assessment Handbook
Quality Assessment HandbookQuality Assessment Handbook
Quality Assessment Handbook
 
Stlc&Vmodel Ppt
Stlc&Vmodel PptStlc&Vmodel Ppt
Stlc&Vmodel Ppt
 
Best SQA Document.pdf
Best SQA Document.pdfBest SQA Document.pdf
Best SQA Document.pdf
 
STLC & SDLC-ppt-1.pptx
STLC & SDLC-ppt-1.pptxSTLC & SDLC-ppt-1.pptx
STLC & SDLC-ppt-1.pptx
 
Manual Testing real time questions .pdf
Manual Testing real time questions .pdfManual Testing real time questions .pdf
Manual Testing real time questions .pdf
 
Gcs day1
Gcs day1Gcs day1
Gcs day1
 
Sdlc tutorial
Sdlc tutorialSdlc tutorial
Sdlc tutorial
 
manual-testing
manual-testingmanual-testing
manual-testing
 
Software testing tutorial
Software testing tutorialSoftware testing tutorial
Software testing tutorial
 
Introduction to Software Testing
Introduction to Software TestingIntroduction to Software Testing
Introduction to Software Testing
 
Quality Assurance Process
Quality Assurance ProcessQuality Assurance Process
Quality Assurance Process
 
Software development life cycle.
Software development life cycle.Software development life cycle.
Software development life cycle.
 
Software development life cycle (sdlc) phases.pdf
Software development life cycle (sdlc) phases.pdfSoftware development life cycle (sdlc) phases.pdf
Software development life cycle (sdlc) phases.pdf
 

Plus de HarikaReddy115

Data structures algorithms_tutorial
Data structures algorithms_tutorialData structures algorithms_tutorial
Data structures algorithms_tutorialHarikaReddy115
 
Wireless communication tutorial
Wireless communication tutorialWireless communication tutorial
Wireless communication tutorialHarikaReddy115
 
Control systems tutorial
Control systems tutorialControl systems tutorial
Control systems tutorialHarikaReddy115
 
Computer logical organization_tutorial
Computer logical organization_tutorialComputer logical organization_tutorial
Computer logical organization_tutorialHarikaReddy115
 
Computer fundamentals tutorial
Computer fundamentals tutorialComputer fundamentals tutorial
Computer fundamentals tutorialHarikaReddy115
 
Compiler design tutorial
Compiler design tutorialCompiler design tutorial
Compiler design tutorialHarikaReddy115
 
Communication technologies tutorial
Communication technologies tutorialCommunication technologies tutorial
Communication technologies tutorialHarikaReddy115
 
Behavior driven development_tutorial
Behavior driven development_tutorialBehavior driven development_tutorial
Behavior driven development_tutorialHarikaReddy115
 
Basics of computers_tutorial
Basics of computers_tutorialBasics of computers_tutorial
Basics of computers_tutorialHarikaReddy115
 
Basics of computer_science_tutorial
Basics of computer_science_tutorialBasics of computer_science_tutorial
Basics of computer_science_tutorialHarikaReddy115
 
Basic electronics tutorial
Basic electronics tutorialBasic electronics tutorial
Basic electronics tutorialHarikaReddy115
 
Artificial neural network_tutorial
Artificial neural network_tutorialArtificial neural network_tutorial
Artificial neural network_tutorialHarikaReddy115
 
Artificial intelligence tutorial
Artificial intelligence tutorialArtificial intelligence tutorial
Artificial intelligence tutorialHarikaReddy115
 
Antenna theory tutorial
Antenna theory tutorialAntenna theory tutorial
Antenna theory tutorialHarikaReddy115
 
Analog communication tutorial
Analog communication tutorialAnalog communication tutorial
Analog communication tutorialHarikaReddy115
 

Plus de HarikaReddy115 (20)

Dbms tutorial
Dbms tutorialDbms tutorial
Dbms tutorial
 
Data structures algorithms_tutorial
Data structures algorithms_tutorialData structures algorithms_tutorial
Data structures algorithms_tutorial
 
Wireless communication tutorial
Wireless communication tutorialWireless communication tutorial
Wireless communication tutorial
 
Cryptography tutorial
Cryptography tutorialCryptography tutorial
Cryptography tutorial
 
Cosmology tutorial
Cosmology tutorialCosmology tutorial
Cosmology tutorial
 
Control systems tutorial
Control systems tutorialControl systems tutorial
Control systems tutorial
 
Computer logical organization_tutorial
Computer logical organization_tutorialComputer logical organization_tutorial
Computer logical organization_tutorial
 
Computer fundamentals tutorial
Computer fundamentals tutorialComputer fundamentals tutorial
Computer fundamentals tutorial
 
Compiler design tutorial
Compiler design tutorialCompiler design tutorial
Compiler design tutorial
 
Communication technologies tutorial
Communication technologies tutorialCommunication technologies tutorial
Communication technologies tutorial
 
Biometrics tutorial
Biometrics tutorialBiometrics tutorial
Biometrics tutorial
 
Behavior driven development_tutorial
Behavior driven development_tutorialBehavior driven development_tutorial
Behavior driven development_tutorial
 
Basics of computers_tutorial
Basics of computers_tutorialBasics of computers_tutorial
Basics of computers_tutorial
 
Basics of computer_science_tutorial
Basics of computer_science_tutorialBasics of computer_science_tutorial
Basics of computer_science_tutorial
 
Basic electronics tutorial
Basic electronics tutorialBasic electronics tutorial
Basic electronics tutorial
 
Auditing tutorial
Auditing tutorialAuditing tutorial
Auditing tutorial
 
Artificial neural network_tutorial
Artificial neural network_tutorialArtificial neural network_tutorial
Artificial neural network_tutorial
 
Artificial intelligence tutorial
Artificial intelligence tutorialArtificial intelligence tutorial
Artificial intelligence tutorial
 
Antenna theory tutorial
Antenna theory tutorialAntenna theory tutorial
Antenna theory tutorial
 
Analog communication tutorial
Analog communication tutorialAnalog communication tutorial
Analog communication tutorial
 

Dernier

This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 

Dernier (20)

This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 

Stlc tutorial

  • 2. STLC i AbouttheTutorial Software Testing Lifecycle is a standard procedure divided into different phases, followed by the QA Team to complete all testing activities. This is a brief tutorial that introduces the readers to the various phases of Software Testing Life Cycle. Audience This tutorial has been prepared for beginners to help them understand the software testing lifecycle. It would help all those professionals who would like to understand the Testing Framework in detail along with its types, methods, and levels. Prerequisites There are no specific prerequisites for this tutorial. Any software professional can go through this tutorial to get a bigger picture of how the high-quality software applications and products are designed. However, it would certainly be an advantage if the readers have a basic of understanding of some fundamental testing concepts. Copyright&Disclaimer  Copyright 2018 by Tutorials Point (I) Pvt. Ltd. All the content and graphics published in this e-book are the property of Tutorials Point (I) Pvt. Ltd. The user of this e-book is prohibited to reuse, retain, copy, distribute or republish any contents or a part of contents of this e-book in any manner without written consent of the publisher. We strive to update the contents of our website and tutorials as timely and as precisely as possible, however, the contents may contain inaccuracies or errors. Tutorials Point (I) Pvt. Ltd. provides no guarantee regarding the accuracy, timeliness or completeness of our website or its contents including this tutorial. If you discover any errors on our website or in this tutorial, please notify us at contact@tutorialspoint.com
  • 3. STLC ii TableofContents About the Tutorial....................................................................................................................................i Audience..................................................................................................................................................i Prerequisites............................................................................................................................................i Copyright & Disclaimer.............................................................................................................................i Table of Contents....................................................................................................................................ii 1. STLC – OVERVIEW................................................................................................................1 2. COMPARISON – STLC AND SDLC..........................................................................................2 3. TESTING – FUNDAMENTAL PRINCIPLES...............................................................................4 4. STLC – REQUIREMENT ANALYSIS .........................................................................................6 Activities Performed for Requirement Analysis.......................................................................................6 5. STLC – ENTRY AND EXIT CRITERIA........................................................................................8 Entry Criteria...........................................................................................................................................8 Exit Criteria .............................................................................................................................................8 6. STLC – ACCEPTANCE CRITERIA.............................................................................................9 7. STLC – TEST PLANNING......................................................................................................10 Aspects of the Test Planning Phase .......................................................................................................11 8. STLC – TEST CASE DEVELOPMENT .....................................................................................13 Activities in the Test Case Development Phase .....................................................................................13 Activity Block Diagram ..........................................................................................................................14 9. STLC – TEST ENVIRONMENT SETUP...................................................................................15 Activities Performed for Test Environment Setup .................................................................................15
  • 4. STLC iii 10. STLC – TEST EXECUTION....................................................................................................17 Activities for Test Execution ..................................................................................................................17 Activity Block Diagram ..........................................................................................................................19 11. STLC – DEFECT LIFE CYCLE.................................................................................................20 12. STLC – DEFECT CLASSIFICATION ........................................................................................22 What is Priority? ...................................................................................................................................22 Priority Listing.......................................................................................................................................22 What is Severity? ..................................................................................................................................22 Severity Listing......................................................................................................................................23 13. STLC – TEST CYCLE CLOSURE .............................................................................................24
  • 5. STLC 1 STLC stands for Software Testing Life Cycle. STLC is a sequence of different activities performed by the testing team to ensure the quality of the software or the product.  STLC is an integral part of Software Development Life Cycle (SDLC). But, STLC deals only with the testing phases.  STLC starts as soon as requirements are defined or SRD (Software Requirement Document) is shared by stakeholders.  STLC provides a step-by-step process to ensure quality software.  In the early stage of STLC, while the software or the product is developing, the tester can analyze and define the scope of testing, entry and exit criteria and also the Test Cases. It helps to reduce the test cycle time along with better quality.  As soon as the development phase is over, the testers are ready with test cases and start with execution. This helps to find bugs in the initial phase. STLC Phases STLC has the following different phases but it is not mandatory to follow all phases. Phases are dependent on the nature of the software or the product, time and resources allocated for the testing and the model of SDLC that is to be followed. There are 6 major phases of STLC:  Requirement Analysis – When the SRD is ready and shared with the stakeholders, the testing team starts high level analysis concerning the AUT (Application under Test).   Test Planning – Test Team plans the strategy and approach.   Test Case Designing – Develop the test cases based on scope and criteria’s.   Test Environment Setup–When integrated environment is ready to validate the product.   Test Execution – Real-time validation of product and finding bugs.   Test Closure – Once testing is completed, matrix, reports, results are documented. 1. STLC – Overview Requirement Analysis Test Planning Test Cases Designing Test Environment Setup Test Execution Test Closure Defect Reporting
  • 6. STLC 2 In this chapter, we will understand the factors of comparison between STLC and SDLC. Let us consider the following points and thereby, compare STLC and SDLC.  STLC is part of SDLC. It can be said that STLC is a subset of the SDLC set.   STLC is limited to the testing phase where quality of software or product ensures. SDLC has vast and vital role in complete development of a software or product.   However, STLC is a very important phase of SDLC and the final product or the software cannot be released without passing through the STLC process.   STLC is also a part of the post-release/ update cycle, the maintenance phase of SDLC where known defects get fixed or a new functionality is added to the software. The following table lists down the factors of comparison between SDLC and STLC based on their phases: Phase SDLC STLC Requirement Gathering  Business Analyst gathers requirements.   Development team analyzes the requirements.   After high level, the development team starts analyzing from the architecture and the design perspective.   Testing team reviews and analyzes the SRD document.  Identifies the testing requirements - Scope, Verification and Validation key points.  Reviews the requirements for logical and functional relationship among various modules. This helps in the identification of gaps at an early stage. Design  The architecture of SDLC helps you develop a high-level and low-level design of the software based on the requirements.  Business Analyst works on the mocker of UI design.  Once the design is completed, it is signed off by the stakeholders.   In STLC, either the Test Architect or a Test Lead usually plan the test strategy.  Identifies the testing points.  Resource allocation and timelines are finalized here. 2. Comparison – STLC and SDLC
  • 7. STLC 3 Development  Development team starts developing the software.  Integrate with different systems.  Once all integration is done, a ready to test software or product is provided.   Testing team writes the test scenarios to validate the quality of the product.   Detailed test cases are written for all modules along with expected behaviour.  The prerequisites and the entry and exit criteria of a test module are identified here. Environment Set up  Development team sets up a test environment with developed product to validate.   The Test team confirms the environment set up based on the prerequisites.  Performs smoke testing to make sure the environment is stable for the product to be tested. Testing  The actual testing is carried out in this phase. It includes unit testing, integration testing, system testing, defect retesting, regression testing, etc.  The Development team fixes the bug reported, if any and sends it back to the tester for retesting.  UAT testing performs here after getting sign off from SIT testing.  System Integration testing starts based on the test cases.  Defects reported, if any, get retested and fixed.  Regression testing is performed here and the product is signed off once it meets the exit criteria. Deployment/ Product Release  Once sign-off is received from various testing team, application is deployed in prod environment for real end users  Smoke and sanity testing in production environment is completed here as soon as product is deployed.  Test reports and matrix preparation are done by testing team to analyze the product. Maintenance  It covers the post deployment supports, enhancement and updates, if any.  In this phase, the maintaining of test cases, regression suits and automation scripts take place based on the enhancement and updates.
  • 8. STLC 4 The common objective of testing is finding bugs as early as possible. And, once the bugs are fixed, make sure it is working as expected and not breaking any other functionality. To achieve these goals, seven basic principles are given for software testing: What Testing shows? Testing can show that defects are present but there is no way to prove that there is no defect in the product. Testing phases make sure that the application under test is working based on the given requirement and it helps to reduce the probability of undiscovered defects in the application. But, even if no defects are found, it does not mean that it is absolutely correct. We can assume that AUT is matching with our exit criteria and maintaining the requirements according to SRD. Is Exhaustive Testing possible? 100% coverage or testing of all combinations of inputs and possible combinations are not possible except of trivial cases. Instead of exhaustive testing, risk analysis and priorities are used to define the scope of testing. Here, most of the real time scenarios can consider including most probable negative scenario as well. This will help us track the failure. Early Testing Testing activities should start as soon as possible and be focused on defined objectives in Test Strategy and expected results. Early stage of testing helps to identify Requirement Defect or design level discrepancies. If these types of bugs are captured in initial stage, it helps us save time and is cost-effective too. The answer to why testing should start at an early stage is very simple – as soon as the SRD is received, the testers can analyze the requirement from the testing perspective and can notice a requirement discrepancy. Defect Clustering Based on previous product defect analysis, it can be said that most of the defects are identified from small set of modules which are critical for application. These modules can be identified based on complexity, different system interaction or dependency on different other modules. If testers can identify these crucial modules, they can focus more on these modules to identify all possible bugs. In a study, it is found that 8 out of 10 defects are identified from 20% functionality of AUT. Pesticide Paradox What is pesticide paradox – if pesticides are frequently used on crops, there comes when the insects develop a certain kind of resistance and gradually the pesticides thus sprayed seem to be ineffective on the insects. The same concept is applicable on testing also. Here, insects are bugs while pesticides are test cases that are used to run again and again. If the same sets of test cases are executed again and again, these test cases become ineffective after certain timeframe and the testers will not be able to identify any new defect. 3. Testing – Fundamental Principles
  • 9. STLC 5 To overcome these conditions, test cases should be revised and reviewed time to time and new and different test cases can be added. This will help in identifying new defects. Testing is Context Dependent This principle states that two different type of application can’t be tested using same approach until both applications are of same nature. For example, if a tester uses the same approach for Web Based Application and Mobile Application, that is completely wrong and there is high risk of poor quality of product release. Testers should use different approaches, methodologies, techniques and coverage for different types and nature of applications. Absence of Error – Fallacy This principle states finding defects and fixing them until the application or system is stable, is time consuming and also eats up on the resources. Even after fixing 99% of the defects, there is a high risk of unstable application. The first essential thing is to verify the stability of the application and the prerequisites of the environment. If these two conditions fulfill, only then we can start with the detailed testing.
  • 10. STLC 6 End of ebook preview If you liked what you saw… Buy it from our store @ https://store.tutorialspoint.com