SlideShare a Scribd company logo
MEETING 6
TESTING TECHNIQUES
SOFTWARE TESTING
By : Ajeng Savitri Puspaningrum, M.Kom
OBJECTIVE
• Learning Testing Techniques
Testing
Techniques
4
CLASSIFICATION AND CATEGORIZATION
• Testing techniques—also referred to as methods—
can be classified by their characteristics. Common
classification schemes are by main characteristic of
a test by the target of testing (e.g. GUI or
integration) and by the available information
• There are three main classes of testing techniques:
• Static testing
• Dynamic testing
• Exhaustive testing
5
CATEGORIZATION
OF TESTING
TECHNIQUES
6
STATIC TECHNIQUES
• Static techniques consider the program
at a given point, usually without
executing it.
• This technique does not create test
cases since there is no execution of the
program to be tested
• There are two type of static technique :
• Verification
• Static analysis
7
VERIFICATION
• Verification techniques aim at formally checking
a program against its specification.
• Formal techniques
• Based on the specification of the program, consistency of
the program and its specification is proven
• An exhaustive specification is required and it has to be
transferred to a formal specification.
• Symbolic tests
• Variables in the program are treated as logic variables
instead of parameterizing them with constant values
• Combinations of input parameters and expected output
can be used as test cases
8
STATIC ANALYSIS
• Static analysis does not execute the program under
consideration and does not necessarily require tool
support
• Style analysis
• A technique that checks source code for its compliance
with predefined conventions.
• Slicing
• Used to automatically discover interrelations within
programs, for examples with regard to the influence of
statements on variables
• Control flow analysis
• Used to detect code that cannot be executed for semantic
reasons (dead code) and loops that cannot be left once
entered
9
STATIC ANALYSIS(CONT…)
• Data flow (anomaly) analysis
• Used to detect parts of programs that deviate from the
expectation
• Software inspections and code reviews
• An extensive field with a number of techniques to manually
assess the source code.
• Not only defects are searched for, but reviewers assess
whether the desired level of quality has been reached and
whether conventions are fulfilled
• Metrics
• Used to assess a program’s quality, to handle complexity, to
control the development process, and to check if standards
are met
• Useful to estimate effort, costs, and duration, to proactively
identify problems, for reasons of comparison, and to judge
the effectivity of newly introduced tools and methods
10
DYNAMIC TECHNIQUES
• Dynamic techniques are based on executing
the code in order to detect failures
• This techniques divided by their orientation
on a program’s structure or functions, as
follow :
• Structure Oriented
• Function Oriented
• Dynamic Analysis
• Performance Tests
• Experience Based
• Further Techniques
11
STRUCTURE ORIENTED
• A program is tested against its own code
which is forcing testers to check the code in
detail.
• Control flow testing
• Used to cover each path through a program by built a
control flow graph (CFG)
• Data flow testing
• Conducting by used information on how data is
processed by a program which is checked when
variables are read and written
12
FUNCTION ORIENTED
• To test a program’s functions, cause and effects of it
• Should not be conducted by the developers that
implemented them
• Function coverage
• Used to cover each function with one test case
• Use case oriented
• For each use case, as many test cases have to be created as are
required to cover each corresponding path at least once
• Decision tables
• Summarize rules in clearly arranged tables which is made up of
conditions and actions.
• Used for cause effect analyses that try to decrease the number of
required test cases
13
FUNCTION ORIENTED(CONT…)
• Equivalence partitioning and boundary value
• In Equivalence partitioning (also called input testing), test cases align with
classes that are to be tested both in a macro and in a micro perspective
• Boundary values analysis is using numeric values (in particular intervals)
whereas equivalence partitioning only uses textual or property values
• Domain testing
• Used to check equivalence classes’ boundaries and reduce the number of
test cases required to test all (remaining) classes
• Partition analysis
• An approach that combines different ideas, namely verification and
testing which uses symbolic execution and defines three criteria for
comparing specification and implementation of a program: compatibility,
equivalence, and isomorphism
• State oriented testing
• A technique that takes the idea of structured testing to black-box tests
• To cover each transition between states at least once.
14
DYNAMIC ANALYSIS
• Reveal defects that are almost impossible to find
with other techniques and can be used to
visualize a program’s performance and to deduce
runtime information.
• Finding Memory Leaks
• describe a conditions in which programs continuously
allocate more memory than they need and not completely
deallocated after not being needed any more
• Finding Performance Bottlenecks
• Used for test software that consists of multiple large
modules or that has sophisticated algorithms
• Dynamic Symbolic Execution
• The basic principles are the same as symbolic tests but in
place of statically checking the code, it is executed
15
PERFORMANCE TESTS
• Also be called efficiency tests, are used to assess the
runtime behavior with regard to resource utilization
and response times.
• Conducted to ensure that a program will work under
unforeseeable future conditions
• Load test/Volume Test
• Used to assess a program’s behavior under load (the sum of
inputs to the program, resembles the typical workload that is
estimated for the program)
• Stress test
• Programs are tested with loads that are beyond the expected
workload even beyond the maximum noted in the specification
in order to fathom how the program behaves under such
workloads
16
EXPERIENCE BASED
• Also called free testing techniques, are not rely on a
structured approach but utilize a tester’s experience
and high testing skills in order to test effectively
• Intuitive Testing
• Testers have in mind where defects might be or what might cause
failures (error hypotheses)
• Explorative Testing
• Attacks are used to check whether a program is prone to common
problems and often is used for security testing
17
FURTHER TECHNIQUES
• Back-to-back tests
• Especially used for embedded systems, the programs are
run and their outputs are compared
• Mutation tests
• Do not mean to test a program but the tests written for
this program, attributed to fault-based testing
• Statistic Testing
• Based on probability distributions of the usage of classes,
methods, or other program components
• Tests are generated and their contribution to covering
classes, methods, or other program components is
assessed.
“ YOU’RE NEVER DONE
TESTING !
The burden simply shifts
from you (the software engineer) to the end user
18
19
KIND OF TESTING
• Conventional Software Testing
• White-box testing
• Basis path testing
• Control Structure Testing
• Black-box testing
• Object Oriented Software Testing
• Class level testing
• Inter class testing
*will be disscuss next meeting
References
Lewis, W. E. (2009). Software Testing And Continuous Quality
Improvement ed. 3rd. Auerbach publications.
02
Majchrzak, T. A. (2012). Improving Software Testing: Technical And
Organizational Developments. Springer Science & Business Media.
03
Myers, G. J., Sandler, C., & Badgett, T. (2012). The Art Of Software
Testing. John Wiley & Sons.
04
Roger, S. P., & Bruce, R. M. (2019). Software Engineering: A
Practitioner’s Approach Ed.9th. McGraw-Hill Education.
01
THANK YOU
Insert the Subtitle of Your Presentation
Ad

