SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Chapter : Testing Strategies
Strategic approach to software testing
 Generic characteristics of strategic software testing:
 To perform effective testing, a software team should conduct
effective formal technical reviews.
 Testing begins at the component level and works "outward"
toward the integration.
 Different testing techniques are appropriate at different
points.
 Testing is conducted by the developer of the software and
(for large projects) an independent test group.
 Testing and debugging are different activities, but debugging
must be accommodated in any testing strategy.
Verification and Validation
 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 activities that ensure that
software correctly implements a specific function.
 Validation refers to a different set of activities that ensure
that the software that has been built is traceable to
customer requirements.
 State another way:
 Verification: "Are we building the product right?"
 Validation: "Are we building the right product?“
 The definition of V&V encompasses many of the
activities that are similar to software quality assurance
(SQA).
 V&V encompasses a wide array of SQA activities that include
 Formal technical reviews,
 quality and configuration audits,
 performance monitoring,
 simulation,
 feasibility study,
 documentation review,
 database review,
 algorithm analysis,
 development testing,
 qualification testing, and installation testing
 Testing does provide the last bastion from which quality can
be assessed and, more pragmatically, errors can be
uncovered.
Software Testing Strategy for
conventional software architecture
 A Software process & strategy for software testing may
also be viewed in the context of the spiral.
 Unit testing begins at the vortex of the spiral and
concentrates on each unit (i.e., component) of the
software.
 Testing progresses by moving outward along the spiral
to integration testing, where the focus is on design and
the construction.
 Another turn outward on the spiral, we encounter
validation testing, where requirements established as
part of software requirements analysis are validated
against the software.
 Finally, we arrive at system testing, where the software
and other system elements are tested as a whole.
 Initially, tests focus on each component individually,
ensuring that it functions properly as a unit.
 Unit testing makes heavy use of white-box testing
techniques.
 Now, validation testing provides final assurance that
software meets all functional, behavioral, and
performance requirements.
 Black-box testing techniques are used exclusively during
validation.
 Once validated, must be combined with other system
elements (e.g., hardware, people, databases).
 System testing verifies that all elements mesh properly
and that overall system function / performance is
achieved.
Criteria for Completion of Testing
 There is no definitive answer to state that “we have done
with testing”.
 One response to the question is: "You're never done
testing, the burden simply shifts from you (the software
engineer) to your customer." Every time the customer/
user executes a computer program, the program is being
tested.
 Another response is: "You're done testing when you run
out of time (deadline to deliver product to customer) or
you run out of money (spend so much money on
testing).
Unit testing strategies for conventional
software
 Focuses verification effort on the smallest unit of
software design – component or module.
 Using the component-level design description as a guide
 important control paths are tested to uncover errors
within the boundary of the module.
 Unit test is white-box oriented, and the step can be
conducted in parallel for multiple components.
 Unit test consists of
 Unit Test Considerations
 Unit Test Procedures
Unit Test Considerations
Errors are commonly found during unit testing
 More common errors in computation are
 misunderstood or incorrect arithmetic precedence
 mixed mode operations,
 incorrect initialization,
 precision inaccuracy,
 incorrect symbolic representation of an expression.
 Comparison and control flow are closely coupled to one another
 Comparison of different data types,
 Incorrect logical operators or precedence,
 Incorrect comparison of variables
 Improper or nonexistent loop termination,
 Failure to exit when divergent iteration is encountered
 improperly modified loop variables.
Unit Test Procedures
 Perform after source code has been generated.
 A review of design information provides guidance for
establishing test cases. Each test case should be coupled
with a set of expected results.
Unit Test Procedures
Unit Test Environment
Integration testing
 Integration testing is a systematic technique for constructing the
program structure while at the same time conducting tests to
uncover errors associated with interfacing.
 The objective is to take unit tested components and build a
program structure that has been dictated by design.
Top down integration
Regression Testing
 Each time a new module is added as part of integration
testing
 New data flow paths are established
 New I/O may occur
 New control logic is invoked
 Due to these changes, may cause problems with
functions that previously worked flawlessly.
 Regression testing is the re-execution of some subset of
