SlideShare a Scribd company logo
Testing and Metrics
• A Strategic approach to software testing
• Verification and validation
• Organizing for software testing
• Testing strategy for conventional software architectures
• Testing strategy for object-oriented architectures
• criteria for completion of testing.
Black box testing and white box testing
Every engineering product can be tested in one
of two ways.
Knowing the specified function that a product has been designed
to perform, tests can conducted to perform each function fully
and same time searching for errors.(Black box testing)
Knowing the internal working of the product, tests can be
conducted to ensure all.(white box testing)
• Black box testing:
• It is a method of s/w testing that examines the
functionality of an application without looking
into its internal structure of working, called an
black box testing.
• This method is applied at any level of testing
(unit,intergration,system,acceptance testing).
• These tests are based on requirements and
functionality.
• Another name for black box testing is
“behavioral testing”
• Black box testing techniques are:
• Equivalence partitioning
• Boundary value analysis
• Cause and effect graph technique
• Decision table testing
• Error causing.
• Equivalence partitioning:
It is one of the test design technique, used in black
box, white box, unit,……
It divides the entire input into partitions and test
each partition at once in time.
When we pick up a value from valid partition the
system should accept the vale.
• Boundary value analysis:
• It is also test design technique and related to
equivalence partitioning.
• Here we are testing both sides of valid partition,
having lower boundary and upper boundary.
• Cause and effect graph technique:
• Cause Effect Graph is a black box testing technique that
graphically illustrates the relationship between a given
outcome and all the factors that influence the outcome.
• cause and graph is based on requirements and situation.
• It is also known as Ishikawa diagram or fish bone diagram
because of the way it looks.
• Decision table:
• Decision table testing is a software testing technique
used to test system behavior for different input
combinations.
• This is a systematic approach where the different input
combinations and their corresponding system behavior
(Output) are captured in a tabular form.
• Error guessing:
• Error guessing is a technique on guessing the
error which can prevail in the code
• It is basically an experience based technique
• Where the test analyst uses his/her experience
to guess the problem in application.
• White box testing:
• White box testing sometimes called as glass-box
testing or transparent testing.
• Using white box testing methods the s/w engineer can
derive test cases
• guarantee that all independent paths within in a
module have been exercised at least once
• exercise all logical decisions on their true and false
sides.
• execute all loops at their boundaries and with in their
operational bounds
• exercise internal data structures to ensure their
validity
• Basis path testing
• Control structure testing.
• In basis path testing they are
• flow graph
• independent program paths
• deriving test cases
• graph matrices
• Step 1: consider program structure
• step 2: program structure is translated to flow
chart .
step 3: flow chart must be converted to flow
graph.(flow graph having nodes and
edges).
step 4: find cyclomatic complexity
step 5: find independent paths
a)how many no. of times that paths are
executed.
Validation testing
Verification :did we built the product right.
Validation :did we built the right product.
Def: validation succeeds when s/w functions work
in a manner that reasonably expected by
customers.
Validation test criteria:
A test procedure defines specific test cases,
It ensures that all functional requirements are
statisfied,
all behavioral characteristics are achived,
all performance requirements are attained,
documentation is correct, and
usability and other requirements are met.
• Configuration review:
• The intension of these review is to ensure
that all s/w configuration have been properly
developed.
• some times called an audit
• Alpha and beta testing:
• Alpha test is conducted at developer’s site by
end-users
• Alpha tests are conducted in a controlled
environment.
• Beta testing is conducted at end-user sites.
• The end-user records the problems that are
encountered during test
• System testing
• System testing is actually a series of different
tests whose primary purpose is to fully
exercise the computer based system.
• Recovery testing:
• Recovery test is a system test that forces the
s/w to fail in variety of ways and verifies that
recovery is properly performed.
• Security testing: it verifies the protection
mechanisms built into a system,infact to
protect it from improper penetration.
• Stress testing:
• Performance testing: the performance test is
designed to test the run-time performance of
s/w.
The art of debugging
Debugging is not the testing, is an art
Debugging occurs as a consequence of successful testing.
Debugging is the action that results in removal of error.
Debugging process:
Process begins with the execution of test cases
Results are, lack of correspondence b/w expected and actual
performance.
Debugging attempts to match symptoms with cause
• Debugging have two out comes
• cause will found and corrected
• the cause will not found, in later cases the
person performing debugging may suspect a
cause.
• They are three debugging strategies.
• 1)brute force
• 2)backtracking
• 3)cause elimination
• Brute force:
• The brute force category of debugging is
probably the most common and least efficient
method for isolating the cause of a software
error.
• We apply brute force debugging methods
when all else fails.
• Using a "let the computer find the error"
philosophy,
• Backtracking
• Backtracking is a fairly common debugging
approach that can be used in small programs.
• where a symptom has been uncovered, the
source code is traced backward (manually)
until the cause is found.
• Cause elimination
• Data related to the error occurrence are
organized to isolate potential causes.
• A "cause hypothesis" is devised and the
aforementioned data are used to prove or
disprove the hypothesis.
• Alternatively, a list of all possible causes is
developed and tests are conducted to eliminate
each.