More Related Content

What's hot (20)

Software Testing Strategies, Method and Life Cycle
Software Testing Strategies, Method and Life CycleSoftware Testing Strategies, Method and Life Cycle
Software Testing Strategies, Method and Life Cycle
NexSoftsys
 
Software testing
Software testingSoftware testing
Software testing
Nitish Upreti
 
Software quality and testing (func. & non func.)
Software quality and testing (func. & non   func.)Software quality and testing (func. & non   func.)
Software quality and testing (func. & non func.)
Pragya G
 
Software Testing Strategies
Software Testing StrategiesSoftware Testing Strategies
Software Testing Strategies
Adeel Rasheed
 
Software testing
Software testingSoftware testing
Software testing
Ahmed Moawad
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testing
Hadi Fadlallah
 
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
 
ISTQB - What's testing
ISTQB - What's testingISTQB - What's testing
ISTQB - What's testing
HoangThiHien1
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4
Mohammad Faizan
 
Software testing and analysis
Software testing and analysisSoftware testing and analysis
Software testing and analysis
360logica Software Testing Services (A Saksoft Company)
 
Research issues in object oriented software testing
Research issues in object oriented software testingResearch issues in object oriented software testing
Research issues in object oriented software testing
Anshul Vinayak
 
Software testing
Software testingSoftware testing
Software testing
Omar Al-Bokari
 
Software testing
Software testingSoftware testing
Software testing
balamurugan.k Kalibalamurugan
 
testing strategies and tactics
 testing strategies and tactics testing strategies and tactics
testing strategies and tactics
Preeti Mishra
 
Software testing.ppt
Software testing.pptSoftware testing.ppt
Software testing.ppt
Komal Garg
 
Different Software Testing Levels for Detecting Errors
Different Software Testing Levels for Detecting ErrorsDifferent Software Testing Levels for Detecting Errors
Different Software Testing Levels for Detecting Errors
Waqas Tariq
 
Software Testing Fundamentals | Basics Of Software Testing
Software Testing Fundamentals | Basics Of Software TestingSoftware Testing Fundamentals | Basics Of Software Testing
Software Testing Fundamentals | Basics Of Software Testing
KostCare
 
Testing strategies part -1
Testing strategies part -1Testing strategies part -1
Testing strategies part -1
Divya Tiwari
 
Software testing introduction
Software testing  introductionSoftware testing  introduction
Software testing introduction
GaneshKumarKanthiah
 
Types of Software testing
Types of  Software testingTypes of  Software testing
Types of Software testing
Makan Singh
 
Software Testing Strategies, Method and Life Cycle
Software Testing Strategies, Method and Life CycleSoftware Testing Strategies, Method and Life Cycle
Software Testing Strategies, Method and Life Cycle
NexSoftsys
 