tests that have already been conducted to ensure that
changes have not propagated unintended side effects.
Validation Testing
 Validation testing succeeds when software functions in a
manner that can be reasonably expected by the
customer.
 Like all other testing steps, validation tries to uncover
errors, but the focus is at the requirements level— on
things that will be immediately apparent to the end-user.
 Reasonable expectations are defined in the Software
Requirements Specification— a document that describes
all user-visible attributes of the software.
 Validation testing comprises of
 Validation Test criteria
 Configuration review
 Alpha & Beta Testing
Validation Test criteria
 It is achieved through a series of tests that demonstrate agreement
with requirements.
 Both the plan and procedure are designed to ensure that
 all functional requirements are satisfied,
 all behavioral characteristics are achieved,
 all performance requirements are attained,
 documentation is correct,
 other requirements are met.
Configuration Review
 The intent of the review is to ensure that
all elements of the software configuration
have been properly developed, are
cataloged, and have the necessary detail
to the support phase of the software life
cycle.
 The configuration review, sometimes
called an audit.
Alpha and Beta Testing
 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.
 Most software product builders use a process
called alpha and beta testing to uncover errors
that only the end-user seems able to find.
Alpha testing
 The alpha test is conducted at the
developer's site by a customer.
 The software is used in a natural setting
with the developer "looking over the
shoulder" of the user 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 customer sites
by the end-user of the software.
 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.
 As a result of problems reported during beta tests,
software engineers make modifications and then prepare
for release of the software product to the entire customer
base.

Weitere ähnliche Inhalte

Was ist angesagt?

Uml diagrams
Uml diagramsUml diagrams
Uml diagramsbarney92
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML DiagramsManish Kumar
 
Agile Process models
Agile Process modelsAgile Process models
Agile Process modelsStudent
 
Evolutionary process models se.ppt
Evolutionary process models se.pptEvolutionary process models se.ppt
Evolutionary process models se.pptbhadjaashvini1
 
SE CHAPTER 2 PROCESS MODELS
SE CHAPTER 2 PROCESS MODELSSE CHAPTER 2 PROCESS MODELS
SE CHAPTER 2 PROCESS MODELSAbrar ali
 
Software Development Life Cycle (SDLC)
Software Development Life Cycle (SDLC)Software Development Life Cycle (SDLC)
Software Development Life Cycle (SDLC)Mohamed Sami El-Tahawy
 
Quality Management in Software Engineering SE24
Quality Management in Software Engineering SE24Quality Management in Software Engineering SE24
Quality Management in Software Engineering SE24koolkampus
 
Quality Assurance and Software Testing
Quality Assurance and Software TestingQuality Assurance and Software Testing
Quality Assurance and Software Testingpingkapil
 
Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategiesSHREEHARI WADAWADAGI
 
Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and DesignDr. C.V. Suresh Babu
 
Software project planning
Software project planningSoftware project planning
Software project planningrajvir_kaur
 
V model presentation
V model presentationV model presentation
V model presentationNiat Murad
 
Design Concepts in Software Engineering-1.pptx
Design Concepts in Software Engineering-1.pptxDesign Concepts in Software Engineering-1.pptx
Design Concepts in Software Engineering-1.pptxKarthigaiSelviS3
 
Software Development Life Cycle Model
Software Development Life Cycle ModelSoftware Development Life Cycle Model
Software Development Life Cycle ModelJ.T.A.JONES
 
Software architecture
Software architectureSoftware architecture
Software architecturenazn
 

Was ist angesagt? (20)

Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
 
Software design
Software designSoftware design
Software design
 
Overview of UML Diagrams
Overview of UML DiagramsOverview of UML Diagrams
Overview of UML Diagrams
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Agile Process models
Agile Process modelsAgile Process models
Agile Process models
 
Evolutionary process models se.ppt
Evolutionary process models se.pptEvolutionary process models se.ppt
Evolutionary process models se.ppt
 
Use case diagram
Use case diagramUse case diagram
Use case diagram
 
SE CHAPTER 2 PROCESS MODELS
SE CHAPTER 2 PROCESS MODELSSE CHAPTER 2 PROCESS MODELS
SE CHAPTER 2 PROCESS MODELS
 
