SlideShare a Scribd company logo
1 of 25
Software Engineering
1
SOFTWARE TESTING STRATEGIES
2
A STRATEGIC APPROACH TO
SOFTWARE TESTING
3
Verification and Validation
 Software testing is one element of a broader topic that is often referred to as
verification and validation (V&V).
 Verification refers to the set of tasks that ensure that software correctly
implements a specific function.
 Validation refers to a different set of tasks that ensure that the software that has
been built is traceable to customer requirements.
Cont’d
 Verification: “Are we building the product right?”
 Validation: “Are we building the right product?”
Cont’d
 Verification and validation includes a wide array of SQA activities:
 technical reviews, quality and configuration audits, performance monitoring,
simulation, feasibility study, documentation review, database review, algorithm
analysis, development testing, usability testing, qualification testing, acceptance
testing, and installation testing.
Software Testing Strategy—The Big Picture
Criteria for Completion of Testing
 You're never done testing; the burden simply shifts from you (the software
engineer) to the end user
TEST STRATEGIES FOR
CONVENTIONAL SOFTWARE
9
Cont’d
 At one extreme, you can wait until the system is fully constructed and then
conduct tests on the overall system in the hope of finding errors.
 This approach, although appealing, simply does not work. It will result in buggy
software that disappoints all stakeholders.
 At the other extreme, you could conduct tests on a daily basis, whenever any part
of the system is constructed.
 A testing strategy that is chosen by many software teams falls between the two
extremes.
Unit Testing
 Unit testing focuses verification effort on the smallest unit of software design—the
software component or module.
 The unit test focuses on the internal processing logic and data structures within
the boundaries of a component.
 This type of testing can be conducted in parallel for multiple components.
Cont’d
 The design of unit tests can occur before coding begins or after
 source code has been generated.
Integration Testing
 Top-Down Integration
 depth-first integration
 Bottom-up integration
 Bottom-Up Integration.
 Regression Testing
 Smoke Testing
VALIDATION TESTING
14
Cont’d
 Validation can be defined in many ways, but a simple (albeit harsh) definition is
that validation succeeds when software functions in a manner that can be
reasonably expected by the customer.
 Alpha and Beta Testing
Cont’d
 When custom software is built for one customer, a series of acceptance tests
 are conducted to enable the customer to validate all requirements.
 Conducted by
 the end user rather than software engineers, an acceptance test can range from
 an informal “test drive” to a planned and systematically executed series of tests.
 can be conducted over a period of weeks or months,
Alpha Testing
 The alpha test is conducted at the developer’s site by a representative group
 of end users. The software is used in a natural setting with the developer “looking
 over the shoulder” of the users and recording errors and usage problems. Alpha
 tests are conducted in a controlled environment.
Beta Testing
 The beta test is conducted at one or more end-user sites. Unlike alpha testing,
 the developer generally is not present. Therefore, the beta test is a “live”
application
 of the software in an environment that cannot be controlled by the developer.
 The customer records all problems (real or imagined) that are encountered
 during beta testing and reports these to the developer at regular intervals
Acceptance testing
 variation on beta testing, called customer acceptance testing , is sometimes
 performed when custom software is delivered to a customer under contract.
 The customer performs a series of specific tests in an attempt to uncover errors
 before accepting the software from the developer.
SYSTEM TESTING
20
Security testing
 Security testing attempts to verify that protection mechanisms built into a system
will, in fact, protect it from improper penetration.
Stress testing
 Stress testing executes a system in a manner that demands resources in abnormal
quantity, frequency, or volume. For example,
 (1) special tests may be designed that generate 10 interrupts per second, when
one or two is the average rate,
 (2) input data rates may be increased by an order of magnitude to determine how
input functions will respond,
Performance testing
 Performance testing is designed to test the run-time performance of software
within the context of an integrated system.
 Performance testing occurs throughout all steps in the testing process.
 Even at the unit level, the performance of an individual module may be assessed
as tests are conducted.
 However, it is not until all system elements are fully integrated that the true