More Related Content

What's hot

Software testing & its technology
Software testing & its technologySoftware testing & its technology
Software testing & its technologyHasam Panezai
 
Software Testing Foundations Part 4 - Black Box Testing
Software Testing Foundations Part 4 - Black Box TestingSoftware Testing Foundations Part 4 - Black Box Testing
Software Testing Foundations Part 4 - Black Box TestingNikita Knysh
 
Testing
TestingTesting
Testing
Kiran Kumar
 
Software Testing
Software TestingSoftware Testing
Software Testing
Kiran Kumar
 
H testing and debugging
H testing and debuggingH testing and debugging
H testing and debugging
missstevenson01
 
Fundamental Test Process New
Fundamental Test Process NewFundamental Test Process New
Fundamental Test Process NewNikita Knysh
 
Software testing
Software testingSoftware testing
Software testing
Bhagyashree pathak
 
Test case design
Test case designTest case design
Test case design
99pillar
 
Structural and functional testing
Structural and functional testingStructural and functional testing
Structural and functional testing
Himanshu
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
MariamKhan120
 
Chapter 14 software testing techniques
Chapter 14 software testing techniquesChapter 14 software testing techniques
Chapter 14 software testing techniques
SHREEHARI WADAWADAGI
 
Software Testing Technique in Software Engineering
Software Testing Technique in Software EngineeringSoftware Testing Technique in Software Engineering
Software Testing Technique in Software Engineering
Ismail Hussain
 
debugging and testing
debugging and testingdebugging and testing
debugging and testing
Sevajothi Crafts
 
Object oriented testing
Object oriented testingObject oriented testing
Object oriented testing
Haris Jamil
 
White box black box & gray box testing
White box black box & gray box testingWhite box black box & gray box testing
White box black box & gray box testing
Himanshu
 
Lesson 2....PPT 1
Lesson 2....PPT 1Lesson 2....PPT 1
Lesson 2....PPT 1
bhushan Nehete
 
Fundamentals of software part 1
Fundamentals of software part 1Fundamentals of software part 1
Fundamentals of software part 1
Siddharth Sharma
 

What's hot (20)

Introduction to White box testing
Introduction to White box testingIntroduction to White box testing
Introduction to White box testing
 
Software testing & its technology
Software testing & its technologySoftware testing & its technology
Software testing & its technology
 
Software Testing Foundations Part 4 - Black Box Testing
Software Testing Foundations Part 4 - Black Box TestingSoftware Testing Foundations Part 4 - Black Box Testing
Software Testing Foundations Part 4 - Black Box Testing
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Testing
TestingTesting
Testing
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
H testing and debugging
H testing and debuggingH testing and debugging
H testing and debugging
 
Fundamental Test Process New
Fundamental Test Process NewFundamental Test Process New
Fundamental Test Process New
 
Software testing
Software testingSoftware testing
Software testing
 
Test case design
Test case designTest case design
Test case design
 
Structural and functional testing
Structural and functional testingStructural and functional testing
Structural and functional testing
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
Chapter 14 software testing techniques
Chapter 14 software testing techniquesChapter 14 software testing techniques
Chapter 14 software testing techniques
 
Black box & white-box testing technique
Black box & white-box testing techniqueBlack box & white-box testing technique
Black box & white-box testing technique
 
Software Testing Technique in Software Engineering
Software Testing Technique in Software EngineeringSoftware Testing Technique in Software Engineering
Software Testing Technique in Software Engineering
 
debugging and testing
debugging and testingdebugging and testing
debugging and testing
 
Object oriented testing
Object oriented testingObject oriented testing
Object oriented testing
 
