SlideShare a Scribd company logo
Software Testing
Objective
The objective of this presentation is to
show the
 How to define Software Testing
Principles
 What are the types of Software Tests
 What is Test Planning
 Test Execution and Reporting
 Real-Time Testing
How to define Software
Testing Principles
 Testing
The execution of a program to find its faults
 Verification
The process of proving the programs
correctness.
 Validation
The process of finding errors by executing the
program in a real environment
 Debugging
Diagnosing the error and correct it
Software Testing Principles
 To remove as many defects as possible
before test since the quality improvement
potential of testing is limited
What are the Types of
Software Tests
 Unit Testing (White Box)
 Integration Testing
 Function Testing (Black Box)
 Regression Testing
 System Test
 Acceptance and Installation Tests
Unit Testing (White Box)
 Individual components are tested.
 It is a path test.
 To focus on a relatively small segment of
code and aim to exercise a high percentage
of the internal path
 Disadvantage: the tester may be biased by
previous experience. And the test value
may not cover all possible values.
Integration Testing
 Top-down Integration Test
 Bottom-up Integration Test
Top-down Integration Test
 The control program is tested first. Modules
are integrated one at a time. Emphasize on
interface testing
 Advantages: No test drivers needed
Interface errors are discovered early
Modular features aid debugging
 Disadvantages: Test stubs are needed
Errors in critical modules at low levels are found
late.
A
B
T1
T2
T3
A
B
C
T4
T3
T2
T1
Top-down Testing
Bottom-up Integration Test
 Allow early testing aimed at proving feasibility
Emphasize on module functionality and
performance
 Advantages: No test stubs are needed
Errors in critical modules are found early
 Disadvantages: Test drivers are needed
Interface errors are discovered late
Test
Drivers
Level N
Level N-1 Level N-1
Level N
Level N
Test
Drivers
Test
Drivers
Test
Drivers
Test
Drivers
Bottom-up testing
Function Testing (Black Box)
 Designed to exercise the to its external
specifications
 Testers not biased by knowledge of the
program’s design.
 Disadvantages:
1. The need for explicitly stated
requirements
2. Only cover a small portion of the possible
test conditions.
Regression Testing
 Test the effects of the newly introduced
changes on all the previously integrated
code.
 The common strategy is to accumulate a
comprehensive regression bucket but also
to define a subset.
 The full bucket is run only occasionally,
but the subset is run against every spin.
 Disadvantages:
1. To decide how much of a subset to use
and which tests to select.
What is Test Planning
 Define the functions, roles and methods for all
test phases.
 Test planning usually start during the
requirements phase.
 Major test plan elements are:
1. Objectives for each test phase
2. Schedules and responsibilities for each test
activity
3. Availability of tools, facilities and test libraries.
4. Set the criteria for test completion
Test Execution & Reporting
 Testing should be treated like an
experiment.
 Testing require that all anomalous behavior
be noted and investigated.
 Big companies keep a special library with all
copies of test reports, incident forms, and
test plans
Real-Time Testing
 Real-Time testing is necessary because the
deployment system is usually more complicate
than development system
 Rules apply for testing real time system
1. Evaluate possible deadlocks, thrashing to special
timing conditions
2. Use tests to simulate hardware faults.
3. Use hardware simulation to stress the software
design.
4. Design ways to simulate modules missing in the
development system.
References
 DeMillo, Software Testing and Evaluation
Benjamin/Cummings Publishing Company,
Inc California, 1987.
 Sommerville, Software Engineering
Addison-Wesley Publishing Company, 1996
 Humphrey, Managing the Software Process,
Addison-Wesley Publishing Company, 1990.
Ad

More Related Content

Similar to software testing.pptx (20)

Manual testing - Introduction to Manual Software testing
Manual testing - Introduction to Manual Software testingManual testing - Introduction to Manual Software testing
Manual testing - Introduction to Manual Software testing
Vibrant Technologies & Computers
 
Testing strategies
Testing strategiesTesting strategies
Testing strategies
chaitanya_yarlagadda
 
Software Testing
Software TestingSoftware Testing
Software Testing
Sophia Girls' College(Autonomous), Ajmer
 
Unit testing & TDD concepts with best practice guidelines.
Unit testing & TDD concepts with best practice guidelines.Unit testing & TDD concepts with best practice guidelines.
Unit testing & TDD concepts with best practice guidelines.
Mohamed Taman
 
Testing methodology
Testing methodologyTesting methodology
Testing methodology
Dina Hanbazazah
 
Software Testing
Software Testing Software Testing
Software Testing
MD SALEEM QAISAR
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design
Jayant Dalvi
 
Software unit4
Software unit4Software unit4
Software unit4
Himanshu Awasthi
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4
Mohammad Faizan
 
S.t.
S.t.S.t.
S.t.
Prashant Gupta
 
Software Engineering and Project Management - Software Testing + Agile Method...
Software Engineering and Project Management - Software Testing + Agile Method...Software Engineering and Project Management - Software Testing + Agile Method...
Software Engineering and Project Management - Software Testing + Agile Method...
Prakhyath Rai
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
Heritage Institute Of Tech,India
 