Software quality and testing (func. & non func.)
Software quality and testing (func. & non   func.)Software quality and testing (func. & non   func.)
Software quality and testing (func. & non func.)
Pragya G
 
Software Testing Strategies
Software Testing StrategiesSoftware Testing Strategies
Software Testing Strategies
Adeel Rasheed
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testing
Hadi Fadlallah
 
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
 
ISTQB - What's testing
ISTQB - What's testingISTQB - What's testing
ISTQB - What's testing
HoangThiHien1
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4
Mohammad Faizan
 
Research issues in object oriented software testing
Research issues in object oriented software testingResearch issues in object oriented software testing
Research issues in object oriented software testing
Anshul Vinayak
 
testing strategies and tactics
 testing strategies and tactics testing strategies and tactics
testing strategies and tactics
Preeti Mishra
 
Software testing.ppt
Software testing.pptSoftware testing.ppt
Software testing.ppt
Komal Garg
 
Different Software Testing Levels for Detecting Errors
Different Software Testing Levels for Detecting ErrorsDifferent Software Testing Levels for Detecting Errors
Different Software Testing Levels for Detecting Errors
Waqas Tariq
 
Software Testing Fundamentals | Basics Of Software Testing
Software Testing Fundamentals | Basics Of Software TestingSoftware Testing Fundamentals | Basics Of Software Testing
Software Testing Fundamentals | Basics Of Software Testing
KostCare
 
Testing strategies part -1
Testing strategies part -1Testing strategies part -1
Testing strategies part -1
Divya Tiwari
 
Types of Software testing
Types of  Software testingTypes of  Software testing
Types of Software testing
Makan Singh
 

Similar to Testing Technique (20)

Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
Raviteja Chowdary Adusumalli
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
Saqib Raza
 
Software Testing Strategies
Software Testing StrategiesSoftware Testing Strategies
Software Testing Strategies
Alpana Bhaskar
 
Sorfware engineering presentation (software testing)
Sorfware engineering presentation (software testing)Sorfware engineering presentation (software testing)
Sorfware engineering presentation (software testing)
1Arun_Pandey
 
Implementation of Software Testing
Implementation of Software TestingImplementation of Software Testing
Implementation of Software Testing
Mahesh Kodituwakku
 
Software_Testing_Techniques_undergraduate.pptx
Software_Testing_Techniques_undergraduate.pptxSoftware_Testing_Techniques_undergraduate.pptx
Software_Testing_Techniques_undergraduate.pptx
MrittikaMahbub1
 
S.E Unit 6colorcolorcolorcolorcolorcolor.pptx
S.E Unit 6colorcolorcolorcolorcolorcolor.pptxS.E Unit 6colorcolorcolorcolorcolorcolor.pptx
S.E Unit 6colorcolorcolorcolorcolorcolor.pptx
SsdSsd5
 
Software testing
Software testingSoftware testing
Software testing
Preeti Mishra
 
Software testing & its technology
Software testing & its technologySoftware testing & its technology
Software testing & its technology
Hasam Panezai
 
Software Engineering TESTING AND MAINTENANCE
Software Engineering TESTING AND MAINTENANCESoftware Engineering TESTING AND MAINTENANCE
Software Engineering TESTING AND MAINTENANCE
Dr Anuranjan Misra
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design
Jayant Dalvi
 
Software Testing Strategy
Software Testing StrategySoftware Testing Strategy
Software Testing Strategy
Ajeng Savitri
 
Module V - Software Testing Strategies.pdf
Module V - Software Testing Strategies.pdfModule V - Software Testing Strategies.pdf
Module V - Software Testing Strategies.pdf
adhithanr
 
Lec25
Lec25Lec25
Lec25
Omkar Gupta
 
6. oose testing
6. oose testing6. oose testing
6. oose testing
Ashenafi Workie
 
Unit iv-testing-pune-university-sres-coe
Unit iv-testing-pune-university-sres-coeUnit iv-testing-pune-university-sres-coe
Unit iv-testing-pune-university-sres-coe
Hitesh Mohapatra
 
Testing
TestingTesting
Testing
Ajeng Savitri
 
Software Engineering (Testing Overview)
Software Engineering (Testing Overview)Software Engineering (Testing Overview)
Software Engineering (Testing Overview)
ShudipPal
 
Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysis
WBUTTUTORIALS
 
Fundamentals of software part 1
Fundamentals of software part 1Fundamentals of software part 1
Fundamentals of software part 1
Siddharth Sharma
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
Saqib Raza
 
Software Testing Strategies
Software Testing StrategiesSoftware Testing Strategies
Software Testing Strategies
Alpana Bhaskar
 
Sorfware engineering presentation (software testing)
Sorfware engineering presentation (software testing)Sorfware engineering presentation (software testing)
Sorfware engineering presentation (software testing)
1Arun_Pandey
 