Software Development Life Cycle (SDLC)
Software Development Life Cycle (SDLC)Software Development Life Cycle (SDLC)
Software Development Life Cycle (SDLC)
 
Quality Management in Software Engineering SE24
Quality Management in Software Engineering SE24Quality Management in Software Engineering SE24
Quality Management in Software Engineering SE24
 
Quality Assurance and Software Testing
Quality Assurance and Software TestingQuality Assurance and Software Testing
Quality Assurance and Software Testing
 
Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategies
 
Software Verification & Validation
Software Verification & ValidationSoftware Verification & Validation
Software Verification & Validation
 
Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and Design
 
Software project planning
Software project planningSoftware project planning
Software project planning
 
V model presentation
V model presentationV model presentation
V model presentation
 
Design Concepts in Software Engineering-1.pptx
Design Concepts in Software Engineering-1.pptxDesign Concepts in Software Engineering-1.pptx
Design Concepts in Software Engineering-1.pptx
 
Software Development Life Cycle Model
Software Development Life Cycle ModelSoftware Development Life Cycle Model
Software Development Life Cycle Model
 
Software architecture
Software architectureSoftware architecture
Software architecture
 
SDLC MODEL
SDLC MODEL SDLC MODEL
SDLC MODEL
 

Ähnlich wie Testing strategies in Software Engineering

software testing strategies
software testing strategiessoftware testing strategies
software testing strategiesHemanth Gajula
 
Chapter 9 Testing Strategies.ppt
Chapter 9 Testing Strategies.pptChapter 9 Testing Strategies.ppt
Chapter 9 Testing Strategies.pptVijayaPratapReddyM
 
Validation & verification software engineering
Validation & verification software engineeringValidation & verification software engineering
Validation & verification software engineeringSweta Kumari Barnwal
 
Manual testing
Manual testingManual testing
Manual testingVivek V
 
Software testing
Software testingSoftware testing
Software testingSengu Msc
 
Software testing
Software testingSoftware testing
Software testingSengu Msc
 
Software verification & validation
Software verification & validationSoftware verification & validation
Software verification & validationHamza Khan
 
Software testing sengu
Software testing  senguSoftware testing  sengu
Software testing senguSengu Msc
 
softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1FAIZALSAIYED
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance Webtech Learning
 
Mca se chapter_07_software_validation
Mca se chapter_07_software_validationMca se chapter_07_software_validation
Mca se chapter_07_software_validationAman Adhikari
 
Software Testing
Software TestingSoftware Testing
Software TestingSengu Msc
 
Software testing basic
Software testing basicSoftware testing basic
Software testing basicRohit Singh
 

Ähnlich wie Testing strategies in Software Engineering (20)

Software testing
Software testingSoftware testing
Software testing
 
software testing strategies
software testing strategiessoftware testing strategies
software testing strategies
 
Chapter 9 Testing Strategies.ppt
Chapter 9 Testing Strategies.pptChapter 9 Testing Strategies.ppt
Chapter 9 Testing Strategies.ppt
 
Validation & verification software engineering
Validation & verification software engineeringValidation & verification software engineering
Validation & verification software engineering
 
Manual testing
Manual testingManual testing
Manual testing
 
Manual testing
Manual testingManual testing
Manual testing
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
UNIT 2.pptx
UNIT 2.pptxUNIT 2.pptx
UNIT 2.pptx
 
Software verification & validation
Software verification & validationSoftware verification & validation
Software verification & validation
 
Software testing sengu
Software testing  senguSoftware testing  sengu
Software testing sengu
 
softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1softwaretestingppt-FINAL-PPT-1
softwaretestingppt-FINAL-PPT-1
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
 
CTFL Module 02
CTFL Module 02CTFL Module 02
CTFL Module 02
 
Mca se chapter_07_software_validation
Mca se chapter_07_software_validationMca se chapter_07_software_validation
Mca se chapter_07_software_validation
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Software testing basic
Software testing basicSoftware testing basic
Software testing basic
 
Sftwre engg.testng
Sftwre engg.testngSftwre engg.testng
Sftwre engg.testng
 
