SlideShare a Scribd company logo
1 of 14
TEST DESIGN TECHNIQUES
[TESTING IMPLEMENTATION SYSTEM]
2017
FITHRATUL HUSNA
PROGRAM S1 SISTEM INFORMASI
FAKULTAS SAINS DAN TEKNOLOGI
UNIVERSITAS ISLAM NEGERI SULTAN SYARIF KASIM RIAU
INFORMATION SYSTEM – UIN SUSKA RIAU
3
Visit Our Official Website:
http://sif.uin-suska.ac.id/
http://fst.uin-suska.ac.id/
http://uin-suska.ac.id/
Introduction...
INFORMATION SYSTEM – UIN SUSKA RIAU
4
Each testing technique falls into one of a number
of different categories. Broadly speaking there are
two main categories, static and dynamic.
Dynamic techniques are subdivided into three
more categories: specification-based (black-box,
also known as behavioral techniques), structure-
based (white-box or structural techniques) and
experi- ence-based. Specification-based
techniques include both functional and non-
functional techniques (i.e. quality characteristics).
SPECIFICATION-BASED OR
BLACK-BOX TECHNIQUES
INFORMATION SYSTEM – UIN SUSKA RIAU
5
In this section we will look in detail at four specification-based or black- box
techniques. In this section, look for the definitions of the glossary terms: boundary
value analysis, decision table testing, equivalence partitioning, state
transition testing and use case testing.
A decision table is a good
way to deal with
combinations of things (e.g.
inputs). This technique is
sometimes also referred to
as a 'cause-effect' table.
The four specification-based techniques we will cover in detail
are:
INFORMATION SYSTEM – UIN SUSKA RIAU
6
Equivalence partitioning (EP) is a
good all-round specification-based
black- box technique. It can be
applied at any level of testing and
is often a good tech- nique to use
first. Boundary value analysis
(BVA) is based on testing at the
boundaries between partitions. If
you have ever done 'range
checking', you were probably using
the boundary value analysis
technique, even if you weren't
aware of it.
State transition testing is
used where some aspect of
the system can be described
in what is called a 'finite state
machine'.
UseUse case testing is a
technique that helps us identify
test cases that exercise the
whole system on a transaction
by transaction basis from start
to finish. Case Testing
Equivalence
Partitioning and
Boundary Value
Analysis Decision Tables
State Transition
Testing Use Case Testing
STRUCTURE-BASED OR WHITE-
BOX TECHNIQUES
INFORMATION SYSTEM – UIN SUSKA RIAU
7
In this section, look for the definitions of the glossary terms: code
coverage, decision coverage, statement coverage, structural
testing, structure-based testing and white-box testing
In this section, look for the definitions of the glossary terms: code
coverage, decision coverage, statement coverage, structural
testing, structure-based testing and white-box testing
INFORMATION SYSTEM – UIN SUSKA RIAU
8
Studies and experience in the industry have
indicated that what is considered reasonably
thorough black-box testing may actually achieve
only 60% to 75% statement coverage.
Structure-based techniques serve two purposes:
test coverage measurement and structural test case
design. They are often used first to assess the
amount of testing performed by tests derived from
specification-based techniques, i.e. to assess
coverage.
For example, branch coverage is closely related to decision
coverage and at
100% coverage they give exactly the same results. Decision
coverage measures the coverage of conditional branches;
branch coverage measures the coverage of both conditional
and unconditional branches.
A decision is an IF statement, a loop control
statement (e.g. DO-WHILE or REPEAT-UNTIL), or
a CASE statement, where there are two or more
possi- ble exits or outcomes from the statement.
STRUCTURE-BASED
OR WHITE-BOX
TECHNIQUES
Using structure-based
techniques to measure
coverage and design
tests
Statement
coverage and
statement testing
Decision
coverage and
decision testing
Other structure-
based
techniques
EXPERIENCE-BASED TECHNIQUES
INFORMATION SYSTEM – UIN SUSKA RIAU
9
ERROR GUESSING
Error guessing is a technique that should always be used as a complement to
other more formal techniques. The success of error guessing is very much
dependent on the skill of the tester, as good testers know where the defects are
most likely to lurk. With this better understanding, he or she is likely to be better at
guessing ways in which the system may not work properly.
EXPLORATORY TESTING
Exploratory testing is a hands-on approach in which testers are involved in
minimum planning and maximum test execution. The planning involves the cre-
ation of a test charter, a short declaration of the scope of a short (1 to 2 hour) time-
boxed test effort, the objectives and possible approaches to be used.
The test design and test execution activities are performed in parallel typi- cally
without formally documenting the test conditions, test cases or test scripts.
CHOOSING A TEST TECHNIQUE
INFORMATION SYSTEM – UIN SUSKA RIAU
10
In this final section we will look at the factors that go into the decision about which
techniques to use when.
Perhaps the single most important thing to understand is that the best testing
technique is no single testing technique. Because each testing technique is good at
finding one specific class of defect, using just one technique will help ensure that
many (perhaps most but not all) defects of that particular class are found.
1
2
3
4
5
6
CHOOSING A TEST TECHNIQUE...,
INFORMATION SYSTEM – UIN SUSKA RIAU
11
MODELS USED - Since testing techniques are based on models, the models
available (i.e. developed and used during the specification, design and
implementation of the system) will to some extent govern which testing
techniques can be used.
So how can we choose the most
appropriate testing techniques to
use? The decision will be based on a
number of factors, both internal and
external.
The internal factors that influence the
decision about which technique to
use are:
TESTER KNOWLEDGE I EXPERIENCE - How much testers know
about the system and about testing techniques will clearly influence
their choice of testing tech niques.
LIKELY DEFECTS - Knowledge of the likely defects will be very helpful in
choos ing testing techniques (since each technique is good at finding a
particular type of defect).
TEST OBJECTIVE - If the test objective is simply to gain confidence that the
soft ware will cope with typical operational tasks then use cases would be a
sen sible approach.
DOCUMENTATION - Whether or not documentation (e.g. a
requirements specification) exists and whether or not it is up to date
will affect the choice of testing techniques.
LIFE CYCLE MODEL - A sequential life cycle model will lend itself to
the use of more formal techniques whereas an iterative life cycle
model may be better suited to using an exploratory testing approach.
CHOOSING A TEST TECHNIQUE...,
INFORMATION SYSTEM – UIN SUSKA RIAU
12
Sometimes contracts specify par ticular testing
techniques to use (most commonly statement or
branch coverage).
The greater the risk (e.g. safety-critical systems),
the greater the need for more thorough and more
formal testing.
Ultimately how much time there is available will
always affect the choice of testing techniques.
The type of system (e.g. embedded, graphical,
financial, etc.) will influence the choice of
techniques.
The external factors that
influence the decision about
which technique to use are:
Risk
Customer I
Contractual
Requirements
Type of System
Time and Budget
INFORMATION SYSTEM – UIN SUSKA RIAU
13
REFERENCE BY:
Thank you! That’s all!
Fithratul Husna – Testing Implementation System
INFORMATION SYSTEM – UIN SUSKA RIAU