Implementation of Software Testing
Implementation of Software TestingImplementation of Software Testing
Implementation of Software Testing
Mahesh Kodituwakku
 
Software_Testing_Techniques_undergraduate.pptx
Software_Testing_Techniques_undergraduate.pptxSoftware_Testing_Techniques_undergraduate.pptx
Software_Testing_Techniques_undergraduate.pptx
MrittikaMahbub1
 
S.E Unit 6colorcolorcolorcolorcolorcolor.pptx
S.E Unit 6colorcolorcolorcolorcolorcolor.pptxS.E Unit 6colorcolorcolorcolorcolorcolor.pptx
S.E Unit 6colorcolorcolorcolorcolorcolor.pptx
SsdSsd5
 
Software testing & its technology
Software testing & its technologySoftware testing & its technology
Software testing & its technology
Hasam Panezai
 
Software Engineering TESTING AND MAINTENANCE
Software Engineering TESTING AND MAINTENANCESoftware Engineering TESTING AND MAINTENANCE
Software Engineering TESTING AND MAINTENANCE
Dr Anuranjan Misra
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design
Jayant Dalvi
 
Software Testing Strategy
Software Testing StrategySoftware Testing Strategy
Software Testing Strategy
Ajeng Savitri
 
Module V - Software Testing Strategies.pdf
Module V - Software Testing Strategies.pdfModule V - Software Testing Strategies.pdf
Module V - Software Testing Strategies.pdf
adhithanr
 
Unit iv-testing-pune-university-sres-coe
Unit iv-testing-pune-university-sres-coeUnit iv-testing-pune-university-sres-coe
Unit iv-testing-pune-university-sres-coe
Hitesh Mohapatra
 
Software Engineering (Testing Overview)
Software Engineering (Testing Overview)Software Engineering (Testing Overview)
Software Engineering (Testing Overview)
ShudipPal
 
Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysis
WBUTTUTORIALS
 
Fundamentals of software part 1
Fundamentals of software part 1Fundamentals of software part 1
Fundamentals of software part 1
Siddharth Sharma
 
Ad

More from Ajeng Savitri (20)

Software Testing Documentation
Software Testing DocumentationSoftware Testing Documentation
Software Testing Documentation
Ajeng Savitri
 
Software Productivity Measurement
Software Productivity MeasurementSoftware Productivity Measurement
Software Productivity Measurement
Ajeng Savitri
 
Debugging (Part 2)
Debugging (Part 2)Debugging (Part 2)
Debugging (Part 2)
Ajeng Savitri
 
Debugging
DebuggingDebugging
Debugging
Ajeng Savitri
 
Software Testing Strategy (Part 2)
Software Testing Strategy (Part 2)Software Testing Strategy (Part 2)
Software Testing Strategy (Part 2)
Ajeng Savitri
 
Object Oriented Testing
Object Oriented TestingObject Oriented Testing
Object Oriented Testing
Ajeng Savitri
 
Testing Technique (Part 2)
Testing Technique (Part 2)Testing Technique (Part 2)
Testing Technique (Part 2)
Ajeng Savitri
 
Methodology Selection Strategy
Methodology Selection Strategy Methodology Selection Strategy
Methodology Selection Strategy
Ajeng Savitri
 
Software Testing - Software Quality (Part 2)
Software Testing - Software Quality (Part 2)Software Testing - Software Quality (Part 2)
Software Testing - Software Quality (Part 2)
Ajeng Savitri
 
Computer Evolution and Performance
Computer Evolution and PerformanceComputer Evolution and Performance
Computer Evolution and Performance
Ajeng Savitri
 
Sequence Diagram
Sequence DiagramSequence Diagram
Sequence Diagram
Ajeng Savitri
 
Activity Diagram
Activity DiagramActivity Diagram
Activity Diagram
Ajeng Savitri
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
Ajeng Savitri
 
Requirement Gathering
Requirement GatheringRequirement Gathering
Requirement Gathering
Ajeng Savitri
 
Business Value
Business ValueBusiness Value
Business Value
Ajeng Savitri
 
Agile Development
Agile DevelopmentAgile Development
Agile Development
Ajeng Savitri
 
Structured Design
Structured DesignStructured Design
Structured Design
Ajeng Savitri
 
Introduction to SDLC
Introduction to SDLC Introduction to SDLC
Introduction to SDLC
Ajeng Savitri
 
Systems Analyst and Its Roles (2)
Systems Analyst and Its Roles (2)Systems Analyst and Its Roles (2)
Systems Analyst and Its Roles (2)
Ajeng Savitri
 
Systems Analyst and Its Roles
Systems Analyst and Its RolesSystems Analyst and Its Roles
Systems Analyst and Its Roles
Ajeng Savitri
 