Software test proposal
Software test proposalSoftware test proposal
Software test proposal
 
Software testing2
Software testing2Software testing2
Software testing2
 

Mehr von MuhammadTalha436

Analysis modeling in software engineering
Analysis modeling in software engineeringAnalysis modeling in software engineering
Analysis modeling in software engineeringMuhammadTalha436
 
Software Process in software engineering
Software Process in software engineeringSoftware Process in software engineering
Software Process in software engineeringMuhammadTalha436
 
Software Process Model in software engineering
Software Process Model in software engineeringSoftware Process Model in software engineering
Software Process Model in software engineeringMuhammadTalha436
 
Software engineering interview questions
Software engineering interview questionsSoftware engineering interview questions
Software engineering interview questionsMuhammadTalha436
 
Software Engineering (Short & Long Questions)
Software Engineering (Short & Long Questions)Software Engineering (Short & Long Questions)
Software Engineering (Short & Long Questions)MuhammadTalha436
 
Prototype model (software engineering)
Prototype model (software engineering)  Prototype model (software engineering)
Prototype model (software engineering) MuhammadTalha436
 
Incremental model (software engineering)
Incremental model (software engineering)Incremental model (software engineering)
Incremental model (software engineering)MuhammadTalha436
 
V model (software engineering)
V model (software engineering)V model (software engineering)
V model (software engineering)MuhammadTalha436
 
Waterfall Model (Software Engineering)
Waterfall Model (Software Engineering)  Waterfall Model (Software Engineering)
Waterfall Model (Software Engineering) MuhammadTalha436
 
Software Quality Assurance in software engineering
Software Quality Assurance in software engineeringSoftware Quality Assurance in software engineering
Software Quality Assurance in software engineeringMuhammadTalha436
 
A Risk Analysis and Management in Software Engineering
A Risk Analysis and Management in Software Engineering A Risk Analysis and Management in Software Engineering
A Risk Analysis and Management in Software Engineering MuhammadTalha436
 
Project Management Complete Concept
Project Management Complete Concept Project Management Complete Concept
Project Management Complete Concept MuhammadTalha436
 
Introduction of Software Engineering
Introduction of Software EngineeringIntroduction of Software Engineering
Introduction of Software EngineeringMuhammadTalha436
 
Software Engineering Solved Past Paper 2020
Software Engineering Solved Past Paper 2020 Software Engineering Solved Past Paper 2020
Software Engineering Solved Past Paper 2020 MuhammadTalha436
 
Sofware Engineering Important Past Paper 2019
Sofware Engineering Important Past Paper 2019Sofware Engineering Important Past Paper 2019
Sofware Engineering Important Past Paper 2019MuhammadTalha436
 
Software Engineering Past Papers Notes
Software Engineering Past Papers Notes Software Engineering Past Papers Notes
Software Engineering Past Papers Notes MuhammadTalha436
 
Software Engineering Important Short Question for Exams
Software Engineering Important Short Question for ExamsSoftware Engineering Important Short Question for Exams
Software Engineering Important Short Question for ExamsMuhammadTalha436
 
Software Engineering Past Papers (Short Questions)
Software Engineering Past Papers (Short Questions)Software Engineering Past Papers (Short Questions)
Software Engineering Past Papers (Short Questions)MuhammadTalha436
 
Object Oriented Programming Short Notes for Preperation of Exams
Object Oriented Programming Short Notes for Preperation of ExamsObject Oriented Programming Short Notes for Preperation of Exams
Object Oriented Programming Short Notes for Preperation of ExamsMuhammadTalha436
 

Mehr von MuhammadTalha436 (20)

Analysis modeling in software engineering
Analysis modeling in software engineeringAnalysis modeling in software engineering
Analysis modeling in software engineering
 
Software Process in software engineering
Software Process in software engineeringSoftware Process in software engineering
Software Process in software engineering
 
Software Process Model in software engineering
Software Process Model in software engineeringSoftware Process Model in software engineering
Software Process Model in software engineering
 
Software engineering interview questions
Software engineering interview questionsSoftware engineering interview questions
Software engineering interview questions
 
