SlideShare a Scribd company logo
1 of 22
Presented by
 Saptarshi Dutta Chowdhury

MCA, Heritage Institute of Technology
INTRODUCTION
  It is the process used to identify the correctness,
completeness and quality of developed computer
software.

  It is the process of executing a program/application
under positive and negative conditions by manual or
automated means. It checks for the :-
 Specification
 Functionality
 Performance
OBJECTIVES
  Uncover as many as errors (or bugs) as possible in a given
product.

  Demonstrate a given software product matching its requirement
specifications.


  Validate the quality of a software testing using the minimum cost
and efforts.


  Generate high quality test cases, perform effective tests, and issue
correct and helpful problem reports.
Error, Bug, Fault & Failure
Error : It is a human action that produces the incorrect
result that produces a fault.
Bug : The presence of error at the time of execution of the
software.
Fault : State of software caused by an error.
Failure : Deviation of the software from its expected result. It is
an event.
SDLC(Software Development Life Cycle)

 Standard model used word wide to develop a software.

 A framework that describes the activities performed at
each stage of a software development project.

 Necessary to ensure the quality of the software.

 Logical steps taken to develop a software product.
Classical Waterfall Model
    Feasibility Study



       Requirements Analysis & Specification




                                Design



                                         Coding & Unit Testing



                                                        Integration & System Testing




                                                                              Maintenance




It is the oldest and most widely used model in
the field of software development.
Testing Life Cycle
    Project Initiation
                                   Summary Reports
 System Study
                                             Analysis
Test Plan
                                          Regression Test

  Design Test Cases
                                   Report Defects

                 Execute Test Cases
               ( manual /automated )
Test Plan
It is a systematic approach to test a system i.e.
software. The plan typically contains a detailed
understanding of what the eventual testing
workflow will be.
Test Case
 It is a specific procedure of testing a particular
 requirement.

It will include:
   Identification of specific requirement tested
   Test case success/failure criteria
   Specific steps to execute test
   Test data
Verification vs Validation
•   Verification: The software should confirm to its
    specification (Are we building the product right?)


•   Validation: The software should do what the user really
    requires (Are we building the right product?)
Testing Methodologies

Black box testing

White box testing
Black box testing
 No knowledge of internal program design or code
  required.
 Tests are based on requirements and functionality.


White box testing
 Knowledge of the internal program design and
  code required.
 Tests are based on coverage of code
  statements, branches, paths, conditions.
Black box testing

        requirements

                                output


input

                       events
White box testing

          Test data



Tests      Derives


          Component          Test
            code            outputs
Testing Levels
• Unit testing

• Integration testing

• System testing
UNIT TESTING

Tests each module individually.
Follows a white box testing (Logic of the program).
Done by developers.
INTEGRATION TESTING
  Once all the modules have been unit tested, integration
testing is performed.
  It is systematic testing.
  Produce tests to identify errors associated with interfacing.
         Types:
                  Big Bang Integration testing
                  Top Down Integration testing
                  Bottom Up Integration testing
                  Mixed Integration testing
SYSTEM TESTING
 The system as a whole is tested to uncover
requirement errors.

 Verifies that all system elements work properly
and that overall system function and performance
has been achieved.

Types:
  Alpha Testing
  Beta Testing
  Acceptance Testing
  Performance Testing
Alpha Testing
It is carried out by the test team within the developing
organization .

                   Beta Testing
It is performed by a selected group of friendly customers.

                   Acceptance Testing
It is performed by the customer to determine whether to
accept or reject the delivery of the system.

                    Performance Testing
It is carried out to check whether the system meets the
nonfunctional requirements identified in the SRS
document.
Types of Performance Testing:
 Stress Testing
 Volume Testing
 Configuration Testing
 Compatibility Testing
 Regression Testing
 Recovery Testing
 Maintenance Testing
 Documentation Testing
 Usability Testing
DISCUSSION
  In order to be cost effective, the testing must be
 concentrated on areas where it will be most effective.

 The testing should be planned such that when testing is
stopped for whatever reason, the most effective testing in
the time allotted has already been done.

 The absence of an organizational testing policy may
result in too much effort and money will be spent on
testing, attempting to achieve a level of quality that is
impossible or unnecessary.
THANK YOU

More Related Content

What's hot

What's hot (20)

Software testing
Software testingSoftware testing
Software testing
 
Waterfall model ppt final
Waterfall model ppt  finalWaterfall model ppt  final
Waterfall model ppt final
 
