SlideShare a Scribd company logo
Prepared by:
Asmaa Matar.
Testing throughout Software Lifecycle
 Testing in Software Development
 Testing and Development
 The Waterfall Model
 The V-Model
 The W-Model
 The V&V in the W-Model
 Test Levels
 Test Types
Testing in Software development
 During Development
 Rigorous testing of systems and documentation can help
to increase quality and reduce risk.
 Risk can be reduced if defects are found and corrected
before system is released.
Testing in Development Lifecycle
 During System Operation
 Testing is necessary during system operation to detect
new defects.
 In General
 Testing may also be required to meet legal requirements
and industry-specific standards.
 Testing is mandated by all quality standards (ISO 9000)
and SW Development standards (CMMI).
Testing Throughout Software Lifecycle
 Testing in Software Development
 Testing and Development
Testing and Development
 Testing is not isolated , test activities are related to
software development activities.
 Software development life cycle models describe:
 Phases of software development life cycle.
 The order in which those phases are executed.
 Different lifecycle models need different approaches of
testing.
Testing Throughout Software Lifecycle
 Testing in Software Development
 Testing and Development
 The Waterfall Model
The Waterfall Model
 The waterfall model is the classic and most common
software development life cycle model.
 Each phase must be completed in its entirety before
the next phase can begin.
 One of the inherent dangers of the waterfall model is
that it clearly shows that testing only happens after
coding is completed.
The Waterfall Model
Requirements
Analysis
Design
Code
Test
Testing Throughout Software Lifecycle
 Testing in Software Development
 Testing and Development
 The Waterfall Model
 The V-Model
The V-Model
Requirements
Analysis
Design
Code Component test
Integration test
System test
Acceptance test
The V-Model
Requirements
specification
System
specification
System Design
Code
Component test
Integration test
System test
Acceptance test
Unit Design
Test Strategy
Planning and
Risk Analysis
Test Analysis
and Design
Test Implementation
Unit Testing
Acceptance TC
System TC
Integration TC
Component TC
The V-Model
 The V-Model includes four testing levels
corresponding to the four development levels.
 Development work products (Ucs,SRS,SDD,…etc) are
the basis for testing
 Test preparation is not on the critical path of the
project.
 V-Model is a waterfall model. However, organizations
adapt it to iterative and agile testing.
Testing Throughout Software Lifecycle
 Testing in Software Development
 Testing and Development
 The Waterfall Model
 The V-Model
 The W-Model
The W-Model
 The W-Model is a variant of the v-model that focuses