performance of a system can be ascertained.
Deployment testing
 In many cases, software must execute on a variety of platforms and under more
than one operating system environment.
 Deployment testing, sometimes called configuration testing, exercises the
software in each environment in which it is to operate.
Reference
 Software Engineeing: A Practitioner’s Approach by Pressman chapter#22

More Related Content

Similar to Strategic Approach to Software Testing

software testing technique
software testing techniquesoftware testing technique
software testing techniqueRana assad ali
 
Software Testing Training in Chandigarh
Software Testing Training in ChandigarhSoftware Testing Training in Chandigarh
Software Testing Training in ChandigarhKreativan Technologies
 
Software testing basic
Software testing basicSoftware testing basic
Software testing basicRohit Singh
 
Types of software testing
Types of software testingTypes of software testing
Types of software testingTestbytes
 
1) Now we consider that the product is lawnmower. Validation tests i.pdf
1) Now we consider that the product is lawnmower. Validation tests i.pdf1) Now we consider that the product is lawnmower. Validation tests i.pdf
1) Now we consider that the product is lawnmower. Validation tests i.pdfannaielectronicsvill
 
software testing methodologies
software testing methodologiessoftware testing methodologies
software testing methodologiesJhonny Jhon
 
Real Time software Training in Nagercoil
Real Time software Training in NagercoilReal Time software Training in Nagercoil
Real Time software Training in Nagercoiljclick2
 
The Role of Verification and Validation in System Development Life Cycle
The Role of Verification and Validation in System Development Life CycleThe Role of Verification and Validation in System Development Life Cycle
The Role of Verification and Validation in System Development Life CycleIOSR Journals
 
softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1FAIZALSAIYED
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing pptSavyasachi14
 
Software Testing
Software TestingSoftware Testing
Software TestingSengu Msc
 

Similar to Strategic Approach to Software Testing (20)

Software testing
Software testingSoftware testing
Software testing
 
software testing technique
software testing techniquesoftware testing technique
software testing technique
 
Manual testing
Manual testingManual testing
Manual testing
 
Software Testing Training in Chandigarh
Software Testing Training in ChandigarhSoftware Testing Training in Chandigarh
Software Testing Training in Chandigarh
 
Software testing basic
Software testing basicSoftware testing basic
Software testing basic
 
Types of software testing
Types of software testingTypes of software testing
Types of software testing
 
1) Now we consider that the product is lawnmower. Validation tests i.pdf
1) Now we consider that the product is lawnmower. Validation tests i.pdf1) Now we consider that the product is lawnmower. Validation tests i.pdf
1) Now we consider that the product is lawnmower. Validation tests i.pdf
 
Sftwre engg.testng
Sftwre engg.testngSftwre engg.testng
Sftwre engg.testng
 
software testing methodologies
software testing methodologiessoftware testing methodologies
software testing methodologies
 
Real Time software Training in Nagercoil
Real Time software Training in NagercoilReal Time software Training in Nagercoil
Real Time software Training in Nagercoil
 
CTFL Module 02
CTFL Module 02CTFL Module 02
CTFL Module 02
 
The Role of Verification and Validation in System Development Life Cycle
The Role of Verification and Validation in System Development Life CycleThe Role of Verification and Validation in System Development Life Cycle
The Role of Verification and Validation in System Development Life Cycle
 
Testing and qa services
Testing and qa servicesTesting and qa services
Testing and qa services
 
Software Testing Concepts
Software Testing  ConceptsSoftware Testing  Concepts
Software Testing Concepts
 
Software Teting
Software TetingSoftware Teting
Software Teting
 
Qa analyst training
Qa analyst training Qa analyst training
Qa analyst training
 
Software testing career
Software testing careerSoftware testing career
Software testing career
 
softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Software Testing
Software TestingSoftware Testing
Software Testing
 

Recently uploaded

CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceanilsa9823
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 

Recently uploaded (20)

CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 