Software Testing - SDLC Model
Software Testing - SDLC ModelSoftware Testing - SDLC Model
Software Testing - SDLC Model
Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU
 
https://www.slideshare.net/slideshow/system-testing-60970402/60970402Software...
https://www.slideshare.net/slideshow/system-testing-60970402/60970402Software...https://www.slideshare.net/slideshow/system-testing-60970402/60970402Software...
https://www.slideshare.net/slideshow/system-testing-60970402/60970402Software...
IJRTETVedantaPublica
 
Top 15 Interview Questions for Manual Testers
Top 15 Interview Questions for Manual TestersTop 15 Interview Questions for Manual Testers
Top 15 Interview Questions for Manual Testers
Sarah Elson
 
Object Oriented Testing
Object Oriented TestingObject Oriented Testing
Object Oriented Testing
AMITJain879
 
Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing
Prof .Pragati Khade
 
Learn sqa from expert class 2reviewed
Learn sqa from expert class 2reviewedLearn sqa from expert class 2reviewed
Learn sqa from expert class 2reviewed
Sharmin Khan Urmi
 
Software testing
Software testingSoftware testing
Software testing
Eng Ibrahem
 
ST Unit-3.pptx
ST Unit-3.pptxST Unit-3.pptx
ST Unit-3.pptx
JhonLiver
 
Unit testing & TDD concepts with best practice guidelines.
Unit testing & TDD concepts with best practice guidelines.Unit testing & TDD concepts with best practice guidelines.
Unit testing & TDD concepts with best practice guidelines.
Mohamed Taman
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design
Jayant Dalvi
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4
Mohammad Faizan
 
Software Engineering and Project Management - Software Testing + Agile Method...
Software Engineering and Project Management - Software Testing + Agile Method...Software Engineering and Project Management - Software Testing + Agile Method...
Software Engineering and Project Management - Software Testing + Agile Method...
Prakhyath Rai
 
https://www.slideshare.net/slideshow/system-testing-60970402/60970402Software...
https://www.slideshare.net/slideshow/system-testing-60970402/60970402Software...https://www.slideshare.net/slideshow/system-testing-60970402/60970402Software...
https://www.slideshare.net/slideshow/system-testing-60970402/60970402Software...
IJRTETVedantaPublica
 
Top 15 Interview Questions for Manual Testers
Top 15 Interview Questions for Manual TestersTop 15 Interview Questions for Manual Testers
Top 15 Interview Questions for Manual Testers
Sarah Elson
 
Object Oriented Testing
Object Oriented TestingObject Oriented Testing
Object Oriented Testing
AMITJain879
 
Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing Ch 2 Apraoaches Of Software Testing
Ch 2 Apraoaches Of Software Testing
Prof .Pragati Khade
 
Learn sqa from expert class 2reviewed
Learn sqa from expert class 2reviewedLearn sqa from expert class 2reviewed
Learn sqa from expert class 2reviewed
Sharmin Khan Urmi
 
Software testing
Software testingSoftware testing
Software testing
Eng Ibrahem
 
ST Unit-3.pptx
ST Unit-3.pptxST Unit-3.pptx
ST Unit-3.pptx
JhonLiver
 

Recently uploaded (20)

AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
Are Cloud PBX Providers in India Reliable for Small Businesses (1).pdf
Are Cloud PBX Providers in India Reliable for Small Businesses (1).pdfAre Cloud PBX Providers in India Reliable for Small Businesses (1).pdf
Are Cloud PBX Providers in India Reliable for Small Businesses (1).pdf
Telecoms Supermarket
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Vaibhav Gupta BAML: AI work flows without Hallucinations
Vaibhav Gupta BAML: AI work flows without HallucinationsVaibhav Gupta BAML: AI work flows without Hallucinations
Vaibhav Gupta BAML: AI work flows without Hallucinations
john409870
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
Top 10 IT Help Desk Outsourcing Services
Top 10 IT Help Desk Outsourcing ServicesTop 10 IT Help Desk Outsourcing Services
Top 10 IT Help Desk Outsourcing Services
Infrassist Technologies Pvt. Ltd.
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
MINDCTI revenue release Quarter 1 2025 PR
MINDCTI revenue release Quarter 1 2025 PRMINDCTI revenue release Quarter 1 2025 PR
MINDCTI revenue release Quarter 1 2025 PR
MIND CTI
 
Generative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in BusinessGenerative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in Business
Dr. Tathagat Varma
 
Unlocking the Power of IVR: A Comprehensive Guide
Unlocking the Power of IVR: A Comprehensive GuideUnlocking the Power of IVR: A Comprehensive Guide
Unlocking the Power of IVR: A Comprehensive Guide
vikasascentbpo
 
