SlideShare a Scribd company logo
Test Design
Test Planning
 Test Planning – the process of defining
and documenting the strategy that will be
used to verify and ensure that a product or
system meets its design specifications and
other requirements.
 Test Plan document should be created by
QC management (QC Analyst/QC Lead/QC
Manager) and answer on the following
questions:
– How the testing will be done?
– Who will do it?
– What will be tested?
– How long it will take?
– What the test coverage will be, i.e. what
quality level is required?
 According to IEEE 829 (Standard for Software
Test Documentation ) Test Plan consists of:
– Test plan identifier
– Introduction
– Test items
– Features to be tested
– Features not to be tested
– Approach
– Item pass/fail criteria
– Suspension criteria and resumption requirements
– Test deliverables
– Testing tasks
– Environmental needs
– Responsibilities
– Staffing and training needs
– Schedule
– Risks and contingencies
– Approvals
Test Plan Structure
Test Analysis
Test Design Techniques
Selection
Test Design Specification
Test Case Specification
Test Plan
SRS
Mock-ups
Test Design
Specification
…
Trainings’ Content
Test Design Specification
 Test Design Specification
– It is a document that
describes features to be
tested and specifies list of
all test scenarios or test
cases, which should be
designed for providing the
testing of software.
– The test design does not
record the values to be
entered for a test, but
describes the requirements
for defining those values.
Test Design Specification Structure
According to IEEE-829 standard template structure of Test Design
Specification looks in the following way:
1. Test Design Specification Identifier
1.1 Purpose
1.2 References
1.3 Definitions, acronyms and abbreviations
2. Features to be Tested
3. Approach Refinements
4. Test Identification
4.1 <Test Item 1>
4.2 <Test Item …>
4.3 <Test Item N>
5. Feature Pass/Fail Criteria
Test Design Techniques
Test Design Techniques
Static: The fundamental objective
of static testing is to improve the
quality of software work products
by assisting engineers to recognize
and fix their own defects early in
the software development.
Dynamic: Testing that involves the
execution of the software of a
component or system.
Static Techniques
Static Techniques
Static Analysis
Control Flow
Structure
Data Flow
Structure
Informal Reviews
Walkthroughs
Technical Reviews
Inspections
Data Structure
Dynamic Techniques
Dynamic
Techniques
Structure – Based
Experience – Based
Specification-Based
Equivalence
Partitioning
State Transition
Decision Tables
Use Case
Testing
Boundary
Values Analysis
Error Guessing
Exploratory
Testing
Statement
Decision
Condition
Multiple
Condition
Testing, either functional or non-
functional, without reference to
the internal structure of the
component or system. These are
also called black-box techniques.
Equivalence Partitioning
 Equivalence partitioning (EP) – A black box test design technique in which test
cases are designed to execute representatives from equivalence partitions.
 Idea: Divide (i.e. to partition) a set of test conditions into groups or sets that can be
considered the same (i.e. the system should handle them equivalently), hence
equivalence partitioning. In principle test cases are designed to cover each partition
at least once.
 Example: Bank represents new deposit program for corporate clients. According to the
program client has ability to get different %, based on amount of deposited money.
Minimum which can be deposited in $1, maximum is – $999. If client deposits less than
$500 it will have 5% of interests. In case the amount of deposited money is $500 and
higher, then client gets on 10% of interests more.
Boundary Values Analysis
 Boundary value analysis (BVA): A black box test design technique in which test
cases are designed based on boundary values.
Boundary value is an input value or output value which is on the edge of an
equivalence partition or at the smallest incremental distance on either side of an
edge, for example the minimum or maximum value of a range.
 Idea: Divide test conditions into sets and test the boundaries between these sets.
Tests should be written to cover each boundary value.
 Example: Bank represents new deposit program for corporate clients. According to the
program client has ability to get different %, based on amount of deposited money.
Minimum which can be deposited in $1, maximum is – $999. If client deposits less than
$500 it will have 5% of interests. In case the amount of deposited money is $500 and
higher, then client gets on 10% of interests more.
 Decision table – A table showing combinations of inputs and/or stimuli (causes)