Software Testing Documentation
Software Testing DocumentationSoftware Testing Documentation
Software Testing Documentation
Ajeng Savitri
 
Software Productivity Measurement
Software Productivity MeasurementSoftware Productivity Measurement
Software Productivity Measurement
Ajeng Savitri
 
Software Testing Strategy (Part 2)
Software Testing Strategy (Part 2)Software Testing Strategy (Part 2)
Software Testing Strategy (Part 2)
Ajeng Savitri
 
Object Oriented Testing
Object Oriented TestingObject Oriented Testing
Object Oriented Testing
Ajeng Savitri
 
Testing Technique (Part 2)
Testing Technique (Part 2)Testing Technique (Part 2)
Testing Technique (Part 2)
Ajeng Savitri
 
Methodology Selection Strategy
Methodology Selection Strategy Methodology Selection Strategy
Methodology Selection Strategy
Ajeng Savitri
 
Software Testing - Software Quality (Part 2)
Software Testing - Software Quality (Part 2)Software Testing - Software Quality (Part 2)
Software Testing - Software Quality (Part 2)
Ajeng Savitri
 
Computer Evolution and Performance
Computer Evolution and PerformanceComputer Evolution and Performance
Computer Evolution and Performance
Ajeng Savitri
 
Requirement Gathering
Requirement GatheringRequirement Gathering
Requirement Gathering
Ajeng Savitri
 
Introduction to SDLC
Introduction to SDLC Introduction to SDLC
Introduction to SDLC
Ajeng Savitri
 
Systems Analyst and Its Roles (2)
Systems Analyst and Its Roles (2)Systems Analyst and Its Roles (2)
Systems Analyst and Its Roles (2)
Ajeng Savitri
 
Systems Analyst and Its Roles
Systems Analyst and Its RolesSystems Analyst and Its Roles
Systems Analyst and Its Roles
Ajeng Savitri
 
Ad

Recently uploaded (20)

A Comprehensive Guide to CRM Software Benefits for Every Business Stage
A Comprehensive Guide to CRM Software Benefits for Every Business StageA Comprehensive Guide to CRM Software Benefits for Every Business Stage
A Comprehensive Guide to CRM Software Benefits for Every Business Stage
SynapseIndia
 
Mobile Application Developer Dubai | Custom App Solutions by Ajath
Mobile Application Developer Dubai | Custom App Solutions by AjathMobile Application Developer Dubai | Custom App Solutions by Ajath
Mobile Application Developer Dubai | Custom App Solutions by Ajath
Ajath Infotech Technologies LLC
 
[gbgcpp] Let's get comfortable with concepts
[gbgcpp] Let's get comfortable with concepts[gbgcpp] Let's get comfortable with concepts
[gbgcpp] Let's get comfortable with concepts
Dimitrios Platis
 
Surviving a Downturn Making Smarter Portfolio Decisions with OnePlan - Webina...
Surviving a Downturn Making Smarter Portfolio Decisions with OnePlan - Webina...Surviving a Downturn Making Smarter Portfolio Decisions with OnePlan - Webina...
Surviving a Downturn Making Smarter Portfolio Decisions with OnePlan - Webina...
OnePlan Solutions
 
How to Install and Activate ListGrabber Plugin
How to Install and Activate ListGrabber PluginHow to Install and Activate ListGrabber Plugin
How to Install and Activate ListGrabber Plugin
eGrabber
 
sequencediagrams.pptx software Engineering
sequencediagrams.pptx software Engineeringsequencediagrams.pptx software Engineering
sequencediagrams.pptx software Engineering
aashrithakondapalli8
 
Top Magento Hyvä Theme Features That Make It Ideal for E-commerce.pdf
Top Magento Hyvä Theme Features That Make It Ideal for E-commerce.pdfTop Magento Hyvä Theme Features That Make It Ideal for E-commerce.pdf
Top Magento Hyvä Theme Features That Make It Ideal for E-commerce.pdf
evrigsolution
 
NYC ACE 08-May-2025-Combined Presentation.pdf
NYC ACE 08-May-2025-Combined Presentation.pdfNYC ACE 08-May-2025-Combined Presentation.pdf
NYC ACE 08-May-2025-Combined Presentation.pdf
AUGNYC
 
What Do Candidates Really Think About AI-Powered Recruitment Tools?
What Do Candidates Really Think About AI-Powered Recruitment Tools?What Do Candidates Really Think About AI-Powered Recruitment Tools?
What Do Candidates Really Think About AI-Powered Recruitment Tools?
HireME
 
Orion Context Broker introduction 20250509
Orion Context Broker introduction 20250509Orion Context Broker introduction 20250509
Orion Context Broker introduction 20250509
Fermin Galan
 
Buy vs. Build: Unlocking the right path for your training tech
Buy vs. Build: Unlocking the right path for your training techBuy vs. Build: Unlocking the right path for your training tech
Buy vs. Build: Unlocking the right path for your training tech
Rustici Software
 
