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

More Related Content

What's hot

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
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
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 testingMakan Singh
 

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
 
Software testing
Software testingSoftware testing
Software testing
 
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.)
 
Software Testing Strategies
Software Testing StrategiesSoftware Testing Strategies
Software Testing Strategies
 
Software testing
Software testingSoftware testing
Software testing
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testing
 
Object Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slidesObject Oriented Testing(OOT) presentation slides
Object Oriented Testing(OOT) presentation slides
 
ISTQB - What's testing
ISTQB - What's testingISTQB - What's testing
ISTQB - What's testing
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4
 
Software testing and analysis
Software testing and analysisSoftware testing and analysis
Software testing and analysis
 
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
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing
Software testingSoftware testing
Software testing
 
testing strategies and tactics
 testing strategies and tactics testing strategies and tactics
testing strategies and tactics
 
Software testing.ppt
Software testing.pptSoftware testing.ppt
Software testing.ppt
 
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
 
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
 
Testing strategies part -1
Testing strategies part -1Testing strategies part -1
Testing strategies part -1
 
Software testing introduction
Software testing  introductionSoftware testing  introduction
Software testing introduction
 
Types of Software testing
Types of  Software testingTypes of  Software testing
Types of Software testing
 

Similar to Testing Technique

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
Software testingSoftware testing
Software testing
Preeti Mishra
 
Software testing & its technology
Software testing & its technologySoftware testing & its technology
Software testing & its technologyHasam 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
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 testing part
Software testing partSoftware testing part
Software testing part
Preeti Mishra
 
White box testing
White box testingWhite box testing
White box testing
Neethu Tressa
 

Similar to Testing Technique (20)

Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
 
Software Testing Strategies
Software Testing StrategiesSoftware Testing Strategies
Software Testing Strategies
 
Sorfware engineering presentation (software testing)
Sorfware engineering presentation (software testing)Sorfware engineering presentation (software testing)
Sorfware engineering presentation (software testing)
 
Implementation of Software Testing
Implementation of Software TestingImplementation of Software Testing
Implementation of Software Testing
 
Software testing
Software testingSoftware testing
Software testing
 
Software testing & its technology
Software testing & its technologySoftware testing & its technology
Software testing & its technology
 
Software Engineering TESTING AND MAINTENANCE
Software Engineering TESTING AND MAINTENANCESoftware Engineering TESTING AND MAINTENANCE
Software Engineering TESTING AND MAINTENANCE
 
Structured system analysis and design
Structured system analysis and design Structured system analysis and design
Structured system analysis and design
 
Software Testing Strategy
Software Testing StrategySoftware Testing Strategy
Software Testing Strategy
 
Module V - Software Testing Strategies.pdf
Module V - Software Testing Strategies.pdfModule V - Software Testing Strategies.pdf
Module V - Software Testing Strategies.pdf
 
Lec25
Lec25Lec25
Lec25
 
6. oose testing
6. oose testing6. oose testing
6. oose testing
 
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
 
Testing
TestingTesting
Testing
 
Software Engineering (Testing Overview)
Software Engineering (Testing Overview)Software Engineering (Testing Overview)
Software Engineering (Testing Overview)
 
Software testing-and-analysis
Software testing-and-analysisSoftware testing-and-analysis
Software testing-and-analysis
 
Fundamentals of software part 1
Fundamentals of software part 1Fundamentals of software part 1
Fundamentals of software part 1
 
Software testing part
Software testing partSoftware testing part
Software testing part
 
White box testing
White box testingWhite box testing
White box testing
 

More from 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
 
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
 

More from Ajeng Savitri (20)

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

Recently uploaded

Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
Globus
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
wottaspaceseo
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
AMB-Review
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Anthony Dahanne
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
rickgrimesss22
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
e20449
 
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfEnhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Jay Das
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
informapgpstrackings
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 

Recently uploaded (20)

Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
 
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfEnhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 

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