Software Engineering (Short & Long Questions)
Software Engineering (Short & Long Questions)Software Engineering (Short & Long Questions)
Software Engineering (Short & Long Questions)
 
Prototype model (software engineering)
Prototype model (software engineering)  Prototype model (software engineering)
Prototype model (software engineering)
 
Incremental model (software engineering)
Incremental model (software engineering)Incremental model (software engineering)
Incremental model (software engineering)
 
V model (software engineering)
V model (software engineering)V model (software engineering)
V model (software engineering)
 
Waterfall Model (Software Engineering)
Waterfall Model (Software Engineering)  Waterfall Model (Software Engineering)
Waterfall Model (Software Engineering)
 
Requirements Engineering
Requirements EngineeringRequirements Engineering
Requirements Engineering
 
Software Quality Assurance in software engineering
Software Quality Assurance in software engineeringSoftware Quality Assurance in software engineering
Software Quality Assurance in software engineering
 
A Risk Analysis and Management in Software Engineering
A Risk Analysis and Management in Software Engineering A Risk Analysis and Management in Software Engineering
A Risk Analysis and Management in Software Engineering
 
Project Management Complete Concept
Project Management Complete Concept Project Management Complete Concept
Project Management Complete Concept
 
Introduction of Software Engineering
Introduction of Software EngineeringIntroduction of Software Engineering
Introduction of Software Engineering
 
Software Engineering Solved Past Paper 2020
Software Engineering Solved Past Paper 2020 Software Engineering Solved Past Paper 2020
Software Engineering Solved Past Paper 2020
 
Sofware Engineering Important Past Paper 2019
Sofware Engineering Important Past Paper 2019Sofware Engineering Important Past Paper 2019
Sofware Engineering Important Past Paper 2019
 
Software Engineering Past Papers Notes
Software Engineering Past Papers Notes Software Engineering Past Papers Notes
Software Engineering Past Papers Notes
 
Software Engineering Important Short Question for Exams
Software Engineering Important Short Question for ExamsSoftware Engineering Important Short Question for Exams
Software Engineering Important Short Question for Exams
 
Software Engineering Past Papers (Short Questions)
Software Engineering Past Papers (Short Questions)Software Engineering Past Papers (Short Questions)
Software Engineering Past Papers (Short Questions)
 
Object Oriented Programming Short Notes for Preperation of Exams
Object Oriented Programming Short Notes for Preperation of ExamsObject Oriented Programming Short Notes for Preperation of Exams
Object Oriented Programming Short Notes for Preperation of Exams
 

Kürzlich hochgeladen

call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinojohnmickonozaleda
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 

Kürzlich hochgeladen (20)

call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipino
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 