Software design
Software designSoftware design
Software design
 
System testing
System testingSystem testing
System testing
 
Agile Development | Agile Process Models
Agile Development | Agile Process ModelsAgile Development | Agile Process Models
Agile Development | Agile Process Models
 
Manual testing concepts course 1
Manual testing concepts course 1Manual testing concepts course 1
Manual testing concepts course 1
 
Unit testing
Unit testing Unit testing
Unit testing
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Software testing
Software testingSoftware testing
Software testing
 
Formal Specification in Software Engineering SE9
Formal Specification in Software Engineering SE9Formal Specification in Software Engineering SE9
Formal Specification in Software Engineering SE9
 
Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategies
 
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
 
Software Development Life Cycle
Software Development Life CycleSoftware Development Life Cycle
Software Development Life Cycle
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
 
software engineering
software engineeringsoftware engineering
software engineering
 
Software Process Models
Software Process ModelsSoftware Process Models
Software Process Models
 
Intro to software development
Intro to software developmentIntro to software development
Intro to software development
 
Software Testing 101
Software Testing 101Software Testing 101
Software Testing 101
 
Software quality
Software qualitySoftware quality
Software quality
 

Viewers also liked

Viewers also liked (17)

Manual testing ppt
Manual testing pptManual testing ppt
Manual testing ppt
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts ppt
 
Software Testing Basics
Software Testing BasicsSoftware Testing Basics
Software Testing Basics
 
One Website, All the Languages
One Website, All the LanguagesOne Website, All the Languages
One Website, All the Languages
 
Testing techniques
Testing techniquesTesting techniques
Testing techniques
 
Introduction to Software Test Automation
Introduction to Software Test AutomationIntroduction to Software Test Automation
Introduction to Software Test Automation
 
Selenium ppt
Selenium pptSelenium ppt
Selenium ppt
 
Automated Testing
Automated TestingAutomated Testing
Automated Testing
 
Test automation process
Test automation processTest automation process
Test automation process
 
Boundary and equivalnce systematic test design
Boundary and equivalnce   systematic test designBoundary and equivalnce   systematic test design
Boundary and equivalnce systematic test design
 
New software testing-techniques
New software testing-techniquesNew software testing-techniques
New software testing-techniques
 
Black & White Box testing
Black & White Box testingBlack & White Box testing
Black & White Box testing
 
Equivalence partinioning and boundary value analysis
Equivalence partinioning and boundary value analysisEquivalence partinioning and boundary value analysis
Equivalence partinioning and boundary value analysis
 
Boundary value analysis
Boundary value analysisBoundary value analysis
Boundary value analysis
 
Types of Software Testing
Types of Software TestingTypes of Software Testing
Types of Software Testing
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
Introduction to Test Automation
Introduction to Test AutomationIntroduction to Test Automation
Introduction to Test Automation
 

Similar to Software Testing Fundamentals

Similar to Software Testing Fundamentals (20)

softwaretestingppt-120810095500-phpapp02 (1).pdf
softwaretestingppt-120810095500-phpapp02 (1).pdfsoftwaretestingppt-120810095500-phpapp02 (1).pdf
softwaretestingppt-120810095500-phpapp02 (1).pdf
 
Software Testing - SDLC Model
Software Testing - SDLC ModelSoftware Testing - SDLC Model
Software Testing - SDLC Model
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Software Testing
Software Testing Software Testing
Software Testing
 
Software_Testing_ppt.pptx
Software_Testing_ppt.pptxSoftware_Testing_ppt.pptx
Software_Testing_ppt.pptx
 
Software-Testing-ppt.pptx
Software-Testing-ppt.pptxSoftware-Testing-ppt.pptx
Software-Testing-ppt.pptx
 
testing.pptx
testing.pptxtesting.pptx
testing.pptx
 
softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1
 
Software testing
Software testingSoftware testing
Software testing
 
software testing technique
software testing techniquesoftware testing technique
software testing technique
 
QA Best Practices at Atlogys - Tech Talk (Atlogys Academy)
QA Best Practices at Atlogys - Tech Talk (Atlogys Academy)QA Best Practices at Atlogys - Tech Talk (Atlogys Academy)
QA Best Practices at Atlogys - Tech Talk (Atlogys Academy)
 
Mca se chapter_07_software_validation
Mca se chapter_07_software_validationMca se chapter_07_software_validation
Mca se chapter_07_software_validation
 