with their associated outputs and/or actions (effects), which can be used to design
test cases.
 Idea: Divide test conditions into constraints, which could get positive or negative
meanings, and rules which identify output based on values of conditions. While
analyzing each possible variant of positive and negative meanings identify output or
set of outputs for each variant based on the rules. Only combinations of these
positive and negative meanings, which uniquely identify decisions that are
made, should be covered by tests.
 Example: If you hold an 'over 60s' rail card, you get a 34% discount on whatever ticket
you buy. If you hold family rail card and you are traveling with a child (under 16), you can
get a 50% discount on any ticket. If you are traveling with a child (under 16), but do not
have family rail card, you can get a 10% discount. You can use only one type of rail card.
Decision Tables
- 'over 60s' rail card – 34%
- family rail card and traveling with a child – 50%
- traveling with a child, but do not have family rail card – 10%
- only one type of rail card can be used
Decision Tables
State Transition
 State transition testing – A black box test design technique in which test cases
are designed to execute valid and invalid state transitions.
State transition – A transition between two states of a component or system.
 Idea: Design diagram that shows the events that cause a change from one state to
another. Tests should cover each path starting from the longest state combination.
 Example: Client of the bank would like to take money from bank account using cash
machine. To get money he should enter valid Personal Identity Number (PIN). In case of 3
invalid tries, cash machine eats the card.
Start
Access to
account
Eat card
Wait for
Pin
1st try
Enter
Pin Ok
3rd try2nd try
Pin
NOT Ok
Pin
NOT Ok
Card inserted
Pin Ok
Pin Ok
Pin
NOT Ok
Use Case Testing
 Use 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.
– Use cases describe the process flows through a system based on its most likely
use
– This makes the test cases derived from use cases particularly good for finding
defects in the real-world use of the system
– Each use case usually has a mainstream (or most likely) scenario and sometimes
additional alternative branches (covering, for example, special cases or
exceptional conditions).
– Each use case must specify any preconditions that need to be met for the use
case to work.
– Use cases must also specify post conditions that are observable results and a
description of the final state of the system after the use case has been executed
successfully.
Structure-Based Techniques
Dynamic
Techniques
Structure – Based Experience – Based Specification-Based
Equivalence
Partitioning
State Transition
Decision Tables
Use Case
Testing
Boundary
Values Analysis
Error Guessing
Exploratory
Testing
Statement
Decision
Condition
Multiple
Condition
Procedure to derive and/or
select test cases based on an
analysis of the internal structure
of a component or system.
These are also called while-box
techniques.
Statement Testing
 Statement – an entity in a programming language, which is typically the smallest
indivisible unit of execution.
 Example:
Decision Testing
 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 possible exits or
outcomes from the statement.
 Example:
Experience-Based Techniques
Dynamic
Techniques
.
Structure – Based Experience – Based
Specification-Based
Equivalence
Partitioning
State Transition
Decision Tables
Use Case
Testing
Boundary
Values Analysis
Error Guessing
Exploratory
Testing
Statement
Decision
Condition
Multiple
Condition
Procedure to derive and/or select
test cases based
on the tester’s
experience, knowledge and
intuition.
Choosing A Test Design Technique
 Which technique is best? This is the wrong question!
Each technique is good for certain things, and not as good for other things. Some techniques are
more applicable to certain situations and test levels, others are applicable to all test levels.
 The internal factors that influence the decision about which technique to
use are:
– Tester knowledge and experience
– Expected defects
– Test objectives
– Documentation
– Life cycle model
 The external factors that influence the decision about which technique to
use are:
– Risks
– Customer and contractual requirements
– System type
– Regulatory requirements
– Time and budget
Thank You!

More Related Content

What's hot

Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts ppt
Rathna Priya
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
Aman Adhikari
 