Testing strategies in Software Engineering

  • 1. Chapter : Testing Strategies
  • 2. Strategic approach to software testing  Generic characteristics of strategic software testing:  To perform effective testing, a software team should conduct effective formal technical reviews.  Testing begins at the component level and works "outward" toward the integration.  Different testing techniques are appropriate at different points.  Testing is conducted by the developer of the software and (for large projects) an independent test group.  Testing and debugging are different activities, but debugging must be accommodated in any testing strategy.
  • 3. Verification and Validation  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 activities that ensure that software correctly implements a specific function.  Validation refers to a different set of activities that ensure that the software that has been built is traceable to customer requirements.  State another way:  Verification: "Are we building the product right?"  Validation: "Are we building the right product?“  The definition of V&V encompasses many of the activities that are similar to software quality assurance (SQA).
  • 4.  V&V encompasses a wide array of SQA activities that include  Formal technical reviews,  quality and configuration audits,  performance monitoring,  simulation,  feasibility study,  documentation review,  database review,  algorithm analysis,  development testing,  qualification testing, and installation testing  Testing does provide the last bastion from which quality can be assessed and, more pragmatically, errors can be uncovered.
  • 5. Software Testing Strategy for conventional software architecture
  • 6.  A Software process & strategy for software testing may also be viewed in the context of the spiral.  Unit testing begins at the vortex of the spiral and concentrates on each unit (i.e., component) of the software.  Testing progresses by moving outward along the spiral to integration testing, where the focus is on design and the construction.  Another turn outward on the spiral, we encounter validation testing, where requirements established as part of software requirements analysis are validated against the software.  Finally, we arrive at system testing, where the software and other system elements are tested as a whole.
  • 7.
  • 8.  Initially, tests focus on each component individually, ensuring that it functions properly as a unit.  Unit testing makes heavy use of white-box testing techniques.  Now, validation testing provides final assurance that software meets all functional, behavioral, and performance requirements.  Black-box testing techniques are used exclusively during validation.  Once validated, must be combined with other system elements (e.g., hardware, people, databases).  System testing verifies that all elements mesh properly and that overall system function / performance is achieved.
  • 9. Criteria for Completion of Testing  There is no definitive answer to state that “we have done with testing”.  One response to the question is: "You're never done testing, the burden simply shifts from you (the software engineer) to your customer." Every time the customer/ user executes a computer program, the program is being tested.  Another response is: "You're done testing when you run out of time (deadline to deliver product to customer) or you run out of money (spend so much money on testing).
  • 10. Unit testing strategies for conventional software  Focuses verification effort on the smallest unit of software design – component or module.  Using the component-level design description as a guide  important control paths are tested to uncover errors within the boundary of the module.  Unit test is white-box oriented, and the step can be conducted in parallel for multiple components.  Unit test consists of  Unit Test Considerations  Unit Test Procedures
  • 12. Errors are commonly found during unit testing  More common errors in computation are  misunderstood or incorrect arithmetic precedence  mixed mode operations,  incorrect initialization,  precision inaccuracy,  incorrect symbolic representation of an expression.  Comparison and control flow are closely coupled to one another  Comparison of different data types,  Incorrect logical operators or precedence,  Incorrect comparison of variables  Improper or nonexistent loop termination,  Failure to exit when divergent iteration is encountered  improperly modified loop variables.
  • 13. Unit Test Procedures  Perform after source code has been generated.  A review of design information provides guidance for establishing test cases. Each test case should be coupled with a set of expected results.
  • 14. Unit Test Procedures Unit Test Environment
  • 15. Integration testing  Integration testing is a systematic technique for constructing the program structure while at the same time conducting tests to uncover errors associated with interfacing.  The objective is to take unit tested components and build a program structure that has been dictated by design.
  • 17. Regression Testing  Each time a new module is added as part of integration testing  New data flow paths are established  New I/O may occur  New control logic is invoked  Due to these changes, may cause problems with functions that previously worked flawlessly.  Regression testing is the re-execution of some subset of tests that have already been conducted to ensure that changes have not propagated unintended side effects.
  • 18. Validation Testing  Validation testing succeeds when software functions in a manner that can be reasonably expected by the customer.  Like all other testing steps, validation tries to uncover errors, but the focus is at the requirements level— on things that will be immediately apparent to the end-user.  Reasonable expectations are defined in the Software Requirements Specification— a document that describes all user-visible attributes of the software.  Validation testing comprises of  Validation Test criteria  Configuration review  Alpha & Beta Testing
  • 19. Validation Test criteria  It is achieved through a series of tests that demonstrate agreement with requirements.  Both the plan and procedure are designed to ensure that  all functional requirements are satisfied,  all behavioral characteristics are achieved,  all performance requirements are attained,  documentation is correct,  other requirements are met.
  • 20. Configuration Review  The intent of the review is to ensure that all elements of the software configuration have been properly developed, are cataloged, and have the necessary detail to the support phase of the software life cycle.  The configuration review, sometimes called an audit.
  • 21. Alpha and Beta Testing  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.  Most software product builders use a process called alpha and beta testing to uncover errors that only the end-user seems able to find.
  • 22. Alpha testing  The alpha test is conducted at the developer's site by a customer.  The software is used in a natural setting with the developer "looking over the shoulder" of the user and recording errors and usage problems.  Alpha tests are conducted in a controlled environment.
  • 23. Beta testing  The beta test is conducted at one or more customer sites by the end-user of the software.  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.  As a result of problems reported during beta tests, software engineers make modifications and then prepare for release of the software product to the entire customer base.