Manual testing
Manual testingManual testing
Manual testing
 
Software Testing or Quality Assurance
Software Testing or Quality AssuranceSoftware Testing or Quality Assurance
Software Testing or Quality Assurance
 
Manual testing
Manual testingManual testing
Manual testing
 
Testing strategies
Testing strategiesTesting strategies
Testing strategies
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing strategies
Software testing strategiesSoftware testing strategies
Software testing strategies
 
Software test proposal
Software test proposalSoftware test proposal
Software test proposal
 

Recently uploaded

CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 

Recently uploaded (20)

E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 

Software Testing Fundamentals

  • 1. Presented by Saptarshi Dutta Chowdhury MCA, Heritage Institute of Technology
  • 2. INTRODUCTION It is the process used to identify the correctness, completeness and quality of developed computer software. It is the process of executing a program/application under positive and negative conditions by manual or automated means. It checks for the :-  Specification  Functionality  Performance
  • 3. OBJECTIVES Uncover as many as errors (or bugs) as possible in a given product. Demonstrate a given software product matching its requirement specifications. Validate the quality of a software testing using the minimum cost and efforts. Generate high quality test cases, perform effective tests, and issue correct and helpful problem reports.
  • 4. Error, Bug, Fault & Failure Error : It is a human action that produces the incorrect result that produces a fault. Bug : The presence of error at the time of execution of the software. Fault : State of software caused by an error. Failure : Deviation of the software from its expected result. It is an event.
  • 5. SDLC(Software Development Life Cycle)  Standard model used word wide to develop a software.  A framework that describes the activities performed at each stage of a software development project.  Necessary to ensure the quality of the software.  Logical steps taken to develop a software product.
  • 6. Classical Waterfall Model Feasibility Study Requirements Analysis & Specification Design Coding & Unit Testing Integration & System Testing Maintenance It is the oldest and most widely used model in the field of software development.
  • 7. Testing Life Cycle Project Initiation Summary Reports System Study Analysis Test Plan Regression Test Design Test Cases Report Defects Execute Test Cases ( manual /automated )
  • 8. Test Plan It is a systematic approach to test a system i.e. software. The plan typically contains a detailed understanding of what the eventual testing workflow will be.
  • 9. Test Case It is a specific procedure of testing a particular requirement. It will include: Identification of specific requirement tested Test case success/failure criteria Specific steps to execute test Test data
  • 10. Verification vs Validation • Verification: The software should confirm to its specification (Are we building the product right?) • Validation: The software should do what the user really requires (Are we building the right product?)
  • 11. Testing Methodologies Black box testing White box testing
  • 12. Black box testing  No knowledge of internal program design or code required.  Tests are based on requirements and functionality. White box testing  Knowledge of the internal program design and code required.  Tests are based on coverage of code statements, branches, paths, conditions.
  • 13. Black box testing requirements output input events
  • 14. White box testing Test data Tests Derives Component Test code outputs
  • 15. Testing Levels • Unit testing • Integration testing • System testing
  • 16. UNIT TESTING Tests each module individually. Follows a white box testing (Logic of the program). Done by developers.
  • 17. INTEGRATION TESTING Once all the modules have been unit tested, integration testing is performed. It is systematic testing. Produce tests to identify errors associated with interfacing. Types: Big Bang Integration testing Top Down Integration testing Bottom Up Integration testing Mixed Integration testing
  • 18. SYSTEM TESTING  The system as a whole is tested to uncover requirement errors.  Verifies that all system elements work properly and that overall system function and performance has been achieved. Types: Alpha Testing Beta Testing Acceptance Testing Performance Testing
  • 19. Alpha Testing It is carried out by the test team within the developing organization . Beta Testing It is performed by a selected group of friendly customers. Acceptance Testing It is performed by the customer to determine whether to accept or reject the delivery of the system. Performance Testing It is carried out to check whether the system meets the nonfunctional requirements identified in the SRS document.
  • 20. Types of Performance Testing: Stress Testing Volume Testing Configuration Testing Compatibility Testing Regression Testing Recovery Testing Maintenance Testing Documentation Testing Usability Testing
  • 21. DISCUSSION  In order to be cost effective, the testing must be concentrated on areas where it will be most effective.  The testing should be planned such that when testing is stopped for whatever reason, the most effective testing in the time allotted has already been done.  The absence of an organizational testing policy may result in too much effort and money will be spent on testing, attempting to achieve a level of quality that is impossible or unnecessary.