More Related Content

Similar to Test Design Techniques

Test design techniques
Test design techniquesTest design techniques
Test design techniquesYAObbiIkhsan
 
Testing 3 test design techniques
Testing 3 test design techniquesTesting 3 test design techniques
Testing 3 test design techniquesMini Marsiah
 
iSQI Certification Days ISTQB Advanced Axel Rennoch
iSQI Certification Days ISTQB Advanced Axel RennochiSQI Certification Days ISTQB Advanced Axel Rennoch
iSQI Certification Days ISTQB Advanced Axel RennochIevgenii Katsan
 
Applied Observational Study.pptx
Applied Observational Study.pptxApplied Observational Study.pptx
Applied Observational Study.pptxMussieKebede3
 
Suitability of Agile Methods for Safety-Critical Systems Development: A Surve...
Suitability of Agile Methods for Safety-Critical Systems Development: A Surve...Suitability of Agile Methods for Safety-Critical Systems Development: A Surve...
Suitability of Agile Methods for Safety-Critical Systems Development: A Surve...Editor IJCATR
 
Testing throughout the software life cycle
Testing throughout the software life cycleTesting throughout the software life cycle
Testing throughout the software life cycleYusran5
 
Testing throughout the software life cycle
Testing throughout the software life cycleTesting throughout the software life cycle
Testing throughout the software life cycleMuhammad Khairil
 