Build 3D Animated Safety Induction - Tech EHS
Build 3D Animated Safety Induction - Tech EHSBuild 3D Animated Safety Induction - Tech EHS
Build 3D Animated Safety Induction - Tech EHS
TECH EHS Solution
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
Are Cloud PBX Providers in India Reliable for Small Businesses (1).pdf
Are Cloud PBX Providers in India Reliable for Small Businesses (1).pdfAre Cloud PBX Providers in India Reliable for Small Businesses (1).pdf
Are Cloud PBX Providers in India Reliable for Small Businesses (1).pdf
Telecoms Supermarket
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Vaibhav Gupta BAML: AI work flows without Hallucinations
Vaibhav Gupta BAML: AI work flows without HallucinationsVaibhav Gupta BAML: AI work flows without Hallucinations
Vaibhav Gupta BAML: AI work flows without Hallucinations
john409870
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
MINDCTI revenue release Quarter 1 2025 PR
MINDCTI revenue release Quarter 1 2025 PRMINDCTI revenue release Quarter 1 2025 PR
MINDCTI revenue release Quarter 1 2025 PR
MIND CTI
 
Generative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in BusinessGenerative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in Business
Dr. Tathagat Varma
 
Unlocking the Power of IVR: A Comprehensive Guide
Unlocking the Power of IVR: A Comprehensive GuideUnlocking the Power of IVR: A Comprehensive Guide
Unlocking the Power of IVR: A Comprehensive Guide
vikasascentbpo
 
Build 3D Animated Safety Induction - Tech EHS
Build 3D Animated Safety Induction - Tech EHSBuild 3D Animated Safety Induction - Tech EHS
Build 3D Animated Safety Induction - Tech EHS
TECH EHS Solution
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Ad

software testing.pptx

  • 2. Objective The objective of this presentation is to show the  How to define Software Testing Principles  What are the types of Software Tests  What is Test Planning  Test Execution and Reporting  Real-Time Testing
  • 3. How to define Software Testing Principles  Testing The execution of a program to find its faults  Verification The process of proving the programs correctness.  Validation The process of finding errors by executing the program in a real environment  Debugging Diagnosing the error and correct it
  • 4. Software Testing Principles  To remove as many defects as possible before test since the quality improvement potential of testing is limited
  • 5. What are the Types of Software Tests  Unit Testing (White Box)  Integration Testing  Function Testing (Black Box)  Regression Testing  System Test  Acceptance and Installation Tests
  • 6. Unit Testing (White Box)  Individual components are tested.  It is a path test.  To focus on a relatively small segment of code and aim to exercise a high percentage of the internal path  Disadvantage: the tester may be biased by previous experience. And the test value may not cover all possible values.
  • 7. Integration Testing  Top-down Integration Test  Bottom-up Integration Test
  • 8. Top-down Integration Test  The control program is tested first. Modules are integrated one at a time. Emphasize on interface testing  Advantages: No test drivers needed Interface errors are discovered early Modular features aid debugging  Disadvantages: Test stubs are needed Errors in critical modules at low levels are found late.
  • 10. Bottom-up Integration Test  Allow early testing aimed at proving feasibility Emphasize on module functionality and performance  Advantages: No test stubs are needed Errors in critical modules are found early  Disadvantages: Test drivers are needed Interface errors are discovered late
  • 11. Test Drivers Level N Level N-1 Level N-1 Level N Level N Test Drivers Test Drivers Test Drivers Test Drivers Bottom-up testing
  • 12. Function Testing (Black Box)  Designed to exercise the to its external specifications  Testers not biased by knowledge of the program’s design.  Disadvantages: 1. The need for explicitly stated requirements 2. Only cover a small portion of the possible test conditions.
  • 13. Regression Testing  Test the effects of the newly introduced changes on all the previously integrated code.  The common strategy is to accumulate a comprehensive regression bucket but also to define a subset.  The full bucket is run only occasionally, but the subset is run against every spin.  Disadvantages: 1. To decide how much of a subset to use and which tests to select.
  • 14. What is Test Planning  Define the functions, roles and methods for all test phases.  Test planning usually start during the requirements phase.  Major test plan elements are: 1. Objectives for each test phase 2. Schedules and responsibilities for each test activity 3. Availability of tools, facilities and test libraries. 4. Set the criteria for test completion
  • 15. Test Execution & Reporting  Testing should be treated like an experiment.  Testing require that all anomalous behavior be noted and investigated.  Big companies keep a special library with all copies of test reports, incident forms, and test plans
  • 16. Real-Time Testing  Real-Time testing is necessary because the deployment system is usually more complicate than development system  Rules apply for testing real time system 1. Evaluate possible deadlocks, thrashing to special timing conditions 2. Use tests to simulate hardware faults. 3. Use hardware simulation to stress the software design. 4. Design ways to simulate modules missing in the development system.
  • 17. References  DeMillo, Software Testing and Evaluation Benjamin/Cummings Publishing Company, Inc California, 1987.  Sommerville, Software Engineering Addison-Wesley Publishing Company, 1996  Humphrey, Managing the Software Process, Addison-Wesley Publishing Company, 1990.