White box black box & gray box testing
White box black box & gray box testingWhite box black box & gray box testing
White box black box & gray box testing
 
Lesson 2....PPT 1
Lesson 2....PPT 1Lesson 2....PPT 1
Lesson 2....PPT 1
 
Fundamentals of software part 1
Fundamentals of software part 1Fundamentals of software part 1
Fundamentals of software part 1
 

Similar to Unit 4 testing

Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
Raviteja Chowdary Adusumalli
 
Software testing software engineering.pdf
Software testing software engineering.pdfSoftware testing software engineering.pdf
Software testing software engineering.pdf
vaibhavshukla3003
 
Black box testing
Black box testingBlack box testing
Black box testing
Nakul Sharma
 
Sorfware engineering presentation (software testing)
Sorfware engineering presentation (software testing)Sorfware engineering presentation (software testing)
Sorfware engineering presentation (software testing)
1Arun_Pandey
 
software testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblbsoftware testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblb
jeyasrig
 
Software Engineering TESTING AND MAINTENANCE
Software Engineering TESTING AND MAINTENANCESoftware Engineering TESTING AND MAINTENANCE
Software Engineering TESTING AND MAINTENANCE
Dr Anuranjan Misra
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
Saqib Raza
 
Manual Testing software testing all slide
Manual Testing software testing all slideManual Testing software testing all slide
Manual Testing software testing all slide
SmileySmiley39
 
A Software Testing Intro
A Software Testing IntroA Software Testing Intro
A Software Testing Intro
Evozon Test Lab
 
Software testing
Software testingSoftware testing
Software testing
Preeti Mishra
 
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
ShudipPal
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design
Jayant Dalvi
 
manualtesting-170218090020 (1).pdf
manualtesting-170218090020 (1).pdfmanualtesting-170218090020 (1).pdf
manualtesting-170218090020 (1).pdf
peramdevi06
 
testing strategies and tactics
 testing strategies and tactics testing strategies and tactics
testing strategies and tactics
Preeti Mishra
 
Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysis
WBUTTUTORIALS
 
Software Engineering Lec 10 -software testing--
Software Engineering Lec 10 -software testing--Software Engineering Lec 10 -software testing--
Software Engineering Lec 10 -software testing--
Taymoor Nazmy
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testingAbhishek Saxena
 
Software testing part
Software testing partSoftware testing part
Software testing part
Preeti Mishra
 
Object Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slidesObject Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slides
Punjab University
 

Similar to Unit 4 testing (20)

Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Software testing software engineering.pdf
Software testing software engineering.pdfSoftware testing software engineering.pdf
Software testing software engineering.pdf
 
Black box testing
Black box testingBlack box testing
Black box testing
 
6. oose testing
6. oose testing6. oose testing
6. oose testing
 
Sorfware engineering presentation (software testing)
Sorfware engineering presentation (software testing)Sorfware engineering presentation (software testing)
Sorfware engineering presentation (software testing)
 
software testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblbsoftware testing types jxnvlbnLCBNFVjnl/fknblb
software testing types jxnvlbnLCBNFVjnl/fknblb
 
Software Engineering TESTING AND MAINTENANCE
Software Engineering TESTING AND MAINTENANCESoftware Engineering TESTING AND MAINTENANCE
Software Engineering TESTING AND MAINTENANCE
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
 
Manual Testing software testing all slide
Manual Testing software testing all slideManual Testing software testing all slide
Manual Testing software testing all slide
 
A Software Testing Intro
A Software Testing IntroA Software Testing Intro
A Software Testing Intro
 