Test design techniques: Structured and Experienced-based techniques
Test design techniques: Structured and Experienced-based techniquesTest design techniques: Structured and Experienced-based techniques
Test design techniques: Structured and Experienced-based techniquesKhuong Nguyen
 
Fundamental test process
Fundamental test processFundamental test process
Fundamental test processAzlan Nawawi
 
Software testing techniques - www.testersforum.com
Software testing techniques - www.testersforum.comSoftware testing techniques - www.testersforum.com
Software testing techniques - www.testersforum.comwww.testersforum.com
 
Testing throughout the software life cycle
Testing throughout the software life cycleTesting throughout the software life cycle
Testing throughout the software life cycleAchmad Harpin Asrori
 
Peter Zimmerer - Passion For Testing, By Examples - EuroSTAR 2010
Peter Zimmerer - Passion For Testing, By Examples - EuroSTAR 2010Peter Zimmerer - Passion For Testing, By Examples - EuroSTAR 2010
Peter Zimmerer - Passion For Testing, By Examples - EuroSTAR 2010TEST Huddle
 
Guidelines to Understanding Design of Experiment and Reliability Prediction
Guidelines to Understanding Design of Experiment and Reliability PredictionGuidelines to Understanding Design of Experiment and Reliability Prediction
Guidelines to Understanding Design of Experiment and Reliability Predictionijsrd.com
 
1651003086422.pptx
1651003086422.pptx1651003086422.pptx
1651003086422.pptxSravya221181
 
Exploratory Testing, A Guide Towards Better Test Coverage.pdf
Exploratory Testing, A Guide Towards Better Test Coverage.pdfExploratory Testing, A Guide Towards Better Test Coverage.pdf
Exploratory Testing, A Guide Towards Better Test Coverage.pdfpCloudy
 
Software Testing Outline Performances and Measurements
Software Testing Outline Performances and MeasurementsSoftware Testing Outline Performances and Measurements
Software Testing Outline Performances and Measurementsijtsrd
 

Similar to Test Design Techniques (20)

Test design technique
Test design techniqueTest design technique
Test design technique
 
Test design techniques
Test design techniquesTest design techniques
Test design techniques
 
Testing 3 test design techniques
Testing 3 test design techniquesTesting 3 test design techniques
Testing 3 test design techniques
 
iSQI Certification Days ISTQB Advanced Axel Rennoch
iSQI Certification Days ISTQB Advanced Axel RennochiSQI Certification Days ISTQB Advanced Axel Rennoch
iSQI Certification Days ISTQB Advanced Axel Rennoch
 
Applied Observational Study.pptx
Applied Observational Study.pptxApplied Observational Study.pptx
Applied Observational Study.pptx
 
Suitability of Agile Methods for Safety-Critical Systems Development: A Surve...
Suitability of Agile Methods for Safety-Critical Systems Development: A Surve...Suitability of Agile Methods for Safety-Critical Systems Development: A Surve...
Suitability of Agile Methods for Safety-Critical Systems Development: A Surve...
 
Testing throughout the software life cycle
Testing throughout the software life cycleTesting throughout the software life cycle
Testing throughout the software life cycle
 
Tool support for testing
Tool support for testingTool support for testing
Tool support for testing
 
Testing throughout the software life cycle
Testing throughout the software life cycleTesting throughout the software life cycle
Testing throughout the software life cycle
 
Test design techniques: Structured and Experienced-based techniques
Test design techniques: Structured and Experienced-based techniquesTest design techniques: Structured and Experienced-based techniques
Test design techniques: Structured and Experienced-based techniques
 
Unit iii
Unit iiiUnit iii
Unit iii
 
Fundamental test process
Fundamental test processFundamental test process
Fundamental test process
 
Too many files
Too many filesToo many files
Too many files
 
Software testing techniques - www.testersforum.com
Software testing techniques - www.testersforum.comSoftware testing techniques - www.testersforum.com
Software testing techniques - www.testersforum.com
 
Testing throughout the software life cycle
Testing throughout the software life cycleTesting throughout the software life cycle
Testing throughout the software life cycle
 
Peter Zimmerer - Passion For Testing, By Examples - EuroSTAR 2010
Peter Zimmerer - Passion For Testing, By Examples - EuroSTAR 2010Peter Zimmerer - Passion For Testing, By Examples - EuroSTAR 2010
Peter Zimmerer - Passion For Testing, By Examples - EuroSTAR 2010
 
Guidelines to Understanding Design of Experiment and Reliability Prediction
Guidelines to Understanding Design of Experiment and Reliability PredictionGuidelines to Understanding Design of Experiment and Reliability Prediction
Guidelines to Understanding Design of Experiment and Reliability Prediction
 
1651003086422.pptx
1651003086422.pptx1651003086422.pptx
1651003086422.pptx
 
Exploratory Testing, A Guide Towards Better Test Coverage.pdf
Exploratory Testing, A Guide Towards Better Test Coverage.pdfExploratory Testing, A Guide Towards Better Test Coverage.pdf
Exploratory Testing, A Guide Towards Better Test Coverage.pdf
 
Software Testing Outline Performances and Measurements
Software Testing Outline Performances and MeasurementsSoftware Testing Outline Performances and Measurements
Software Testing Outline Performances and Measurements
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 

Recently uploaded (20)

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 

Test Design Techniques

  • 1. TEST DESIGN TECHNIQUES [TESTING IMPLEMENTATION SYSTEM] 2017
  • 2. FITHRATUL HUSNA PROGRAM S1 SISTEM INFORMASI FAKULTAS SAINS DAN TEKNOLOGI UNIVERSITAS ISLAM NEGERI SULTAN SYARIF KASIM RIAU
  • 3. INFORMATION SYSTEM – UIN SUSKA RIAU 3 Visit Our Official Website: http://sif.uin-suska.ac.id/ http://fst.uin-suska.ac.id/ http://uin-suska.ac.id/
  • 4. Introduction... INFORMATION SYSTEM – UIN SUSKA RIAU 4 Each testing technique falls into one of a number of different categories. Broadly speaking there are two main categories, static and dynamic. Dynamic techniques are subdivided into three more categories: specification-based (black-box, also known as behavioral techniques), structure- based (white-box or structural techniques) and experi- ence-based. Specification-based techniques include both functional and non- functional techniques (i.e. quality characteristics).
  • 5. SPECIFICATION-BASED OR BLACK-BOX TECHNIQUES INFORMATION SYSTEM – UIN SUSKA RIAU 5 In this section we will look in detail at four specification-based or black- box techniques. In this section, look for the definitions of the glossary terms: boundary value analysis, decision table testing, equivalence partitioning, state transition testing and use case testing.
  • 6. A decision table is a good way to deal with combinations of things (e.g. inputs). This technique is sometimes also referred to as a 'cause-effect' table. The four specification-based techniques we will cover in detail are: INFORMATION SYSTEM – UIN SUSKA RIAU 6 Equivalence partitioning (EP) is a good all-round specification-based black- box technique. It can be applied at any level of testing and is often a good tech- nique to use first. Boundary value analysis (BVA) is based on testing at the boundaries between partitions. If you have ever done 'range checking', you were probably using the boundary value analysis technique, even if you weren't aware of it. State transition testing is used where some aspect of the system can be described in what is called a 'finite state machine'. UseUse case testing is a technique that helps us identify test cases that exercise the whole system on a transaction by transaction basis from start to finish. Case Testing Equivalence Partitioning and Boundary Value Analysis Decision Tables State Transition Testing Use Case Testing
  • 7. STRUCTURE-BASED OR WHITE- BOX TECHNIQUES INFORMATION SYSTEM – UIN SUSKA RIAU 7 In this section, look for the definitions of the glossary terms: code coverage, decision coverage, statement coverage, structural testing, structure-based testing and white-box testing In this section, look for the definitions of the glossary terms: code coverage, decision coverage, statement coverage, structural testing, structure-based testing and white-box testing
  • 8. INFORMATION SYSTEM – UIN SUSKA RIAU 8 Studies and experience in the industry have indicated that what is considered reasonably thorough black-box testing may actually achieve only 60% to 75% statement coverage. Structure-based techniques serve two purposes: test coverage measurement and structural test case design. They are often used first to assess the amount of testing performed by tests derived from specification-based techniques, i.e. to assess coverage. For example, branch coverage is closely related to decision coverage and at 100% coverage they give exactly the same results. Decision coverage measures the coverage of conditional branches; branch coverage measures the coverage of both conditional and unconditional branches. A decision is an IF statement, a loop control statement (e.g. DO-WHILE or REPEAT-UNTIL), or a CASE statement, where there are two or more possi- ble exits or outcomes from the statement. STRUCTURE-BASED OR WHITE-BOX TECHNIQUES Using structure-based techniques to measure coverage and design tests Statement coverage and statement testing Decision coverage and decision testing Other structure- based techniques
  • 9. EXPERIENCE-BASED TECHNIQUES INFORMATION SYSTEM – UIN SUSKA RIAU 9 ERROR GUESSING Error guessing is a technique that should always be used as a complement to other more formal techniques. The success of error guessing is very much dependent on the skill of the tester, as good testers know where the defects are most likely to lurk. With this better understanding, he or she is likely to be better at guessing ways in which the system may not work properly. EXPLORATORY TESTING Exploratory testing is a hands-on approach in which testers are involved in minimum planning and maximum test execution. The planning involves the cre- ation of a test charter, a short declaration of the scope of a short (1 to 2 hour) time- boxed test effort, the objectives and possible approaches to be used. The test design and test execution activities are performed in parallel typi- cally without formally documenting the test conditions, test cases or test scripts.
  • 10. CHOOSING A TEST TECHNIQUE INFORMATION SYSTEM – UIN SUSKA RIAU 10 In this final section we will look at the factors that go into the decision about which techniques to use when. Perhaps the single most important thing to understand is that the best testing technique is no single testing technique. Because each testing technique is good at finding one specific class of defect, using just one technique will help ensure that many (perhaps most but not all) defects of that particular class are found.
  • 11. 1 2 3 4 5 6 CHOOSING A TEST TECHNIQUE..., INFORMATION SYSTEM – UIN SUSKA RIAU 11 MODELS USED - Since testing techniques are based on models, the models available (i.e. developed and used during the specification, design and implementation of the system) will to some extent govern which testing techniques can be used. So how can we choose the most appropriate testing techniques to use? The decision will be based on a number of factors, both internal and external. The internal factors that influence the decision about which technique to use are: TESTER KNOWLEDGE I EXPERIENCE - How much testers know about the system and about testing techniques will clearly influence their choice of testing tech niques. LIKELY DEFECTS - Knowledge of the likely defects will be very helpful in choos ing testing techniques (since each technique is good at finding a particular type of defect). TEST OBJECTIVE - If the test objective is simply to gain confidence that the soft ware will cope with typical operational tasks then use cases would be a sen sible approach. DOCUMENTATION - Whether or not documentation (e.g. a requirements specification) exists and whether or not it is up to date will affect the choice of testing techniques. LIFE CYCLE MODEL - A sequential life cycle model will lend itself to the use of more formal techniques whereas an iterative life cycle model may be better suited to using an exploratory testing approach.
  • 12. CHOOSING A TEST TECHNIQUE..., INFORMATION SYSTEM – UIN SUSKA RIAU 12 Sometimes contracts specify par ticular testing techniques to use (most commonly statement or branch coverage). The greater the risk (e.g. safety-critical systems), the greater the need for more thorough and more formal testing. Ultimately how much time there is available will always affect the choice of testing techniques. The type of system (e.g. embedded, graphical, financial, etc.) will influence the choice of techniques. The external factors that influence the decision about which technique to use are: Risk Customer I Contractual Requirements Type of System Time and Budget
  • 13. INFORMATION SYSTEM – UIN SUSKA RIAU 13 REFERENCE BY:
  • 14. Thank you! That’s all! Fithratul Husna – Testing Implementation System INFORMATION SYSTEM – UIN SUSKA RIAU