How I solved production issues with OpenTelemetry
How I solved production issues with OpenTelemetryHow I solved production issues with OpenTelemetry
How I solved production issues with OpenTelemetry
Cees Bos
 
wAIred_LearnWithOutAI_JCON_14052025.pptx
wAIred_LearnWithOutAI_JCON_14052025.pptxwAIred_LearnWithOutAI_JCON_14052025.pptx
wAIred_LearnWithOutAI_JCON_14052025.pptx
SimonedeGijt
 
How to Troubleshoot 9 Types of OutOfMemoryError
How to Troubleshoot 9 Types of OutOfMemoryErrorHow to Troubleshoot 9 Types of OutOfMemoryError
How to Troubleshoot 9 Types of OutOfMemoryError
Tier1 app
 
Do not let staffing shortages and limited fiscal view hamper your cause
Do not let staffing shortages and limited fiscal view hamper your causeDo not let staffing shortages and limited fiscal view hamper your cause
Do not let staffing shortages and limited fiscal view hamper your cause
Fexle Services Pvt. Ltd.
 
!%& IDM Crack with Internet Download Manager 6.42 Build 32 >
!%& IDM Crack with Internet Download Manager 6.42 Build 32 >!%& IDM Crack with Internet Download Manager 6.42 Build 32 >
!%& IDM Crack with Internet Download Manager 6.42 Build 32 >
Ranking Google
 
Time Estimation: Expert Tips & Proven Project Techniques
Time Estimation: Expert Tips & Proven Project TechniquesTime Estimation: Expert Tips & Proven Project Techniques
Time Estimation: Expert Tips & Proven Project Techniques
Livetecs LLC
 
Memory Management and Leaks in Postgres from pgext.day 2025
Memory Management and Leaks in Postgres from pgext.day 2025Memory Management and Leaks in Postgres from pgext.day 2025
Memory Management and Leaks in Postgres from pgext.day 2025
Phil Eaton
 
Medical Device Cybersecurity Threat & Risk Scoring
Medical Device Cybersecurity Threat & Risk ScoringMedical Device Cybersecurity Threat & Risk Scoring
Medical Device Cybersecurity Threat & Risk Scoring
ICS
 
Autodesk Inventor Crack (2025) Latest
Autodesk Inventor    Crack (2025) LatestAutodesk Inventor    Crack (2025) Latest
Autodesk Inventor Crack (2025) Latest
Google
 
A Comprehensive Guide to CRM Software Benefits for Every Business Stage
A Comprehensive Guide to CRM Software Benefits for Every Business StageA Comprehensive Guide to CRM Software Benefits for Every Business Stage
A Comprehensive Guide to CRM Software Benefits for Every Business Stage
SynapseIndia
 
Mobile Application Developer Dubai | Custom App Solutions by Ajath
Mobile Application Developer Dubai | Custom App Solutions by AjathMobile Application Developer Dubai | Custom App Solutions by Ajath
Mobile Application Developer Dubai | Custom App Solutions by Ajath
Ajath Infotech Technologies LLC
 
[gbgcpp] Let's get comfortable with concepts
[gbgcpp] Let's get comfortable with concepts[gbgcpp] Let's get comfortable with concepts
[gbgcpp] Let's get comfortable with concepts
Dimitrios Platis
 
Surviving a Downturn Making Smarter Portfolio Decisions with OnePlan - Webina...
Surviving a Downturn Making Smarter Portfolio Decisions with OnePlan - Webina...Surviving a Downturn Making Smarter Portfolio Decisions with OnePlan - Webina...
Surviving a Downturn Making Smarter Portfolio Decisions with OnePlan - Webina...
OnePlan Solutions
 
How to Install and Activate ListGrabber Plugin
How to Install and Activate ListGrabber PluginHow to Install and Activate ListGrabber Plugin
How to Install and Activate ListGrabber Plugin
eGrabber
 
sequencediagrams.pptx software Engineering
sequencediagrams.pptx software Engineeringsequencediagrams.pptx software Engineering
sequencediagrams.pptx software Engineering
aashrithakondapalli8
 
Top Magento Hyvä Theme Features That Make It Ideal for E-commerce.pdf
Top Magento Hyvä Theme Features That Make It Ideal for E-commerce.pdfTop Magento Hyvä Theme Features That Make It Ideal for E-commerce.pdf
Top Magento Hyvä Theme Features That Make It Ideal for E-commerce.pdf
evrigsolution
 
NYC ACE 08-May-2025-Combined Presentation.pdf
NYC ACE 08-May-2025-Combined Presentation.pdfNYC ACE 08-May-2025-Combined Presentation.pdf
NYC ACE 08-May-2025-Combined Presentation.pdf
AUGNYC
 