Strategic Approach to Software Testing

  • 3. A STRATEGIC APPROACH TO SOFTWARE TESTING 3
  • 4. Verification and Validation  Software testing is one element of a broader topic that is often referred to as verification and validation (V&V).  Verification refers to the set of tasks that ensure that software correctly implements a specific function.  Validation refers to a different set of tasks that ensure that the software that has been built is traceable to customer requirements.
  • 5. Cont’d  Verification: “Are we building the product right?”  Validation: “Are we building the right product?”
  • 6. Cont’d  Verification and validation includes a wide array of SQA activities:  technical reviews, quality and configuration audits, performance monitoring, simulation, feasibility study, documentation review, database review, algorithm analysis, development testing, usability testing, qualification testing, acceptance testing, and installation testing.
  • 8. Criteria for Completion of Testing  You're never done testing; the burden simply shifts from you (the software engineer) to the end user
  • 10. Cont’d  At one extreme, you can wait until the system is fully constructed and then conduct tests on the overall system in the hope of finding errors.  This approach, although appealing, simply does not work. It will result in buggy software that disappoints all stakeholders.  At the other extreme, you could conduct tests on a daily basis, whenever any part of the system is constructed.  A testing strategy that is chosen by many software teams falls between the two extremes.
  • 11. Unit Testing  Unit testing focuses verification effort on the smallest unit of software design—the software component or module.  The unit test focuses on the internal processing logic and data structures within the boundaries of a component.  This type of testing can be conducted in parallel for multiple components.
  • 12. Cont’d  The design of unit tests can occur before coding begins or after  source code has been generated.
  • 13. Integration Testing  Top-Down Integration  depth-first integration  Bottom-up integration  Bottom-Up Integration.  Regression Testing  Smoke Testing
  • 15. Cont’d  Validation can be defined in many ways, but a simple (albeit harsh) definition is that validation succeeds when software functions in a manner that can be reasonably expected by the customer.  Alpha and Beta Testing
  • 16. Cont’d  When custom software is built for one customer, a series of acceptance tests  are conducted to enable the customer to validate all requirements.  Conducted by  the end user rather than software engineers, an acceptance test can range from  an informal “test drive” to a planned and systematically executed series of tests.  can be conducted over a period of weeks or months,
  • 17. Alpha Testing  The alpha test is conducted at the developer’s site by a representative group  of end users. The software is used in a natural setting with the developer “looking  over the shoulder” of the users and recording errors and usage problems. Alpha  tests are conducted in a controlled environment.
  • 18. Beta Testing  The beta test is conducted at one or more end-user sites. Unlike alpha testing,  the developer generally is not present. Therefore, the beta test is a “live” application  of the software in an environment that cannot be controlled by the developer.  The customer records all problems (real or imagined) that are encountered  during beta testing and reports these to the developer at regular intervals
  • 19. Acceptance testing  variation on beta testing, called customer acceptance testing , is sometimes  performed when custom software is delivered to a customer under contract.  The customer performs a series of specific tests in an attempt to uncover errors  before accepting the software from the developer.
  • 21. Security testing  Security testing attempts to verify that protection mechanisms built into a system will, in fact, protect it from improper penetration.
  • 22. Stress testing  Stress testing executes a system in a manner that demands resources in abnormal quantity, frequency, or volume. For example,  (1) special tests may be designed that generate 10 interrupts per second, when one or two is the average rate,  (2) input data rates may be increased by an order of magnitude to determine how input functions will respond,
  • 23. Performance testing  Performance testing is designed to test the run-time performance of software within the context of an integrated system.  Performance testing occurs throughout all steps in the testing process.  Even at the unit level, the performance of an individual module may be assessed as tests are conducted.  However, it is not until all system elements are fully integrated that the true performance of a system can be ascertained.
  • 24. Deployment testing  In many cases, software must execute on a variety of platforms and under more than one operating system environment.  Deployment testing, sometimes called configuration testing, exercises the software in each environment in which it is to operate.
  • 25. Reference  Software Engineeing: A Practitioner’s Approach by Pressman chapter#22