Test Management introduction
Test Management introductionTest Management introduction
Test Management introduction
Oana Feidi
 
Black box & white-box testing technique
Black box & white-box testing techniqueBlack box & white-box testing technique
Black box & white-box testing technique
SivaprasanthRentala1975
 
Test planning
Test planningTest planning
Test planning
Aliaa Monier Ismaail
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
Nivetha Padmanaban
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
Webtech Learning
 
Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)
Mani Kanth
 
Object oriented testing
Object oriented testingObject oriented testing
Object oriented testing
Haris Jamil
 
Testing
TestingTesting
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
medsherb
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
Priyanka Karancy
 
Test Levels & Techniques
Test Levels & TechniquesTest Levels & Techniques
Test Levels & Techniques
Dhanasekaran Nagarajan
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
Saqib Raza
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
Sachithra Gayan
 
Black box and white box testing
Black box and white box testingBlack box and white box testing
Black box and white box testing
AWADHESH PRATAP SINGH UNIVERSITY, REWA (M.P.)
 
Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategies
SHREEHARI WADAWADAGI
 
Software Testing or Quality Assurance
Software Testing or Quality AssuranceSoftware Testing or Quality Assurance
Software Testing or Quality Assurance
Trimantra Software Solutions
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
Testbytes
 
System testing
System testingSystem testing
System testing
Slideshare
 

What's hot (20)

Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts ppt
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
 
Test Management introduction
Test Management introductionTest Management introduction
Test Management introduction
 
Black box & white-box testing technique
Black box & white-box testing techniqueBlack box & white-box testing technique
Black box & white-box testing technique
 
Test planning
Test planningTest planning
Test planning
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
Software testing & Quality Assurance
Software testing & Quality Assurance Software testing & Quality Assurance
Software testing & Quality Assurance
 
Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)Se (techniques for black box testing ppt)
Se (techniques for black box testing ppt)
 
Object oriented testing
Object oriented testingObject oriented testing
Object oriented testing
 
Testing
TestingTesting
Testing
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
 
SOFTWARE TESTING
SOFTWARE TESTINGSOFTWARE TESTING
SOFTWARE TESTING
 
Test Levels & Techniques
Test Levels & TechniquesTest Levels & Techniques
Test Levels & Techniques
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
 
Black box and white box testing
Black box and white box testingBlack box and white box testing
Black box and white box testing
 
Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategies
 
Software Testing or Quality Assurance
Software Testing or Quality AssuranceSoftware Testing or Quality Assurance
Software Testing or Quality Assurance
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
System testing
System testingSystem testing
System testing
 

Viewers also liked

Test Documentation Based On Ieee829 155261
Test Documentation Based On Ieee829 155261Test Documentation Based On Ieee829 155261
Test Documentation Based On Ieee829 155261
tonynavy
 
Test data documentation ss
Test data documentation ssTest data documentation ss
Test data documentation ss
AshwiniPoloju
 
Qa documentation pp
Qa documentation ppQa documentation pp
Qa documentation pp
Bohdana Shaleva
 
Static testing techniques
Static testing techniquesStatic testing techniques
Static testing techniques
Mazenetsolution
 
Efficient And Effective Test Design
Efficient And Effective Test DesignEfficient And Effective Test Design
Efficient And Effective Test Design
Justin Hunter
 
Testing dan implementasi_sistem_-_romeo
Testing dan implementasi_sistem_-_romeoTesting dan implementasi_sistem_-_romeo
Testing dan implementasi_sistem_-_romeo
Abrianto Nugraha
 
Understanding The Process and Benefits of Proficiency Testing - Steve Hepburn
Understanding The Process and Benefits of Proficiency Testing - Steve HepburnUnderstanding The Process and Benefits of Proficiency Testing - Steve Hepburn
Understanding The Process and Benefits of Proficiency Testing - Steve Hepburn
Mara International
 
Test Case Design
Test Case DesignTest Case Design
Test Case Design
acatalin
 
Planning an achievement test and assessment
Planning an achievement test and assessmentPlanning an achievement test and assessment
Planning an achievement test and assessment
Umair Ashraf
 
Testing artifacts test cases
Testing artifacts   test casesTesting artifacts   test cases
Testing artifacts test cases
Petro Chernii
 
Kinds of testing (2nd)
Kinds of testing (2nd)Kinds of testing (2nd)
Kinds of testing (2nd)
Harry Subagyo
 
Guidelines and Practical Approaches for Test Construction Cindy Cruz-Cabrera...
Guidelines and Practical Approaches for Test Construction  Cindy Cruz-Cabrera...Guidelines and Practical Approaches for Test Construction  Cindy Cruz-Cabrera...
Guidelines and Practical Approaches for Test Construction Cindy Cruz-Cabrera...
University of the Philippines Diliman
 
Writing Identification Tests
Writing Identification TestsWriting Identification Tests
Writing Identification Tests
dessandrea
 
Test construction
Test constructionTest construction
Test construction
Mental Health Center
 
Principles of Test Construction 1
Principles of Test Construction 1Principles of Test Construction 1
Principles of Test Construction 1
Monica P
 
Test construction 2
Test construction 2Test construction 2
Test construction 2
Arnel Rivera
 
Achievement tests
Achievement testsAchievement tests
Achievement tests
Manu Sethi
 
Test and some test types (ev elt)
Test and some test types (ev elt)Test and some test types (ev elt)
Test and some test types (ev elt)
theryszard
 
Test construction 1
Test construction 1Test construction 1
Test construction 1
Arnel Rivera
 

Viewers also liked (20)

Test Documentation Based On Ieee829 155261
Test Documentation Based On Ieee829 155261Test Documentation Based On Ieee829 155261
Test Documentation Based On Ieee829 155261
 
Test data documentation ss
Test data documentation ssTest data documentation ss
Test data documentation ss
 
Qa documentation pp
Qa documentation ppQa documentation pp
Qa documentation pp
 
Static testing techniques
Static testing techniquesStatic testing techniques
Static testing techniques
 
Efficient And Effective Test Design
Efficient And Effective Test DesignEfficient And Effective Test Design
Efficient And Effective Test Design
 
Testing dan implementasi_sistem_-_romeo
Testing dan implementasi_sistem_-_romeoTesting dan implementasi_sistem_-_romeo
Testing dan implementasi_sistem_-_romeo
 
Understanding The Process and Benefits of Proficiency Testing - Steve Hepburn
Understanding The Process and Benefits of Proficiency Testing - Steve HepburnUnderstanding The Process and Benefits of Proficiency Testing - Steve Hepburn
Understanding The Process and Benefits of Proficiency Testing - Steve Hepburn
 
01 tester training - overview
01  tester training - overview01  tester training - overview
01 tester training - overview
 
Test Case Design
Test Case DesignTest Case Design
Test Case Design
 
Planning an achievement test and assessment
Planning an achievement test and assessmentPlanning an achievement test and assessment
Planning an achievement test and assessment
 
Testing artifacts test cases
Testing artifacts   test casesTesting artifacts   test cases
Testing artifacts test cases
 
Kinds of testing (2nd)
Kinds of testing (2nd)Kinds of testing (2nd)
Kinds of testing (2nd)
 
Guidelines and Practical Approaches for Test Construction Cindy Cruz-Cabrera...
Guidelines and Practical Approaches for Test Construction  Cindy Cruz-Cabrera...Guidelines and Practical Approaches for Test Construction  Cindy Cruz-Cabrera...
Guidelines and Practical Approaches for Test Construction Cindy Cruz-Cabrera...
 
Writing Identification Tests
Writing Identification TestsWriting Identification Tests
Writing Identification Tests
 
Test construction
Test constructionTest construction
Test construction
 
Principles of Test Construction 1
Principles of Test Construction 1Principles of Test Construction 1
Principles of Test Construction 1
 
Test construction 2
Test construction 2Test construction 2
Test construction 2
 
Achievement tests
Achievement testsAchievement tests
Achievement tests
 
Test and some test types (ev elt)
Test and some test types (ev elt)Test and some test types (ev elt)
Test and some test types (ev elt)
 
Test construction 1
Test construction 1Test construction 1
Test construction 1
 

Similar to Test design

The Role Of The Sqa In Software Development By Jim Coleman
The Role Of The Sqa In Software Development By Jim ColemanThe Role Of The Sqa In Software Development By Jim Coleman
The Role Of The Sqa In Software Development By Jim Coleman
James Coleman
 
Testcase training
Testcase trainingTestcase training
Testcase training
medsherb
 
Test case development
Test case developmentTest case development
Test case development
Hrushikesh Wakhle
 
Generating Test Cases
Generating Test CasesGenerating Test Cases
Generating Test Cases
VivekRajawat9
 
Introduction to testing.
Introduction to testing.Introduction to testing.
Introduction to testing.
Jithinctzz
 
Role+Of+Testing+In+Sdlc
Role+Of+Testing+In+SdlcRole+Of+Testing+In+Sdlc
Role+Of+Testing+In+Sdlc
mahendra singh
 
Testing
TestingTesting
Testing
trashqwerty
 
Test Effectiveness
Test EffectivenessTest Effectiveness
Test Effectiveness
Arunkumar Nehru KS
 
Test cases
Test casesTest cases
Test cases
Chandra Maddigapu
 
A PRACTITIONER'S GUIDE TO SOFTWARE TEST DESIGN [Summary]
A PRACTITIONER'S GUIDE TO SOFTWARE TEST DESIGN [Summary]A PRACTITIONER'S GUIDE TO SOFTWARE TEST DESIGN [Summary]
A PRACTITIONER'S GUIDE TO SOFTWARE TEST DESIGN [Summary]
Khizra Sammad
 
prova4
prova4prova4
prova4
mbsoftware
 
provalast
provalastprovalast
provalast
mbsoftware
 
test3
test3test3
test
testtest
stasera1
stasera1stasera1
stasera1
mbsoftware
 
prova1
prova1prova1
prova1
mbsoftware
 
provaoggi2
provaoggi2provaoggi2
provaoggi2
lmscollaborative2
 
prova2
prova2prova2
prova2
mbsoftware
 
testsfw2
testsfw2testsfw2
prova2
prova2prova2
prova2
mbsoftware
 

Similar to Test design (20)

The Role Of The Sqa In Software Development By Jim Coleman
The Role Of The Sqa In Software Development By Jim ColemanThe Role Of The Sqa In Software Development By Jim Coleman
The Role Of The Sqa In Software Development By Jim Coleman
 
Testcase training
Testcase trainingTestcase training
Testcase training
 
Test case development
Test case developmentTest case development
Test case development
 
Generating Test Cases
Generating Test CasesGenerating Test Cases
Generating Test Cases
 
Introduction to testing.
Introduction to testing.Introduction to testing.
Introduction to testing.
 
Role+Of+Testing+In+Sdlc
Role+Of+Testing+In+SdlcRole+Of+Testing+In+Sdlc
Role+Of+Testing+In+Sdlc
 
Testing
TestingTesting
Testing
 
Test Effectiveness
Test EffectivenessTest Effectiveness
Test Effectiveness
 
Test cases
Test casesTest cases
Test cases
 
A PRACTITIONER'S GUIDE TO SOFTWARE TEST DESIGN [Summary]
A PRACTITIONER'S GUIDE TO SOFTWARE TEST DESIGN [Summary]A PRACTITIONER'S GUIDE TO SOFTWARE TEST DESIGN [Summary]
A PRACTITIONER'S GUIDE TO SOFTWARE TEST DESIGN [Summary]
 
prova4
prova4prova4
prova4
 
provalast
provalastprovalast
provalast
 
test3
test3test3
test3
 
test
testtest
test
 
stasera1
stasera1stasera1
stasera1
 
prova1
prova1prova1
prova1
 
provaoggi2
provaoggi2provaoggi2
provaoggi2
 
prova2
prova2prova2
prova2
 
testsfw2
testsfw2testsfw2
testsfw2
 
prova2
prova2prova2
prova2
 

More from Nataly Chill

Bug tracking tool
Bug tracking toolBug tracking tool
Bug tracking tool
Nataly Chill
 
Test cases
Test casesTest cases
Test cases
Nataly Chill
 
Requirements presentation
Requirements presentationRequirements presentation
Requirements presentation
Nataly Chill
 
Testing types 2
Testing types 2Testing types 2
Testing types 2
Nataly Chill
 
Testing types (simple)1
Testing types (simple)1Testing types (simple)1
Testing types (simple)1
Nataly Chill
 
Scrum
ScrumScrum

More from Nataly Chill (6)

Bug tracking tool
Bug tracking toolBug tracking tool
Bug tracking tool
 
Test cases
Test casesTest cases
Test cases
 
Requirements presentation
Requirements presentationRequirements presentation
Requirements presentation
 
Testing types 2
Testing types 2Testing types 2
Testing types 2
 
Testing types (simple)1
Testing types (simple)1Testing types (simple)1
Testing types (simple)1
 
Scrum
ScrumScrum
Scrum
 

Recently uploaded

Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...
BookNet Canada
 
20240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 202420240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 2024
Matthew Sinclair
 
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Chris Swan
 
The Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU CampusesThe Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU Campuses
Larry Smarr
 
Best Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdfBest Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdf
Tatiana Al-Chueyr
 
7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf
Enterprise Wired
 
Cookies program to display the information though cookie creation
Cookies program to display the information though cookie creationCookies program to display the information though cookie creation
Cookies program to display the information though cookie creation
shanthidl1
 
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptxRPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
SynapseIndia
 
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-InTrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc
 
How Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdfHow Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdf
HackersList
 
Measuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at TwitterMeasuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at Twitter
ScyllaDB
 
Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024
BookNet Canada
 
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdfINDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
jackson110191
 
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - MydbopsScaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Mydbops
 
What's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptxWhat's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptx
Stephanie Beckett
 
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly DetectionAdvanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Bert Blevins
 
What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024
Stephanie Beckett
 
Pigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdfPigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdf
Pigging Solutions
 
Comparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdfComparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdf
Andrey Yasko
 
Manual | Product | Research Presentation
Manual | Product | Research PresentationManual | Product | Research Presentation
Manual | Product | Research Presentation
welrejdoall
 

Recently uploaded (20)

Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...
 
20240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 202420240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 2024
 
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
 
The Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU CampusesThe Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU Campuses
 
Best Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdfBest Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdf
 
7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf
 
Cookies program to display the information though cookie creation
Cookies program to display the information though cookie creationCookies program to display the information though cookie creation
Cookies program to display the information though cookie creation
 
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptxRPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
 
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-InTrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
 
How Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdfHow Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdf
 
Measuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at TwitterMeasuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at Twitter
 
Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024
 
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdfINDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
 
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - MydbopsScaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
 
What's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptxWhat's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptx
 
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly DetectionAdvanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
 
What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024
 
Pigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdfPigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdf
 
Comparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdfComparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdf
 
Manual | Product | Research Presentation
Manual | Product | Research PresentationManual | Product | Research Presentation
Manual | Product | Research Presentation
 

Test design

  • 2. Test Planning  Test Planning – the process of defining and documenting the strategy that will be used to verify and ensure that a product or system meets its design specifications and other requirements.  Test Plan document should be created by QC management (QC Analyst/QC Lead/QC Manager) and answer on the following questions: – How the testing will be done? – Who will do it? – What will be tested? – How long it will take? – What the test coverage will be, i.e. what quality level is required?
  • 3.  According to IEEE 829 (Standard for Software Test Documentation ) Test Plan consists of: – Test plan identifier – Introduction – Test items – Features to be tested – Features not to be tested – Approach – Item pass/fail criteria – Suspension criteria and resumption requirements – Test deliverables – Testing tasks – Environmental needs – Responsibilities – Staffing and training needs – Schedule – Risks and contingencies – Approvals Test Plan Structure
  • 4. Test Analysis Test Design Techniques Selection Test Design Specification Test Case Specification Test Plan SRS Mock-ups Test Design Specification … Trainings’ Content
  • 5. Test Design Specification  Test Design Specification – It is a document that describes features to be tested and specifies list of all test scenarios or test cases, which should be designed for providing the testing of software. – The test design does not record the values to be entered for a test, but describes the requirements for defining those values.
  • 6. Test Design Specification Structure According to IEEE-829 standard template structure of Test Design Specification looks in the following way: 1. Test Design Specification Identifier 1.1 Purpose 1.2 References 1.3 Definitions, acronyms and abbreviations 2. Features to be Tested 3. Approach Refinements 4. Test Identification 4.1 <Test Item 1> 4.2 <Test Item …> 4.3 <Test Item N> 5. Feature Pass/Fail Criteria
  • 7. Test Design Techniques Test Design Techniques Static: The fundamental objective of static testing is to improve the quality of software work products by assisting engineers to recognize and fix their own defects early in the software development. Dynamic: Testing that involves the execution of the software of a component or system.
  • 8. Static Techniques Static Techniques Static Analysis Control Flow Structure Data Flow Structure Informal Reviews Walkthroughs Technical Reviews Inspections Data Structure
  • 9. Dynamic Techniques Dynamic Techniques Structure – Based Experience – Based Specification-Based Equivalence Partitioning State Transition Decision Tables Use Case Testing Boundary Values Analysis Error Guessing Exploratory Testing Statement Decision Condition Multiple Condition Testing, either functional or non- functional, without reference to the internal structure of the component or system. These are also called black-box techniques.
  • 10. Equivalence Partitioning  Equivalence partitioning (EP) – A black box test design technique in which test cases are designed to execute representatives from equivalence partitions.  Idea: Divide (i.e. to partition) a set of test conditions into groups or sets that can be considered the same (i.e. the system should handle them equivalently), hence equivalence partitioning. In principle test cases are designed to cover each partition at least once.  Example: Bank represents new deposit program for corporate clients. According to the program client has ability to get different %, based on amount of deposited money. Minimum which can be deposited in $1, maximum is – $999. If client deposits less than $500 it will have 5% of interests. In case the amount of deposited money is $500 and higher, then client gets on 10% of interests more.
  • 11. Boundary Values Analysis  Boundary value analysis (BVA): A black box test design technique in which test cases are designed based on boundary values. Boundary value is an input value or output value which is on the edge of an equivalence partition or at the smallest incremental distance on either side of an edge, for example the minimum or maximum value of a range.  Idea: Divide test conditions into sets and test the boundaries between these sets. Tests should be written to cover each boundary value.  Example: Bank represents new deposit program for corporate clients. According to the program client has ability to get different %, based on amount of deposited money. Minimum which can be deposited in $1, maximum is – $999. If client deposits less than $500 it will have 5% of interests. In case the amount of deposited money is $500 and higher, then client gets on 10% of interests more.
  • 12.  Decision table – A table showing combinations of inputs and/or stimuli (causes) with their associated outputs and/or actions (effects), which can be used to design test cases.  Idea: Divide test conditions into constraints, which could get positive or negative meanings, and rules which identify output based on values of conditions. While analyzing each possible variant of positive and negative meanings identify output or set of outputs for each variant based on the rules. Only combinations of these positive and negative meanings, which uniquely identify decisions that are made, should be covered by tests.  Example: If you hold an 'over 60s' rail card, you get a 34% discount on whatever ticket you buy. If you hold family rail card and you are traveling with a child (under 16), you can get a 50% discount on any ticket. If you are traveling with a child (under 16), but do not have family rail card, you can get a 10% discount. You can use only one type of rail card. Decision Tables
  • 13. - 'over 60s' rail card – 34% - family rail card and traveling with a child – 50% - traveling with a child, but do not have family rail card – 10% - only one type of rail card can be used Decision Tables
  • 14. State Transition  State transition testing – A black box test design technique in which test cases are designed to execute valid and invalid state transitions. State transition – A transition between two states of a component or system.  Idea: Design diagram that shows the events that cause a change from one state to another. Tests should cover each path starting from the longest state combination.  Example: Client of the bank would like to take money from bank account using cash machine. To get money he should enter valid Personal Identity Number (PIN). In case of 3 invalid tries, cash machine eats the card. Start Access to account Eat card Wait for Pin 1st try Enter Pin Ok 3rd try2nd try Pin NOT Ok Pin NOT Ok Card inserted Pin Ok Pin Ok Pin NOT Ok
  • 15. Use Case Testing  Use 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. – Use cases describe the process flows through a system based on its most likely use – This makes the test cases derived from use cases particularly good for finding defects in the real-world use of the system – Each use case usually has a mainstream (or most likely) scenario and sometimes additional alternative branches (covering, for example, special cases or exceptional conditions). – Each use case must specify any preconditions that need to be met for the use case to work. – Use cases must also specify post conditions that are observable results and a description of the final state of the system after the use case has been executed successfully.
  • 16. Structure-Based Techniques Dynamic Techniques Structure – Based Experience – Based Specification-Based Equivalence Partitioning State Transition Decision Tables Use Case Testing Boundary Values Analysis Error Guessing Exploratory Testing Statement Decision Condition Multiple Condition Procedure to derive and/or select test cases based on an analysis of the internal structure of a component or system. These are also called while-box techniques.
  • 17. Statement Testing  Statement – an entity in a programming language, which is typically the smallest indivisible unit of execution.  Example:
  • 18. Decision Testing  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 possible exits or outcomes from the statement.  Example:
  • 19. Experience-Based Techniques Dynamic Techniques . Structure – Based Experience – Based Specification-Based Equivalence Partitioning State Transition Decision Tables Use Case Testing Boundary Values Analysis Error Guessing Exploratory Testing Statement Decision Condition Multiple Condition Procedure to derive and/or select test cases based on the tester’s experience, knowledge and intuition.
  • 20. Choosing A Test Design Technique  Which technique is best? This is the wrong question! Each technique is good for certain things, and not as good for other things. Some techniques are more applicable to certain situations and test levels, others are applicable to all test levels.  The internal factors that influence the decision about which technique to use are: – Tester knowledge and experience – Expected defects – Test objectives – Documentation – Life cycle model  The external factors that influence the decision about which technique to use are: – Risks – Customer and contractual requirements – System type – Regulatory requirements – Time and budget

Editor's Notes

  1. Informal Review – a review not based on a formal (documented) procedure.Walkthrough – a step-by-step presentation by the author of a document in order to gather information and to establish a common understanding of its content.Technical Review – a peer group discussion activity that focuses on achieving consensus on the technical approach to be taken.Inspection – a type of peer review that relies on visual examination of documents to detect defects. The most formal review technique and therefore always based on a documented procedure.Control Flow Structure– a form of static analysis based on a representation of unique paths (sequences of events) in the execution through a component or system. Control flow analysis evaluates the integrity of control flow structures, looking for possible control flow anomalies such as closed loops or logically unreachable process steps.Data Flow Structure–aform of static analysis based on the definition and usage of variables.Data Structure- aform of static analysis based on the organization of the data itself, independent of the program.
  2. Statement -A testing aimed at exercising programming statements. If we aim to test every executable statement we call this full or 100% statement coverage.Decision -A white box test design technique in which test cases are designed to execute decision outcomes.Condition -A white box test design technique in which test cases are designed to execute condition outcomes – the evaluation of a condition to True or False.Multiply Condition -A white box test design technique in which test cases are designed to execute combinations of single condition outcomes (within one statement.