What Do Candidates Really Think About AI-Powered Recruitment Tools?
What Do Candidates Really Think About AI-Powered Recruitment Tools?What Do Candidates Really Think About AI-Powered Recruitment Tools?
What Do Candidates Really Think About AI-Powered Recruitment Tools?
HireME
 
Orion Context Broker introduction 20250509
Orion Context Broker introduction 20250509Orion Context Broker introduction 20250509
Orion Context Broker introduction 20250509
Fermin Galan
 
Buy vs. Build: Unlocking the right path for your training tech
Buy vs. Build: Unlocking the right path for your training techBuy vs. Build: Unlocking the right path for your training tech
Buy vs. Build: Unlocking the right path for your training tech
Rustici Software
 
How I solved production issues with OpenTelemetry
How I solved production issues with OpenTelemetryHow I solved production issues with OpenTelemetry
How I solved production issues with OpenTelemetry
Cees Bos
 
wAIred_LearnWithOutAI_JCON_14052025.pptx
wAIred_LearnWithOutAI_JCON_14052025.pptxwAIred_LearnWithOutAI_JCON_14052025.pptx
wAIred_LearnWithOutAI_JCON_14052025.pptx
SimonedeGijt
 
How to Troubleshoot 9 Types of OutOfMemoryError
How to Troubleshoot 9 Types of OutOfMemoryErrorHow to Troubleshoot 9 Types of OutOfMemoryError
How to Troubleshoot 9 Types of OutOfMemoryError
Tier1 app
 
Do not let staffing shortages and limited fiscal view hamper your cause
Do not let staffing shortages and limited fiscal view hamper your causeDo not let staffing shortages and limited fiscal view hamper your cause
Do not let staffing shortages and limited fiscal view hamper your cause
Fexle Services Pvt. Ltd.
 
!%& IDM Crack with Internet Download Manager 6.42 Build 32 >
!%& IDM Crack with Internet Download Manager 6.42 Build 32 >!%& IDM Crack with Internet Download Manager 6.42 Build 32 >
!%& IDM Crack with Internet Download Manager 6.42 Build 32 >
Ranking Google
 
Time Estimation: Expert Tips & Proven Project Techniques
Time Estimation: Expert Tips & Proven Project TechniquesTime Estimation: Expert Tips & Proven Project Techniques
Time Estimation: Expert Tips & Proven Project Techniques
Livetecs LLC
 
Memory Management and Leaks in Postgres from pgext.day 2025
Memory Management and Leaks in Postgres from pgext.day 2025Memory Management and Leaks in Postgres from pgext.day 2025
Memory Management and Leaks in Postgres from pgext.day 2025
Phil Eaton
 
Medical Device Cybersecurity Threat & Risk Scoring
Medical Device Cybersecurity Threat & Risk ScoringMedical Device Cybersecurity Threat & Risk Scoring
Medical Device Cybersecurity Threat & Risk Scoring
ICS
 
Autodesk Inventor Crack (2025) Latest
Autodesk Inventor    Crack (2025) LatestAutodesk Inventor    Crack (2025) Latest
Autodesk Inventor Crack (2025) Latest
Google
 