Software testing
Software testingSoftware testing
Software testing
 
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
Software Engineering (Software Quality Assurance & Testing: Supplementary Mat...
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design
 
manualtesting-170218090020 (1).pdf
manualtesting-170218090020 (1).pdfmanualtesting-170218090020 (1).pdf
manualtesting-170218090020 (1).pdf
 
testing strategies and tactics
 testing strategies and tactics testing strategies and tactics
testing strategies and tactics
 
Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysis
 
Software Engineering Lec 10 -software testing--
Software Engineering Lec 10 -software testing--Software Engineering Lec 10 -software testing--
Software Engineering Lec 10 -software testing--
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testing
 
Software testing part
Software testing partSoftware testing part
Software testing part
 
Object Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slidesObject Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slides
 

More from TharuniDiddekunta

String class
String classString class
String class
TharuniDiddekunta
 
Exception handling basic
Exception handling basicException handling basic
Exception handling basic
TharuniDiddekunta
 
Creating your own exception
Creating your own exceptionCreating your own exception
Creating your own exception
TharuniDiddekunta
 
Built in exceptions
Built in exceptions Built in exceptions
Built in exceptions
TharuniDiddekunta
 
Packages access protection, importing packages
Packages   access protection, importing packagesPackages   access protection, importing packages
Packages access protection, importing packages
TharuniDiddekunta
 
Interfaces in java
Interfaces in javaInterfaces in java
Interfaces in java
TharuniDiddekunta
 
Inheritance used in java
Inheritance used in javaInheritance used in java
Inheritance used in java
TharuniDiddekunta
 
Operators, control statements represented in java
Operators, control statements  represented in javaOperators, control statements  represented in java
Operators, control statements represented in java
TharuniDiddekunta
 
Classes, objects, methods, constructors, this keyword in java
Classes, objects, methods, constructors, this keyword  in javaClasses, objects, methods, constructors, this keyword  in java
Classes, objects, methods, constructors, this keyword in java
TharuniDiddekunta
 
Arrays in java
Arrays in javaArrays in java
Arrays in java
TharuniDiddekunta
 
Software Metrics (Testing)
Software Metrics (Testing)Software Metrics (Testing)
Software Metrics (Testing)
TharuniDiddekunta
 
unit 3 Design 1
unit 3 Design 1unit 3 Design 1
unit 3 Design 1
TharuniDiddekunta
 
risk managment and quality
risk managment and qualityrisk managment and quality
risk managment and quality
TharuniDiddekunta
 
Design
DesignDesign
Network layer
Network layerNetwork layer
Network layer
TharuniDiddekunta
 
Transport layer and Application layer
Transport layer and Application layerTransport layer and Application layer
Transport layer and Application layer
TharuniDiddekunta
 
Congection control and Internet working
Congection control and Internet workingCongection control and Internet working
Congection control and Internet working
TharuniDiddekunta
 

More from TharuniDiddekunta (17)

String class
String classString class
String class
 
Exception handling basic
Exception handling basicException handling basic
Exception handling basic
 
Creating your own exception
Creating your own exceptionCreating your own exception
Creating your own exception
 
Built in exceptions
Built in exceptions Built in exceptions
Built in exceptions
 
Packages access protection, importing packages
Packages   access protection, importing packagesPackages   access protection, importing packages
Packages access protection, importing packages
 
Interfaces in java
Interfaces in javaInterfaces in java
Interfaces in java
 
Inheritance used in java
Inheritance used in javaInheritance used in java
Inheritance used in java
 
Operators, control statements represented in java
Operators, control statements  represented in javaOperators, control statements  represented in java
Operators, control statements represented in java
 
Classes, objects, methods, constructors, this keyword in java
Classes, objects, methods, constructors, this keyword  in javaClasses, objects, methods, constructors, this keyword  in java
Classes, objects, methods, constructors, this keyword in java
 
Arrays in java
Arrays in javaArrays in java
Arrays in java
 
Software Metrics (Testing)
Software Metrics (Testing)Software Metrics (Testing)
Software Metrics (Testing)
 
unit 3 Design 1
unit 3 Design 1unit 3 Design 1
unit 3 Design 1
 
risk managment and quality
risk managment and qualityrisk managment and quality
risk managment and quality
 
Design
DesignDesign
Design
 
Network layer
Network layerNetwork layer
Network layer
 
Transport layer and Application layer
Transport layer and Application layerTransport layer and Application layer
Transport layer and Application layer
 
Congection control and Internet working
Congection control and Internet workingCongection control and Internet working
Congection control and Internet working
 

Recently uploaded

CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
rosedainty
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 

Recently uploaded (20)

CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 

Unit 4 testing

  • 2. • A Strategic approach to software testing • Verification and validation • Organizing for software testing • Testing strategy for conventional software architectures • Testing strategy for object-oriented architectures • criteria for completion of testing.
  • 3.
  • 4.
  • 5. Black box testing and white box testing Every engineering product can be tested in one of two ways. Knowing the specified function that a product has been designed to perform, tests can conducted to perform each function fully and same time searching for errors.(Black box testing) Knowing the internal working of the product, tests can be conducted to ensure all.(white box testing)
  • 6. • Black box testing: • It is a method of s/w testing that examines the functionality of an application without looking into its internal structure of working, called an black box testing. • This method is applied at any level of testing (unit,intergration,system,acceptance testing). • These tests are based on requirements and functionality.
  • 7. • Another name for black box testing is “behavioral testing” • Black box testing techniques are: • Equivalence partitioning • Boundary value analysis • Cause and effect graph technique • Decision table testing • Error causing.
  • 8. • Equivalence partitioning: It is one of the test design technique, used in black box, white box, unit,…… It divides the entire input into partitions and test each partition at once in time. When we pick up a value from valid partition the system should accept the vale.
  • 9. • Boundary value analysis: • It is also test design technique and related to equivalence partitioning. • Here we are testing both sides of valid partition, having lower boundary and upper boundary.
  • 10. • Cause and effect graph technique: • Cause Effect Graph is a black box testing technique that graphically illustrates the relationship between a given outcome and all the factors that influence the outcome. • cause and graph is based on requirements and situation. • It is also known as Ishikawa diagram or fish bone diagram because of the way it looks.
  • 11. • Decision table: • Decision table testing is a software testing technique used to test system behavior for different input combinations. • This is a systematic approach where the different input combinations and their corresponding system behavior (Output) are captured in a tabular form.
  • 12. • Error guessing: • Error guessing is a technique on guessing the error which can prevail in the code • It is basically an experience based technique • Where the test analyst uses his/her experience to guess the problem in application.
  • 13. • White box testing: • White box testing sometimes called as glass-box testing or transparent testing. • Using white box testing methods the s/w engineer can derive test cases • guarantee that all independent paths within in a module have been exercised at least once • exercise all logical decisions on their true and false sides. • execute all loops at their boundaries and with in their operational bounds • exercise internal data structures to ensure their validity
  • 14. • Basis path testing • Control structure testing. • In basis path testing they are • flow graph • independent program paths • deriving test cases • graph matrices
  • 15. • Step 1: consider program structure • step 2: program structure is translated to flow chart . step 3: flow chart must be converted to flow graph.(flow graph having nodes and edges). step 4: find cyclomatic complexity step 5: find independent paths a)how many no. of times that paths are executed.
  • 16. Validation testing Verification :did we built the product right. Validation :did we built the right product. Def: validation succeeds when s/w functions work in a manner that reasonably expected by customers.
  • 17. Validation test criteria: A test procedure defines specific test cases, It ensures that all functional requirements are statisfied, all behavioral characteristics are achived, all performance requirements are attained, documentation is correct, and usability and other requirements are met.
  • 18. • Configuration review: • The intension of these review is to ensure that all s/w configuration have been properly developed. • some times called an audit • Alpha and beta testing: • Alpha test is conducted at developer’s site by end-users • Alpha tests are conducted in a controlled environment.
  • 19. • Beta testing is conducted at end-user sites. • The end-user records the problems that are encountered during test
  • 20. • System testing • System testing is actually a series of different tests whose primary purpose is to fully exercise the computer based system. • Recovery testing: • Recovery test is a system test that forces the s/w to fail in variety of ways and verifies that recovery is properly performed.
  • 21. • Security testing: it verifies the protection mechanisms built into a system,infact to protect it from improper penetration. • Stress testing: • Performance testing: the performance test is designed to test the run-time performance of s/w.
  • 22. The art of debugging Debugging is not the testing, is an art Debugging occurs as a consequence of successful testing. Debugging is the action that results in removal of error. Debugging process: Process begins with the execution of test cases Results are, lack of correspondence b/w expected and actual performance. Debugging attempts to match symptoms with cause
  • 23.
  • 24. • Debugging have two out comes • cause will found and corrected • the cause will not found, in later cases the person performing debugging may suspect a cause. • They are three debugging strategies. • 1)brute force • 2)backtracking • 3)cause elimination
  • 25. • Brute force: • The brute force category of debugging is probably the most common and least efficient method for isolating the cause of a software error. • We apply brute force debugging methods when all else fails. • Using a "let the computer find the error" philosophy,
  • 26. • Backtracking • Backtracking is a fairly common debugging approach that can be used in small programs. • where a symptom has been uncovered, the source code is traced backward (manually) until the cause is found.
  • 27. • Cause elimination • Data related to the error occurrence are organized to isolate potential causes. • A "cause hypothesis" is devised and the aforementioned data are used to prove or disprove the hypothesis. • Alternatively, a list of all possible causes is developed and tests are conducted to eliminate each.