on early testing (Verification and validation
The W-Model
Requirements
specification
System
specification
System Design
Code
Component test
Integration test
System test
Acceptance test
Unit Design
Review
Unit Testing
Review
Review
Review
Review
Defects
Testing Throughout Software Lifecycle
 Testing in Software Development
 Testing and Development
 The Waterfall Model
 The V-Model
 The W-Model
 The (V & V) in the W-Model.
The V&V in the W-Model
 Verification
 “Are we building the system right”?
 The process of evaluating a system or component
 Validation
 “Are we building the right system” ?
 Determination of the correctness of the products of software
development with respect to the user needs and requirements
 Early Testing
 Discovering defects in system specification and design.
 Early testing improves system analysis and design and defects
found there is much more cheaper and easier to fix.
Testing Throughout Software Lifecycle
 Testing in Software Development
 Testing and Development
 The Waterfall Model
 The V-Model
 The W-Model
 The (V & V) in the W-Model.
 Test Levels
Test Levels
Component Test
Integration test
System test
Acceptance
Test
Test Levels
 Component Testing
 Testing of individual items (e.g. modules, programs,
objects, classes, etc.)
 Searches for defects in, and verifies the functioning of
software that are separately testable.
 usually as part of the coding phase, in isolation from
other development items and the system as a whole.
Test Levels
 Integration testing
 Testing the interfaces between major and minor items
within an application which must interact with each
other.
 May include non-functional elements (Performance).
 Focuses on the integration itself not the functionality.
 Integration levels
 Component integration
 System integration
Test Levels
 Integration Testing
 Integration testing follows the following approaches
 System Architecture (such as top-down and bottom-
up).
 Functional tasks, transaction processing sequences, In
order to reduce the risk of late defect discovery,
integration should normally be incremental rather
than “big bang”.
Test Levels
 System testing
 All types of testing to be carried out once a whole system
has finished development and can be tested as a
complete entity.
 Carried by independent test team.
Test Levels
 Acceptance Testing
 All types of testing to be carried out to ensure a
development is ready to be deployed into the business,
operational or production environment.
 Types of acceptance testing
 User acceptance testing (UAT). (fitness for use)
 Operational (acceptance) testing. (Backup/Restore)
 Contract & regulation acceptance testing. (Deal, Legal)
 Alpha and beta (or field) testing.
Testing Throughout Software Lifecycle
 Testing in Software Development
 Testing and Development
 The Waterfall Model
 The V-Model
 The W-Model
 The (V & V) in the W-Model.
 Test Levels
 Test Types
Test Types
Functional
• “What” the system does
• Drawn from requirements & specifications.
Non-
Functional
• Performance , Load , Stress , Usability
• Maintainability , Portability
Structural
• White Box Testing
• Performed at all levels
Related to
Changes
• Re-Testing
• Regression Testing
2 testing throughout software lifecycle
Ad

More Related Content

What's hot (20)

Testing
TestingTesting
Testing
Indu Sharma Bhardwaj
 
Difference between functional testing and non functional testing
Difference between functional testing and non functional testingDifference between functional testing and non functional testing
Difference between functional testing and non functional testing
pooja deshmukh
 
Functional Testing Tutorial | Edureka
Functional Testing Tutorial | EdurekaFunctional Testing Tutorial | Edureka
Functional Testing Tutorial | Edureka
Edureka!
 
Types of Software Testing
Types of Software TestingTypes of Software Testing
Types of Software Testing
Nishant Worah
 
HP ALM QC
HP ALM QCHP ALM QC
HP ALM QC
Fayis-QA
 
Basic Guide to Manual Testing
Basic Guide to Manual TestingBasic Guide to Manual Testing
Basic Guide to Manual Testing
Hiral Gosani
 
BDD with Cucumber
BDD with CucumberBDD with Cucumber
BDD with Cucumber
Knoldus Inc.
 
Testing & Quality Assurance
Testing & Quality AssuranceTesting & Quality Assurance
Testing & Quality Assurance
Anand Subramaniam
 
Fundamentals of Software Testing
Fundamentals of Software TestingFundamentals of Software Testing
Fundamentals of Software Testing
Sagar Joshi
 
Software Testing Life Cycle
Software Testing Life CycleSoftware Testing Life Cycle
Software Testing Life Cycle
Udayakumar Sree
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
Raghu Kiran
 
Software Testing Life Cycle
Software Testing Life CycleSoftware Testing Life Cycle
Software Testing Life Cycle
gueste730d5
 
Stlc ppt
Stlc pptStlc ppt
Stlc ppt
Bhavik Modi
 
Types of software testing
Types of software testingTypes of software testing
Types of software testing
Testbytes
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testing
Hadi Fadlallah
 
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
Edureka!
 
Software Testing Tools | Edureka
Software Testing Tools | EdurekaSoftware Testing Tools | Edureka
Software Testing Tools | Edureka
Edureka!
 
Regression testing
Regression testingRegression testing
Regression testing
Harsh verma
 
Introduction to Agile Testing
Introduction to Agile TestingIntroduction to Agile Testing
Introduction to Agile Testing
Raymond Adrian (Rad) Butalid
 
Software Testing
Software TestingSoftware Testing
Software Testing
Sengu Msc
 
Difference between functional testing and non functional testing
Difference between functional testing and non functional testingDifference between functional testing and non functional testing
Difference between functional testing and non functional testing
pooja deshmukh
 
Functional Testing Tutorial | Edureka
Functional Testing Tutorial | EdurekaFunctional Testing Tutorial | Edureka
Functional Testing Tutorial | Edureka
Edureka!
 
Types of Software Testing
Types of Software TestingTypes of Software Testing
Types of Software Testing
Nishant Worah
 
Basic Guide to Manual Testing
Basic Guide to Manual TestingBasic Guide to Manual Testing
Basic Guide to Manual Testing
Hiral Gosani
 
Fundamentals of Software Testing
Fundamentals of Software TestingFundamentals of Software Testing
Fundamentals of Software Testing
Sagar Joshi
 
Software Testing Life Cycle
Software Testing Life CycleSoftware Testing Life Cycle
Software Testing Life Cycle
Udayakumar Sree
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
Raghu Kiran
 
Software Testing Life Cycle
Software Testing Life CycleSoftware Testing Life Cycle
Software Testing Life Cycle
gueste730d5
 
Types of software testing
Types of software testingTypes of software testing
Types of software testing
Testbytes
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testing
Hadi Fadlallah
 
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
Edureka!
 
Software Testing Tools | Edureka
Software Testing Tools | EdurekaSoftware Testing Tools | Edureka
Software Testing Tools | Edureka
Edureka!
 
Regression testing
Regression testingRegression testing
Regression testing
Harsh verma
 
Software Testing
Software TestingSoftware Testing
Software Testing
Sengu Msc
 

Viewers also liked (6)

Testing Throughout the Software Life Cycle (2013)
Testing Throughout the Software Life Cycle (2013)Testing Throughout the Software Life Cycle (2013)
Testing Throughout the Software Life Cycle (2013)
Jana Gierloff
 
Testing Throughout the Software Life Cycle - Section 2
Testing Throughout the Software Life Cycle - Section 2Testing Throughout the Software Life Cycle - Section 2
Testing Throughout the Software Life Cycle - Section 2
International Personal Finance Plc
 
Software testing
Software testingSoftware testing
Software testing
Dhanasekaran Narayanaswamy
 
ppt on sOFTWARE DEVELOPMENT LIFE CYCLE
 ppt on sOFTWARE DEVELOPMENT LIFE CYCLE ppt on sOFTWARE DEVELOPMENT LIFE CYCLE
ppt on sOFTWARE DEVELOPMENT LIFE CYCLE
Swarnima Tiwari
 
Software testing life cycle
Software testing life cycleSoftware testing life cycle
Software testing life cycle
Garuda Trainings
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
Heritage Institute Of Tech,India
 
Ad

Similar to 2 testing throughout software lifecycle (20)

CTFL Module 02
CTFL Module 02CTFL Module 02
CTFL Module 02
Davis Thomas
 
Software Testing
Software Testing Software Testing
Software Testing
CHANDAN CHATURVEDI
 
Qa analyst training
Qa analyst training Qa analyst training
Qa analyst training
Dinesh Pokhrel
 
Software test life cycle
Software test life cycleSoftware test life cycle
Software test life cycle
Sumit Sinha CSM®, CSP®, EPGBM® - IIM-Calcutta
 
Manualtestingppt
ManualtestingpptManualtestingppt
Manualtestingppt
balaji naidu
 
Introduction & Manual Testing
Introduction & Manual TestingIntroduction & Manual Testing
Introduction & Manual Testing
VenkateswaraRao Siddabathula
 
Testing throughout the software life cycle
Testing throughout the software life cycleTesting throughout the software life cycle
Testing throughout the software life cycle
Emi Rizki Ayunanda
 
Software development models hazahara
Software development models hazaharaSoftware development models hazahara
Software development models hazahara
Hazahara shadah
 
V Model in Software Testing
V Model in Software TestingV Model in Software Testing
V Model in Software Testing
Abdul Raheem
 
Software testing
Software testingSoftware testing
Software testing
Sengu Msc
 
Software testing
Software testingSoftware testing
Software testing
Sengu Msc
 
Testing throughout the software life cycle
Testing throughout the software life cycleTesting throughout the software life cycle
Testing throughout the software life cycle
muhamad iqbal
 
Software Testing
Software TestingSoftware Testing
Software Testing
Inocentshuja Ahmad
 
Software testing
Software testingSoftware testing
Software testing
YashasviSingh23
 
Software testing
Software testingSoftware testing
Software testing
Brajesh Pandey
 
Software testing
Software testingSoftware testing
Software testing
Rakshitha Raviprakash
 
Software test proposal
Software test proposalSoftware test proposal
Software test proposal
ManikandanRamanujam
 
Demo1ghjkl
Demo1ghjklDemo1ghjkl
Demo1ghjkl
crazyvirtue
 
Software testing
Software testingSoftware testing
Software testing
suneeth kumar
 
Software testing2
Software testing2Software testing2
Software testing2
suneeth kumar
 
Ad

Recently uploaded (20)

How to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud PerformanceHow to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud Performance
ThousandEyes
 
Secure Test Infrastructure: The Backbone of Trustworthy Software Development
Secure Test Infrastructure: The Backbone of Trustworthy Software DevelopmentSecure Test Infrastructure: The Backbone of Trustworthy Software Development
Secure Test Infrastructure: The Backbone of Trustworthy Software Development
Shubham Joshi
 
Top 10 Data Cleansing Tools for 2025.pdf
Top 10 Data Cleansing Tools for 2025.pdfTop 10 Data Cleansing Tools for 2025.pdf
Top 10 Data Cleansing Tools for 2025.pdf
AffinityCore
 
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage DashboardsAdobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
BradBedford3
 
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdfMicrosoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
TechSoup
 
Landscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature ReviewLandscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature Review
Hironori Washizaki
 
Requirements in Engineering AI- Enabled Systems: Open Problems and Safe AI Sy...
Requirements in Engineering AI- Enabled Systems: Open Problems and Safe AI Sy...Requirements in Engineering AI- Enabled Systems: Open Problems and Safe AI Sy...
Requirements in Engineering AI- Enabled Systems: Open Problems and Safe AI Sy...
Lionel Briand
 
Top 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docxTop 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docx
Portli
 
Societal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainabilitySocietal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainability
Jordi Cabot
 
Exploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the FutureExploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the Future
ICS
 
Microsoft Excel Core Points Training.pptx
Microsoft Excel Core Points Training.pptxMicrosoft Excel Core Points Training.pptx
Microsoft Excel Core Points Training.pptx
Mekonnen
 
Full Cracked Resolume Arena Latest Version
Full Cracked Resolume Arena Latest VersionFull Cracked Resolume Arena Latest Version
Full Cracked Resolume Arena Latest Version
jonesmichealj2
 
Best Practices for Collaborating with 3D Artists in Mobile Game Development
Best Practices for Collaborating with 3D Artists in Mobile Game DevelopmentBest Practices for Collaborating with 3D Artists in Mobile Game Development
Best Practices for Collaborating with 3D Artists in Mobile Game Development
Juego Studios
 
Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025
mu394968
 
Odoo ERP for Education Management to Streamline Your Education Process
Odoo ERP for Education Management to Streamline Your Education ProcessOdoo ERP for Education Management to Streamline Your Education Process
Odoo ERP for Education Management to Streamline Your Education Process
iVenture Team LLP
 
PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025
mu394968
 
Apple Logic Pro X Crack FRESH Version 2025
Apple Logic Pro X Crack FRESH Version 2025Apple Logic Pro X Crack FRESH Version 2025
Apple Logic Pro X Crack FRESH Version 2025
fs4635986
 
Revolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptxRevolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptx
nidhisingh691197
 
Creating Automated Tests with AI - Cory House - Applitools.pdf
Creating Automated Tests with AI - Cory House - Applitools.pdfCreating Automated Tests with AI - Cory House - Applitools.pdf
Creating Automated Tests with AI - Cory House - Applitools.pdf
Applitools
 
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
Andre Hora
 
How to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud PerformanceHow to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud Performance
ThousandEyes
 
Secure Test Infrastructure: The Backbone of Trustworthy Software Development
Secure Test Infrastructure: The Backbone of Trustworthy Software DevelopmentSecure Test Infrastructure: The Backbone of Trustworthy Software Development
Secure Test Infrastructure: The Backbone of Trustworthy Software Development
Shubham Joshi
 
Top 10 Data Cleansing Tools for 2025.pdf
Top 10 Data Cleansing Tools for 2025.pdfTop 10 Data Cleansing Tools for 2025.pdf
Top 10 Data Cleansing Tools for 2025.pdf
AffinityCore
 
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage DashboardsAdobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
BradBedford3
 
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdfMicrosoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
TechSoup
 
Landscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature ReviewLandscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature Review
Hironori Washizaki
 
Requirements in Engineering AI- Enabled Systems: Open Problems and Safe AI Sy...
Requirements in Engineering AI- Enabled Systems: Open Problems and Safe AI Sy...Requirements in Engineering AI- Enabled Systems: Open Problems and Safe AI Sy...
Requirements in Engineering AI- Enabled Systems: Open Problems and Safe AI Sy...
Lionel Briand
 
Top 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docxTop 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docx
Portli
 
Societal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainabilitySocietal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainability
Jordi Cabot
 
Exploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the FutureExploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the Future
ICS
 
Microsoft Excel Core Points Training.pptx
Microsoft Excel Core Points Training.pptxMicrosoft Excel Core Points Training.pptx
Microsoft Excel Core Points Training.pptx
Mekonnen
 
Full Cracked Resolume Arena Latest Version
Full Cracked Resolume Arena Latest VersionFull Cracked Resolume Arena Latest Version
Full Cracked Resolume Arena Latest Version
jonesmichealj2
 
Best Practices for Collaborating with 3D Artists in Mobile Game Development
Best Practices for Collaborating with 3D Artists in Mobile Game DevelopmentBest Practices for Collaborating with 3D Artists in Mobile Game Development
Best Practices for Collaborating with 3D Artists in Mobile Game Development
Juego Studios
 
Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025
mu394968
 
Odoo ERP for Education Management to Streamline Your Education Process
Odoo ERP for Education Management to Streamline Your Education ProcessOdoo ERP for Education Management to Streamline Your Education Process
Odoo ERP for Education Management to Streamline Your Education Process
iVenture Team LLP
 
PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025
mu394968
 
Apple Logic Pro X Crack FRESH Version 2025
Apple Logic Pro X Crack FRESH Version 2025Apple Logic Pro X Crack FRESH Version 2025
Apple Logic Pro X Crack FRESH Version 2025
fs4635986
 
Revolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptxRevolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptx
nidhisingh691197
 
Creating Automated Tests with AI - Cory House - Applitools.pdf
Creating Automated Tests with AI - Cory House - Applitools.pdfCreating Automated Tests with AI - Cory House - Applitools.pdf
Creating Automated Tests with AI - Cory House - Applitools.pdf
Applitools
 
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
Andre Hora
 

2 testing throughout software lifecycle

  • 2. Testing throughout Software Lifecycle  Testing in Software Development  Testing and Development  The Waterfall Model  The V-Model  The W-Model  The V&V in the W-Model  Test Levels  Test Types
  • 3. Testing in Software development  During Development  Rigorous testing of systems and documentation can help to increase quality and reduce risk.  Risk can be reduced if defects are found and corrected before system is released.
  • 4. Testing in Development Lifecycle  During System Operation  Testing is necessary during system operation to detect new defects.  In General  Testing may also be required to meet legal requirements and industry-specific standards.  Testing is mandated by all quality standards (ISO 9000) and SW Development standards (CMMI).
  • 5. Testing Throughout Software Lifecycle  Testing in Software Development  Testing and Development
  • 6. Testing and Development  Testing is not isolated , test activities are related to software development activities.  Software development life cycle models describe:  Phases of software development life cycle.  The order in which those phases are executed.  Different lifecycle models need different approaches of testing.
  • 7. Testing Throughout Software Lifecycle  Testing in Software Development  Testing and Development  The Waterfall Model
  • 8. The Waterfall Model  The waterfall model is the classic and most common software development life cycle model.  Each phase must be completed in its entirety before the next phase can begin.  One of the inherent dangers of the waterfall model is that it clearly shows that testing only happens after coding is completed.
  • 10. Testing Throughout Software Lifecycle  Testing in Software Development  Testing and Development  The Waterfall Model  The V-Model
  • 11. The V-Model Requirements Analysis Design Code Component test Integration test System test Acceptance test
  • 12. The V-Model Requirements specification System specification System Design Code Component test Integration test System test Acceptance test Unit Design Test Strategy Planning and Risk Analysis Test Analysis and Design Test Implementation Unit Testing Acceptance TC System TC Integration TC Component TC
  • 13. The V-Model  The V-Model includes four testing levels corresponding to the four development levels.  Development work products (Ucs,SRS,SDD,…etc) are the basis for testing  Test preparation is not on the critical path of the project.  V-Model is a waterfall model. However, organizations adapt it to iterative and agile testing.
  • 14. Testing Throughout Software Lifecycle  Testing in Software Development  Testing and Development  The Waterfall Model  The V-Model  The W-Model
  • 15. The W-Model  The W-Model is a variant of the v-model that focuses on early testing (Verification and validation
  • 16. The W-Model Requirements specification System specification System Design Code Component test Integration test System test Acceptance test Unit Design Review Unit Testing Review Review Review Review Defects
  • 17. Testing Throughout Software Lifecycle  Testing in Software Development  Testing and Development  The Waterfall Model  The V-Model  The W-Model  The (V & V) in the W-Model.
  • 18. The V&V in the W-Model  Verification  “Are we building the system right”?  The process of evaluating a system or component  Validation  “Are we building the right system” ?  Determination of the correctness of the products of software development with respect to the user needs and requirements  Early Testing  Discovering defects in system specification and design.  Early testing improves system analysis and design and defects found there is much more cheaper and easier to fix.
  • 19. Testing Throughout Software Lifecycle  Testing in Software Development  Testing and Development  The Waterfall Model  The V-Model  The W-Model  The (V & V) in the W-Model.  Test Levels
  • 20. Test Levels Component Test Integration test System test Acceptance Test
  • 21. Test Levels  Component Testing  Testing of individual items (e.g. modules, programs, objects, classes, etc.)  Searches for defects in, and verifies the functioning of software that are separately testable.  usually as part of the coding phase, in isolation from other development items and the system as a whole.
  • 22. Test Levels  Integration testing  Testing the interfaces between major and minor items within an application which must interact with each other.  May include non-functional elements (Performance).  Focuses on the integration itself not the functionality.  Integration levels  Component integration  System integration
  • 23. Test Levels  Integration Testing  Integration testing follows the following approaches  System Architecture (such as top-down and bottom- up).  Functional tasks, transaction processing sequences, In order to reduce the risk of late defect discovery, integration should normally be incremental rather than “big bang”.
  • 24. Test Levels  System testing  All types of testing to be carried out once a whole system has finished development and can be tested as a complete entity.  Carried by independent test team.
  • 25. Test Levels  Acceptance Testing  All types of testing to be carried out to ensure a development is ready to be deployed into the business, operational or production environment.  Types of acceptance testing  User acceptance testing (UAT). (fitness for use)  Operational (acceptance) testing. (Backup/Restore)  Contract & regulation acceptance testing. (Deal, Legal)  Alpha and beta (or field) testing.
  • 26. Testing Throughout Software Lifecycle  Testing in Software Development  Testing and Development  The Waterfall Model  The V-Model  The W-Model  The (V & V) in the W-Model.  Test Levels  Test Types
  • 27. Test Types Functional • “What” the system does • Drawn from requirements & specifications. Non- Functional • Performance , Load , Stress , Usability • Maintainability , Portability Structural • White Box Testing • Performed at all levels Related to Changes • Re-Testing • Regression Testing