Testing Technique

  • 1. MEETING 6 TESTING TECHNIQUES SOFTWARE TESTING By : Ajeng Savitri Puspaningrum, M.Kom
  • 4. 4 CLASSIFICATION AND CATEGORIZATION • Testing techniques—also referred to as methods— can be classified by their characteristics. Common classification schemes are by main characteristic of a test by the target of testing (e.g. GUI or integration) and by the available information • There are three main classes of testing techniques: • Static testing • Dynamic testing • Exhaustive testing
  • 6. 6 STATIC TECHNIQUES • Static techniques consider the program at a given point, usually without executing it. • This technique does not create test cases since there is no execution of the program to be tested • There are two type of static technique : • Verification • Static analysis
  • 7. 7 VERIFICATION • Verification techniques aim at formally checking a program against its specification. • Formal techniques • Based on the specification of the program, consistency of the program and its specification is proven • An exhaustive specification is required and it has to be transferred to a formal specification. • Symbolic tests • Variables in the program are treated as logic variables instead of parameterizing them with constant values • Combinations of input parameters and expected output can be used as test cases
  • 8. 8 STATIC ANALYSIS • Static analysis does not execute the program under consideration and does not necessarily require tool support • Style analysis • A technique that checks source code for its compliance with predefined conventions. • Slicing • Used to automatically discover interrelations within programs, for examples with regard to the influence of statements on variables • Control flow analysis • Used to detect code that cannot be executed for semantic reasons (dead code) and loops that cannot be left once entered
  • 9. 9 STATIC ANALYSIS(CONT…) • Data flow (anomaly) analysis • Used to detect parts of programs that deviate from the expectation • Software inspections and code reviews • An extensive field with a number of techniques to manually assess the source code. • Not only defects are searched for, but reviewers assess whether the desired level of quality has been reached and whether conventions are fulfilled • Metrics • Used to assess a program’s quality, to handle complexity, to control the development process, and to check if standards are met • Useful to estimate effort, costs, and duration, to proactively identify problems, for reasons of comparison, and to judge the effectivity of newly introduced tools and methods
  • 10. 10 DYNAMIC TECHNIQUES • Dynamic techniques are based on executing the code in order to detect failures • This techniques divided by their orientation on a program’s structure or functions, as follow : • Structure Oriented • Function Oriented • Dynamic Analysis • Performance Tests • Experience Based • Further Techniques
  • 11. 11 STRUCTURE ORIENTED • A program is tested against its own code which is forcing testers to check the code in detail. • Control flow testing • Used to cover each path through a program by built a control flow graph (CFG) • Data flow testing • Conducting by used information on how data is processed by a program which is checked when variables are read and written
  • 12. 12 FUNCTION ORIENTED • To test a program’s functions, cause and effects of it • Should not be conducted by the developers that implemented them • Function coverage • Used to cover each function with one test case • Use case oriented • For each use case, as many test cases have to be created as are required to cover each corresponding path at least once • Decision tables • Summarize rules in clearly arranged tables which is made up of conditions and actions. • Used for cause effect analyses that try to decrease the number of required test cases
  • 13. 13 FUNCTION ORIENTED(CONT…) • Equivalence partitioning and boundary value • In Equivalence partitioning (also called input testing), test cases align with classes that are to be tested both in a macro and in a micro perspective • Boundary values analysis is using numeric values (in particular intervals) whereas equivalence partitioning only uses textual or property values • Domain testing • Used to check equivalence classes’ boundaries and reduce the number of test cases required to test all (remaining) classes • Partition analysis • An approach that combines different ideas, namely verification and testing which uses symbolic execution and defines three criteria for comparing specification and implementation of a program: compatibility, equivalence, and isomorphism • State oriented testing • A technique that takes the idea of structured testing to black-box tests • To cover each transition between states at least once.
  • 14. 14 DYNAMIC ANALYSIS • Reveal defects that are almost impossible to find with other techniques and can be used to visualize a program’s performance and to deduce runtime information. • Finding Memory Leaks • describe a conditions in which programs continuously allocate more memory than they need and not completely deallocated after not being needed any more • Finding Performance Bottlenecks • Used for test software that consists of multiple large modules or that has sophisticated algorithms • Dynamic Symbolic Execution • The basic principles are the same as symbolic tests but in place of statically checking the code, it is executed
  • 15. 15 PERFORMANCE TESTS • Also be called efficiency tests, are used to assess the runtime behavior with regard to resource utilization and response times. • Conducted to ensure that a program will work under unforeseeable future conditions • Load test/Volume Test • Used to assess a program’s behavior under load (the sum of inputs to the program, resembles the typical workload that is estimated for the program) • Stress test • Programs are tested with loads that are beyond the expected workload even beyond the maximum noted in the specification in order to fathom how the program behaves under such workloads
  • 16. 16 EXPERIENCE BASED • Also called free testing techniques, are not rely on a structured approach but utilize a tester’s experience and high testing skills in order to test effectively • Intuitive Testing • Testers have in mind where defects might be or what might cause failures (error hypotheses) • Explorative Testing • Attacks are used to check whether a program is prone to common problems and often is used for security testing
  • 17. 17 FURTHER TECHNIQUES • Back-to-back tests • Especially used for embedded systems, the programs are run and their outputs are compared • Mutation tests • Do not mean to test a program but the tests written for this program, attributed to fault-based testing • Statistic Testing • Based on probability distributions of the usage of classes, methods, or other program components • Tests are generated and their contribution to covering classes, methods, or other program components is assessed.
  • 18. “ YOU’RE NEVER DONE TESTING ! The burden simply shifts from you (the software engineer) to the end user 18
  • 19. 19 KIND OF TESTING • Conventional Software Testing • White-box testing • Basis path testing • Control Structure Testing • Black-box testing • Object Oriented Software Testing • Class level testing • Inter class testing *will be disscuss next meeting
  • 20. References Lewis, W. E. (2009). Software Testing And Continuous Quality Improvement ed. 3rd. Auerbach publications. 02 Majchrzak, T. A. (2012). Improving Software Testing: Technical And Organizational Developments. Springer Science & Business Media. 03 Myers, G. J., Sandler, C., & Badgett, T. (2012). The Art Of Software Testing. John Wiley & Sons. 04 Roger, S. P., & Bruce, R. M. (2019). Software Engineering: A Practitioner’s Approach Ed.9th. McGraw-Hill Education. 01
  • 21. THANK YOU Insert the Subtitle of Your Presentation
  翻译: