SlideShare a Scribd company logo
Test Analysis & Design
1 Fundamentals
2 Testing
in Lifecycle
4 Analysis
& Design
3 Static testing
5 Test
Management
6 Test Tools
ISTQB Foundation
Chapter - 4
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
Content
4.1 Test Techniques Overview
4.2 Black-box Test Techniques
4.3 White-box Test Techniques
4.4 Experience-based Test Techniques
4.5. Collaboration-based Test Approaches
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
Test Techniques at a context
 Test techniques support the tester in test analysis (what to test) and in test design (how to test).
 Test techniques help to develop a relatively small, but sufficient, set of test cases in a systematic way.
 Test techniques also help the tester to define test conditions, identify coverage items, and identify test data during the
test analysis and design.
Test Techniques Overview
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 Black-box test techniques (also known as specification-based techniques) are based on an analysis of the
specified behavior of the test object without reference to its internal structure.
 Therefore, the test cases are independent of how the software is implemented.
 Consequently, if the implementation changes, but the required behavior stays the same, then the test cases are still
useful.
 Techniques under this category
 Equivalence Partition
 Boundary Value Analysis
 State Transition Testing
 Decision Table Testing
Test Techniques Overview

Recommended for you

Chapter 1 - Testing Process
Chapter 1 - Testing ProcessChapter 1 - Testing Process
Chapter 1 - Testing Process

The document summarizes the key activities in the software testing process according to ISTQB, including test planning, monitoring and control, analysis, design, implementation, execution, evaluating exit criteria and reporting, and test closure activities. It provides details on each activity, such as the objectives of test planning, factors to consider for test analysis, and outputs that should be captured during test closure.

istqbistqb examinationistqb certification
Chapter 4 - Testing Quality Characteristics
Chapter 4 - Testing Quality CharacteristicsChapter 4 - Testing Quality Characteristics
Chapter 4 - Testing Quality Characteristics

This is the chapter 4 of ISTQB Advance Test Analyst certification. This presentation helps aspirants understand and prepare content of certification.

istqbistqb advancetest analyst
Chapter 2 - Preparing for Test Automation
Chapter 2 - Preparing for Test AutomationChapter 2 - Preparing for Test Automation
Chapter 2 - Preparing for Test Automation

This is the chapter 2 of ISTQB Advance Test Automation Engineer certification. This presentation helps aspirants understand and prepare content of certification.

istqbistqb examinationsample questions on istqb foundation
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 White-box test techniques (also known as structure-based techniques) are based on an analysis of the test object’s
internal structure and processing.
 As the test cases are dependent on how the software is designed, they can only be created after the design or
implementation of the test object.
 Techniques under this category
 Statement Testing and Coverage
 Branch Testing and Coverage
Test Techniques Overview
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 Experience-based test techniques effectively use the knowledge and experience of testers for the design and
implementation of test cases.
 The effectiveness of these techniques depends heavily on the tester’s skills.
 Experience-based test techniques can detect defects that may be missed using the black-box and white-box test
techniques.
 Hence, experience-based test techniques are complementary to the black-box and white-box test techniques.
 Techniques under this category
 Error Guessing
 Exploratory Testing
 Checklist Based Testing
Test Techniques Overview
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
Content
4.1 Test Techniques Overview
4.2 Black-box Test Techniques
4.3 White-box Test Techniques
4.4 Experience-based Test Techniques
4.5. Collaboration-based Test Approaches
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 It divides inputs into ranges(partition or class) where all the elements of a particular range are expected to
behave same.
 As per EP we take just 1 test case from each range.
Equivalence Partition

Recommended for you

Chapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationChapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and Automation

This is chapter 6 of ISTQB Advance Test Manager certification. This presentation helps aspirants understand and prepare the content of the certification.

istqbistqb examinationistqb certification
Chapter 1 - Requirement Engineering
Chapter 1 - Requirement EngineeringChapter 1 - Requirement Engineering
Chapter 1 - Requirement Engineering

This is chapter 1 of ISTQB Advance Agile Technical Tester certification. This presentation helps aspirants understand and prepare the content of the certification.

istqbistqb examinationistqb certification
Chapter 6 - Tool Support for Testing
Chapter 6 - Tool Support for TestingChapter 6 - Tool Support for Testing
Chapter 6 - Tool Support for Testing

Tool Support for Testing as Chapter 6 of ISTQB Foundation 2018. Topics covered are Tool Benefits, Test Tool Classification, Benefits of Test Automation, Risk of Test Automation, Selecting a tool for Organization, Pilot Project, Success factor for using a tool

istqb foundation level certificationistqb foundationistqb
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 An integer field shall contain values between and including 1 to 15. By applying Equivalence Partition what is the
minimum number of test cases required for maximum coverage?
A. 2
B. 3
C. 1
D. 4
Equivalence Partition
Invalid Valid Invalid
< 1 1 - 15 16 ≀
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 An integer field shall contain values between and including 1 to 15. By applying EP which of the following is a valid
collection of equivalence classes for the given scenario.
A. Less than 1, 1 through 15, more than 15
B. Negative numbers, 1 through 15, above 15
C. Less than 1, 1 through 14, more than 15
D. Less than 0, 1 through 14, 15 and more 3
Equivalence Partition
Invalid Valid Invalid
< 1 1 - 15 16 ≀
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 In a system designed to work out the tax to be paid:
An employee has Β£4000 of salary tax free. The next Β£1500 is taxed at 10% The next Β£28000 is taxed at 22% Any
further amount is taxed at 40% Which of these groups of numbers would fall into the same equivalence class?
A. Β£4800; Β£14000; Β£28000
B. Β£5200; Β£5500; Β£28000
C. Β£28001; Β£32000; Β£35000
D. Β£5800; Β£28000; Β£32000
Equivalence Partition
Valid
5501 - 33500
Valid
33501≀
Valid
4001 - 5500
Valid
1 - 4000
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 You are testing a simplified apartment search form which has only two search criteria:
 floor (with three possible options: ground floor; first floor; second or higher floor)
 garden type (with three possible options: no garden; small garden; large garden)
Only apartments on the ground floor have gardens. The form has a built-in validation mechanism that will not allow you to
use the search criteria which violate this rule.
Each test has two input values: floor and garden type. You want to apply equivalence partitioning (EP) to cover each floor
and each garden type in your tests.
What is the minimal number of test cases to achieve 100% EP coverage?
A. 3
B. 4
C. 5
D. 6
Equivalence Partition
Floor Garden Type
Test 1 Ground Floor Small
Test 2 Ground Floor Large
Test 3 First Floor No Garden
Test 4 Second or Higher Floor No Garden

Recommended for you

Chapter 1 - Testing Process
Chapter 1 - Testing ProcessChapter 1 - Testing Process
Chapter 1 - Testing Process

This is the chapter 1 of ISTQB Advance Test Analyst certification. This presentation helps aspirants understand and prepare content of certification.

istqbistqb advanceistqb certification
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1

The document discusses principles of software testing including why testing is necessary, common testing terminology, and the testing process. It describes the testing process as having six key steps: 1) planning, 2) specification, 3) execution, 4) recording, 5) checking completion, and 6) planning at a more detailed level. It emphasizes prioritizing tests to address highest risks and outlines factors that influence how much testing is needed such as contractual requirements, industry standards, and risk levels.

software testingistqb certificationistqb foundation
Chapter 8 - Continuous Improvement
Chapter 8 - Continuous ImprovementChapter 8 - Continuous Improvement
Chapter 8 - Continuous Improvement

This is the chapter 8 of ISTQB Advance Test Automation Engineer certification. This presentation helps aspirants understand and prepare content of certification.

istqbistqb examinationistqb certification
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 You are testing a flight booking application of Arline ABC. Below are the constraints in order to book a flight ticket
 Only staff of ABC Airline can book a flight
 A flight can be booked only on a weekday (Monday to Friday)
 A flight can be booked only between 9am to 5pm
Each test contains inputs from all 3 constraints to reduce the number of test cases. What is the minimal number of test
cases to achieve 100% EP coverage?
A. 3
B. 4
C. 5
D. 6
Equivalence Partition
User Type Day Time
Test 1 Staff Weekday (ANY) 11am
Test 2 Staff Weekday (ANY) 7pm
Test 3 Staff Weekend (ANY) 1pm
Test 4 Non-Staff Any Day of the week Any Time of the day
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
Content
4.1 Test Techniques Overview
4.2 Black-box Test Techniques
4.3 White-box Test Techniques
4.4 Experience-based Test Techniques
4.5. Collaboration-based Test Approaches
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 BVA tests on the boundaries the defect can lie near the boundaries as well.
 The values in valid range are called as valid boundary values whereas the values from invalid range are called invalid
boundary values.
 Boundary values for 2-Point analysis are calculated as LB, LB-1, RB, RB+1 where LB and RB are the LEFT and RIGHT
boundaries given in the scenario.
 Boundary values for 3-Point analysis are calculated as LB, LB+1, LB-1, & RB, RB-1, RB+1 where LB and RB are the LEFT
and RIGHT boundaries given in the scenario.
Boundary Value Analysis
Invalid Valid Invalid
LB RB
LB-1 RB+1
Invalid Valid Invalid
LB RB
LB-1 RB+1
LB+1 RB-1
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 A text field in an application accepts inputs as the age of the user. Here, the values allowed to be accepted by the field is
between 18 to 30 years, inclusive of both the values. By applying 3-Point Boundary value analysis what is the minimum
number of test cases required for maximum coverage.
A. 2
B. 6
C. 1
D. 4
Boundary Value Analysis
Invalid Valid Invalid
≀17 18 - 30 31≀

Recommended for you

Chapter 2 - Test Management
Chapter 2 - Test ManagementChapter 2 - Test Management
Chapter 2 - Test Management

This is the chapter 2 of ISTQB Advance Test Analyst certification. This presentation helps aspirants understand and prepare content of certification.

istqbistqb advancetest automation
ISTQB Metodolojisi ile Test Planlama ve Tahminleme
ISTQB Metodolojisi ile Test Planlama ve TahminlemeISTQB Metodolojisi ile Test Planlama ve Tahminleme
ISTQB Metodolojisi ile Test Planlama ve Tahminleme

Eğitiτ€…΅ Δ°Γ§eriği ISTQB Metodolijisi ile Test planlama ve Tahminleme BΓΆlΓΌm 1: Test Planlama (Test Planing) BΓΆlΓΌm 2: Test Planlama AdΔ±mlarΔ± (Test Planing Activities) BΓΆlΓΌm 3: Test Tahminleme (Test Estimation) BΓΆlΓΌm 4: Test Stratejisi,Test YaklaşımΔ± (Test Strategy,Test Approach) BΓΆlΓΌm 5: ISTQB Metodolojisi ile Test Planlama ve Tahminleme Soru Γ–rnekleri

businesiş analiziproje yânetimi
Chapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationChapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and Automation

This is chapter 6 of ISTQB Advance Technical Test Analyst certification. This presentation helps aspirants understand and prepare the content of the certification.

technical test analystistqbistqb examination
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 Minimum quantity to place the order is 5. To get additional 10% off, you should buy 100 or more quantity. Based on
Boundary value analysis which of the given option consist of valid collection of boundary values using 2 Point Analysis.
A. 3, 4, 99, 100
B. 4, 5, 100, 101
C. 4. 5. 99, 100
D. 3, 4, 99, 100
Boundary Value Analysis
No Order
Order Without
Discount
≀4 5 - 99 100≀
Order Without
10% Discount
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 A text field in an application accepts inputs as the age of the user. Here, the values allowed to be accepted by the field is
between 18 to 30 years, inclusive of both the values. By applying EP and 2 Point BVA which of the given option consist
of valid boundary values and valid equivalence value.
A. 17, 18, 20
B. 18, 30, 25
C. 18, 30, 31
D. 19, 20, 31
Boundary Value Analysis
Invalid Valid Invalid
≀17 18 - 30 31≀
2P BVA
EP
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
Content
4.1 Test Techniques Overview
4.2 Black-box Test Techniques
4.3 White-box Test Techniques
4.4 Experience-based Test Techniques
4.5. Collaboration-based Test Approaches
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 Decision Table captures system requirements that contain logical conditions.
 The specification are analyzed, and conditions and actions of the system are identified in a tabular form.
 The input conditions and actions are most often stated in a way that they must be true or false.
 The number of combination will be 2N
 Where N = Number of Conditions
Decision Table Testing
Test Case 1 Test Case 2 Test Case 3 Test Case 4
Conditions
Condition 1 True True False False
Condition 2 True False True False
Actions
Action X X X X

Recommended for you

Chapter 3 - Reviews
Chapter 3 - ReviewsChapter 3 - Reviews
Chapter 3 - Reviews

This is chapter 3 of ISTQB Advance Test Manager certification. This presentation helps aspirants understand and prepare the content of the certification.

istqbistqb examinationistqb certification
Chapter 5 - Test Management
Chapter 5 - Test ManagementChapter 5 - Test Management
Chapter 5 - Test Management

Test Management as Chapter 5 of ISTQB Foundation 2018. Topics covered are Test Organization, Test Planning and Estimation, Test Monitoring and Control, Test Execution Schedule, Test Strategy, Risk and Testing, Defect Management

istqb foundation level certificationistqb foundationistqb
Istqb question-paper-dump-1
Istqb question-paper-dump-1Istqb question-paper-dump-1
Istqb question-paper-dump-1

The document contains a 40 question ISTQB question paper dump covering topics in software testing such as test techniques, test documentation standards, test management tools, and costs of fixing defects. Some key points covered include: - Regression testing should be performed after software changes and when the environment changes. - Early test design can prevent fault multiplication and find faults but faults found then are more expensive to fix. - The main purpose of acceptance testing is to ensure the system is acceptable from a business perspective. - The cost of fixing a defect increases as a system moves closer to production use.

TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 What is the expected result for each of the following test cases?
 User X - Citibank card member, holding a Silver room
 User Y - Non Citibank-member, holding a Platinum room
A. X – Don’t offer any upgrade, Y – Don’t offer any upgrade.
B. X – Don’t offer any upgrade, Y – Offer upgrade to Gold.
C. X – Offer upgrade to Silver, Y – Offer upgrade to Silver.
D. X – Offer upgrade to Gold, Y – Don’t offer any upgrade.
Decision Table Testing
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 Given the following decision table: Which of the following test cases and expected results is VALID?
A. 23 year old in insurance class A Premium is 90 and excess is 2,500.
B. 51 year old in insurance class C Premium is 100 and excess is 500.
C. 31 year old in insurance class B Premium is 70 and excess is 2,500.
D. 43 year old in insurance class C Premium is 100 and excess is 1,000.
Decision Table Testing
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
Content
4.1 Test Techniques Overview
4.2 Black-box Test Techniques
4.3 White-box Test Techniques
4.4 Experience-based Test Techniques
4.5. Collaboration-based Test Approaches
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 State transition testing exhibits the various states of scenario/system and only possible transition between them.
 The representation is called as State Transition Diagram(STD).
 A STD shows all Valid Transitions Only.
 A STD consist of pair of transition between 2 states.
 If the pair is missing between 2 states then the missing transition/s is/are called as Invalid Transitions.
State Transition Testing
S1 S2 S3
A
D C
B

Recommended for you

ISTQB, ISEB Lecture Notes- 4
ISTQB, ISEB Lecture Notes- 4ISTQB, ISEB Lecture Notes- 4
ISTQB, ISEB Lecture Notes- 4

ISTQB, ISEB, Test Techniques, www.onsoftwaretest.com Functional Testing, Black and White Box Testing Tecniques

istqbisebtest
Chapter 3 - Test Techniques
Chapter 3 - Test TechniquesChapter 3 - Test Techniques
Chapter 3 - Test Techniques

This is the chapter 3 of ISTQB Advance Test Analyst certification. This presentation helps aspirants understand and prepare content of certification.

istqbistqb advanceistqb examination
Testcase design techniques final
Testcase design techniques finalTestcase design techniques final
Testcase design techniques final

The document discusses various test case design techniques, including boundary value analysis and decision table testing. Boundary value analysis focuses on testing values at the boundaries of requirements because defects often occur there. It involves testing one point on the boundary, one just below, and one just above. Decision table testing represents complex business rules in a table with conditions and expected actions. Test cases are then created based on each rule in the table.

 
β€’by shraavank
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
For Example -
 State transition testing and State transition diagram of Water
State Transition Testing
ICE WATER VAPOUR
A
D C
B
Test Case ID TC01 TC02 TC03 TC04
Starting State ICE WATER WATER VAPOUR
Transition A D B C
Final State WATER ICE VAPOUR WATER
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 Based on the given state transition diagram of a switch. Which of the following test case is Invalid?
A. OFF to ON
B. ON to OFF
C. FAULT to ON
D. ON to FAULT
State Transition Testing
ON
OFF
FAULT
S1
S2
S3
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 Given the following state transition diagram, Which of the test cases below will cover the following series of state
transitions?
S1 SO S1 S2 SO
A. D, A, B, C.
B. A, B, C, D.
C. D, A, B.
D. A, B, C.
State Transition Testing
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
Content
4.1 Test Techniques Overview
4.2 Black-box Test Techniques
4.3 White-box Test Techniques
4.4 Experience-based Test Techniques
4.5. Collaboration-based Test Approaches

Recommended for you

Test case development
Test case developmentTest case development
Test case development

Test case development presentation done by Hrushikesh Wakhle. Importance of Test Cases, How and Why to develop Test cases.

agile software developmenttestingstlc
A Test Analysis Method for Black Box Testing Using AUT and Fault Knowledge.
A Test Analysis Method for Black Box Testing Using AUT and Fault Knowledge.A Test Analysis Method for Black Box Testing Using AUT and Fault Knowledge.
A Test Analysis Method for Black Box Testing Using AUT and Fault Knowledge.

With a rapid increase in size and complexity of software today, the scope of software testing is also expanding. The efficiency of software testing needs to be improved in order to ensure the appropriate delivery deadline and cost of software development. For improving efficiency of software testing, the test needs to be designed in a way that the number of test cases is sufficient and appropriate in quantity. Test analysis is the activity to refine Application Under Test (AUT) into proper size that test design techniques can be applied to. It is for designing the test properly. However, the classification for proper size depends on individual’s own judgments. This paper proposes a test analysis method for the black box testing using a test category that is the classification based on fault and AUT knowledge.

test analysis methodsoftware testing
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing

Black-box testing is a method of software testing that examines the functionality of an application without peering into its internal structures or workings.

black boxblack box testingtesting
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 Because of their popularity and simplicity, this section focuses on two code-related white-box test techniques:
 Statement testing
 Branch testing
 There are more rigorous techniques that are used in some safety-critical, mission-critical, or high-integrity
environments to achieve more thorough code coverage.
 Statement Testing is the technique to derive the minimum number of tests to measure the statements in a fragment of
code whereas Statement Coverage is a metric to measure the coverage achieved by these tests.
 Branch Testing is the technique to derive the minimum number of tests to measure the branches in a fragment of code
whereas Branch Coverage is a metric to measure the coverage achieved by these tests.
 Decision Testing is stronger than Statement Testing.
 100% Decision Coverage guarantees 100% Statement Coverage but not vice versa.
Statement Testing
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
Read A
Read B
If A>B then
Print β€œA is Bigger”
Else
Print β€œB is Bigger”
End If
Statement Testing
True
False
?
Start
End
Branch
Statement
A,B
A>B
A
B
End If
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
Read A
Read B
If A>B then
Print β€œA is Bigger”
Else
Print β€œB is Bigger”
End If
A Path is the executable path which reaches
the end of the code starting from the start point.
Min no. of paths required for covering all the nodes.
Statement Testing
True
False
?
Start
End
2
1
A,B
A>B
A
B
End If
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
Read A
IF A > 0 THEN
IF A = 21 THEN
Print β€œKey”
ENDIF
ENDIF
Statement Testing
Print
Yes
A=21
Yes
No
End
A>0
No
Read
T
F
T
F

Recommended for you

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

This document discusses different types of software testing techniques, including structured-based techniques like cyclomatic complexity and statement/decision coverage, as well as experience-based techniques like error guessing and exploratory testing. It explains how to calculate cyclomatic complexity and coverage percentages. Choosing the appropriate testing technique depends on factors like system type, standards, requirements, risk level, documentation, tester knowledge, time and budget. Testing usually involves combining different techniques.

testing technique black-box white-box
Orthogonal array approach a case study
Orthogonal array approach   a case studyOrthogonal array approach   a case study
Orthogonal array approach a case study

Problem Statement:One of the common concerns from the customers is that how to effectively optimize the testing given the multiple integration points in a distributed/composite system environments, which does expose at least the below pain points: 1. Avoid Exhausted testing 2. Meet all the boundary conditions 3. Limited time to execute 100% test execution 4. Include all the critical business functions 5. Efficient Regression Testing and the list goes on... Resolution: The solution is detailed in the attachment and have effectively implemented in various client places.

Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...
Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...
Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...

QA is taken from following textbook: Foundations of Software Testing(Updated) ISTQB Certification by Dorothy Graham, Erik Van Veenendaal, Isabel Evans, Rex Black, Graham Isabel Paperback, 258 Pages, Published 2008 by Cengage Learning Emea ISBN-13: 978-1-84480-989-9, ISBN: 1-84480-989-7

software testingistqbqa
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
Content
4.1 Test Techniques Overview
4.2 Black-box Test Techniques
4.3 White-box Test Techniques
4.4 Experience-based Test Techniques
4.5. Collaboration-based Test Approaches
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 Because of their popularity and simplicity, this section focuses on two code-related white-box test techniques:
 Statement testing
 Branch testing
 There are more rigorous techniques that are used in some safety-critical, mission-critical, or high-integrity
environments to achieve more thorough code coverage.
 Statement Testing is the technique to derive the minimum number of tests to measure the statements in a fragment of
code whereas Statement Coverage is a metric to measure the coverage achieved by these tests.
 Branch Testing is the technique to derive the minimum number of tests to measure the branches in a fragment of code
whereas Branch Coverage is a metric to measure the coverage achieved by these tests.
 Branch Testing is stronger than Statement Testing.
 100% Branch Coverage guarantees 100% Statement Coverage but not vice versa.
Branch Testing
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
Read A
Read B
If A>B then
Print β€œA is Bigger”
Else
Print β€œB is Bigger”
End If
Branch Testing
True
False
?
Start
End
Branch
Statement
A,B
A>B
A
B
End If
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
Read A
Read B
If A>B then
Print β€œA is Bigger”
Else
Print β€œB is Bigger”
End If
A Path is the executable path which reaches
the end of the code starting from the start point.
Min no. of paths required for covering all the nodes.
Branch Testing
True
False
?
Start
End
2
1
A,B
A>B
A
B
End If

Recommended for you

A study on the efficiency of a test analysis method utilizing test-categories...
A study on the efficiency of a test analysis method utilizing test-categories...A study on the efficiency of a test analysis method utilizing test-categories...
A study on the efficiency of a test analysis method utilizing test-categories...

This document describes a study on improving the efficiency of test analysis through utilizing test categories based on application under test (AUT) knowledge and known faults. The study proposes a method for defining test categories based on logical structures of features to guide test condition determination. A verification experiment was conducted and showed measurable improvement in test coverage when using the proposed method. The method aims to minimize variability in test analysis results by providing a standardized process for testers to follow.

Dynamic Testing
Dynamic TestingDynamic Testing
Dynamic Testing

Dynamic testing analyzes the dynamic behavior of code by executing it with different inputs and checking the outputs. There are two main types: black box testing which tests functionality without viewing internal structure, and white box testing which tests based on internal structure. Black box techniques include boundary value analysis, equivalence partitioning, error guessing, cause-effect graphing, and state transition testing. White box techniques include code coverage and complexity analysis. Dynamic testing can find errors not detected through static analysis but takes more time than static testing.

 
β€’by Jimi Patel
Testing lab manual Testing lab manual sqa
Testing lab manual Testing lab manual sqaTesting lab manual Testing lab manual sqa
Testing lab manual Testing lab manual sqa

Lab manual

TM
Β© 2023. All Rights Reserved
Test Analysis & Design
Read A
IF A > 0 THEN
IF A = 21 THEN
Print β€œKey”
ENDIF
ENDIF
Branch Testing
Print
Yes
A=21
Yes
No
End
A>0
No
Read
T
F
T
F
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
For the given flowchart, following paths/test cases have been
executed. What decision coverage is achieved?
Test 1 – A,B,C
Test 2 – A,B,D,F,H
A. 50%
B. 63%
C. 75%
D. 100%
Branch Testing
D
B
A
C
F
E
G
H
Branch Coverage=
π‘π‘’π‘šπ‘π‘’π‘Ÿ π‘œπ‘“ π΅π‘Ÿπ‘Žπ‘›π‘β„Žπ‘’π‘  𝐸π‘₯𝑒𝑐𝑒𝑑𝑒𝑑 𝑏𝑦 π‘‘β„Žπ‘’ 𝑇𝑒𝑠𝑑
π‘‡π‘œπ‘‘π‘Žπ‘™ π‘π‘’π‘šπ‘π‘’π‘Ÿ π‘œπ‘“ π΅π‘Ÿπ‘Žπ‘›π‘β„Žπ‘’π‘  𝑖𝑛 π‘‘β„Žπ‘’ π‘π‘œπ‘‘π‘’
π‘₯ 100
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
For the given flowchart, following paths/test cases have been
executed. What Statement coverage is achieved?
Test 1 – A,B,C
Test 2 – A,B,D,F,H
A. 50%
B. 75%
C. 90%
D. 100%
Branch Testing
D
B
A
C
F
E
G
H
Statement Coverage=
π‘π‘’π‘šπ‘π‘’π‘Ÿ π‘œπ‘“ π‘†π‘‘π‘Žπ‘‘π‘’π‘šπ‘’π‘›π‘‘π‘  𝐸π‘₯𝑒𝑐𝑒𝑑𝑒𝑑 𝑏𝑦 π‘‘β„Žπ‘’ 𝑇𝑒𝑠𝑑
π‘‡π‘œπ‘‘π‘Žπ‘™ π‘π‘’π‘šπ‘π‘’π‘Ÿ π‘œπ‘“ π‘†π‘‘π‘Žπ‘‘π‘’π‘šπ‘’π‘›π‘‘ 𝑖𝑛 π‘‘β„Žπ‘’ π‘π‘œπ‘‘π‘’
π‘₯ 100
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
Content
4.1 Test Techniques Overview
4.2 Black-box Test Techniques
4.3 White-box Test Techniques
4.4 Experience-based Test Techniques
4.5. Collaboration-based Test Approaches

Recommended for you

Software Testing strategies, their types and Levels
Software Testing strategies, their types and LevelsSoftware Testing strategies, their types and Levels
Software Testing strategies, their types and Levels

Testing Strategies

CTFL Module 04
CTFL Module 04CTFL Module 04
CTFL Module 04

This document discusses various static and dynamic testing techniques. It explains that static testing is done manually without executing code, such as reviews and inspections. Dynamic testing requires executing the code using techniques like unit testing. Black box techniques like equivalence partitioning, boundary value analysis, decision tables, and state transition testing are covered, along with an example for each. White box techniques focus on internal code structure and test coverage metrics. The document provides details on different testing techniques for testers to design effective test cases.

itbmanual testingtest designing
Implementing Blackbox Testing
Implementing Blackbox TestingImplementing Blackbox Testing
Implementing Blackbox Testing

Software testing is a vital process without which no software release can occur, it makes the software usable. Software testing offers opportunities constantly to be exposed with new development methods, new platform technologies, new product innovations.

 
β€’by Edureka!
software testing
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 A fundamental strength that all white-box techniques share is that the entire software implementation is taken into
account during testing, which facilitates defect detection even when the software specification is vague, outdated or
incomplete.
 A corresponding weakness is that if the software does not implement one or more requirements, white box testing may
not detect the resulting defects of omission.
 White-box techniques can be used in static testing (e.g., during dry runs of code). They are well suited to reviewing code
that is not yet ready for execution, as well as pseudocode and other high level or top-down logic which can be modeled
with a control flow graph.
 Performing only black-box testing does not provide a measure of actual code coverage.
 White-box coverage measures provide an objective measurement of coverage and provide the necessary information to
allow additional tests to be generated to increase this coverage, and subsequently increase confidence in the code.
The Value of White Box Testing
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
Content
4.1 Test Techniques Overview
4.2 Black-box Test Techniques
4.3 White-box Test Techniques
4.4 Experience-based Test Techniques
4.5. Collaboration-based Test Approaches
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 Experience Based techniques uses tester’s skill, intuition and experience of similar application and technologies.
 These techniques are useful in identifying special tests which are not easily captured by formal techniques.
 These techniques are usually applied after applying formal techniques.
 There are few scenarios where these are the only option to applied.
 Specifications are poorly defined.
 Time Pressure.
 Testing team is not formally trained on testing fundamentals.
Introduction to Experience Based Techniques
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 This techniques requires knowledge of defects and experience of application.
 Is to enumerate possible defects and design tests that attack these defects.
 This systematic approach is called Fault Attack.
 These defect and failure list can be built based on experience, typical defect and failure data.
 Updating the result of execution and evaluating further need of tests and their execution.
 Error guessing based on
 How the application has worked in the past
 What types of mistakes the developers tend to make
 Failures that have occurred in other applications
Error Guessing

Recommended for you

Cause-Effect Graphing: Rigorous Test Case Design
Cause-Effect Graphing: Rigorous Test Case DesignCause-Effect Graphing: Rigorous Test Case Design
Cause-Effect Graphing: Rigorous Test Case Design

A tester’s toolbox today contains a number of test case design techniquesβ€”classification trees, pairwise testing, design of experiments-based methods, and combinatorial testing. Each of these methods is supported by automated tools. Tools provide consistency in test case design, which can increase the all-important test coverage in software testing. Cause-effect graphing, another test design technique, is superior from a test coverage perspective, reducing the number of test cases needed to provide excellent coverage. Gary Mogyorodi describes these black box test case design techniques, summarizes the advantages and disadvantages of each technique, and provides a comparison of the features of the tools that support them. Using an example problem, he compares the number of test cases derived and the test coverage obtained using each technique, highlighting the advantages of cause-effect graphing. Join Gary to see what new techniques you might want to add to your toolbox.

 
β€’by TechWell
Unit2 for st
Unit2 for stUnit2 for st
Unit2 for st

The document discusses strategies for designing effective test cases, including black box and white box testing approaches. It focuses on the black box strategy of equivalence class partitioning to guide test case selection. Equivalence class partitioning involves dividing the software's input domain into partitions (equivalence classes) based on interesting input conditions from the specification. Test cases are then developed to cover all the classes. This technique guides testers to select a representative subset of inputs that has a high probability of detecting defects, while covering a large domain with fewer test cases.

Session 08 - Test Case Design and Technique
Session 08 - Test Case Design and TechniqueSession 08 - Test Case Design and Technique
Session 08 - Test Case Design and Technique

In this session you will learn: Test Case Design and Techniques Test Cases Good Test Cases Test Case Design Technique Black-box: Three major approaches Black-box : Equivalence Partitioning Boundary value analysis

 
β€’by PoojaLQA
test case design and techniquestest casesgood test cases
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 In exploratory testing, tests are simultaneously designed, executed, and evaluated while the tester learns about the test
object.
 The testing is used to learn more about the test object, to explore it more deeply with focused tests, and to create tests
for untested areas.
 Exploratory testing is sometimes conducted using session-based testing to structure the testing. In a session-based
approach, exploratory testing is conducted within a defined time-box. The tester uses a test charter containing test
objectives to guide the testing.
 The test session is usually followed by a debriefing that involves a discussion between the tester and stakeholders
interested in the test results of the test session.
 In this approach test objectives may be treated as high-level test conditions.
 Coverage items are identified and exercised during the test session. The tester may use test session sheets to document
the steps followed and the discoveries made. Exploratory testing is useful when there are few or inadequate
specifications or there is significant time pressure on the testing.
 Exploratory testing is also useful to complement other more formal test techniques. Exploratory testing will be more
effective if the tester is experienced, has domain knowledge and has a high degree of essential skills, like analytical
skills, curiosity and creativeness
Exploratory Testing
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 In checklist-based testing, a tester designs, implements, and executes tests to cover test conditions from a checklist.
Checklists can be built based on experience, knowledge about what is important for the user, or an understanding of
why and how software fails.
 Checklists should not contain items that can be checked automatically, items better suited as entry/exit criteria, or
items that are too general.
 Checklist items are often phrased in the form of a question. It should be possible to check each item separately and
directly. These items may refer to requirements, graphical interface properties, quality characteristics or other forms of
test conditions.
 Checklists can be created to support various test types, including functional and non-functional testing.
 Some checklist entries may gradually become less effective over time because the developers will learn to avoid making
the same errors. New entries may also need to be added to reflect newly found high severity defects. Therefore,
checklists should be regularly updated based on defect analysis.
 However, care should be taken to avoid letting the checklist become too long.
 In the absence of detailed test cases, checklist-based testing can provide guidelines and some degree of consistency for
the testing. If the checklists are high-level, some variability in the actual testing is likely to occur, resulting in potentially
greater coverage but less repeatability.
Checklist Based Testing
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
Content
4.1 Test Techniques Overview
4.2 Black-box Test Techniques
4.3 White-box Test Techniques
4.4 Experience-based Test Techniques
4.5. Collaboration-based Test Approaches
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 A user story represents a feature that will be valuable to either a user or purchaser of a system or software.
 User stories have three critical aspects, called together the β€œ3 C’s”:
 Card – the medium describing a user story (e.g., an index card, an entry in an electronic board)
 Conversation – explains how the software will be used (can be documented or verbal)
 Confirmation – the acceptance criteria
 The most common format for a user story is β€œAs a [role], I want [goal to be accomplished], so that I can [resulting
business value for the role]”, followed by the acceptance criteria.
 Collaborative authorship of the user story can use techniques such as brainstorming and mind mapping. The
collaboration allows the team to obtain a shared vision of what should be delivered, by taking into account three
perspectives: business, development and testing.
 Good user stories should be: Independent, Negotiable, Valuable, Estimable, Small and Testable (INVEST). If a
stakeholder does not know how to test a user story, this may indicate that the user story is not clear enough, or that it
does not reflect something valuable to them, or that the stakeholder just needs help in testing.
Collaborative User Story Writing

Recommended for you

Unit testing
Unit testingUnit testing
Unit testing

This document provides information about software testing. It discusses different types of software testing like unit testing, black box testing, and white box testing. It also describes various techniques used for testing like equivalence partitioning, boundary value analysis, and cause-effect graphing. The key objectives of testing are to discover faults and ensure software works as intended by identifying differences between expected and actual results.

Combinatorial testing ppt
Combinatorial testing pptCombinatorial testing ppt
Combinatorial testing ppt

Combinatorial testing (CT) can significantly reduce the number of tests needed to cover all combinations of parameters by using techniques like pairwise testing. Pairwise testing involves testing all possible combinations of each pair of input parameters, reducing hundreds of thousands of test cases to just a few dozen. Tools are available to automatically generate optimal pairwise test cases. CT has been shown to improve defect detection over traditional ad hoc testing while lowering costs by reducing testing time and effort.

Testing
TestingTesting
Testing

The document discusses software testing objectives, principles, techniques and processes. It covers black-box and white-box testing, unit and integration testing, and challenges of object-oriented testing. Testing aims to find bugs but can never prove their absence. Exhaustive testing is impossible so testing must be planned and systematic. Frameworks like xUnit can help automate unit testing.

TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 Acceptance criteria for a user story are the conditions that an implementation of the user story must meet to be
accepted by stakeholders. From this perspective, acceptance criteria may be viewed as the test conditions that should
be exercised by the tests.
 Acceptance criteria are usually a result of the Conversation. Acceptance criteria are used to:
 Define the scope of the user story
 Reach consensus among the stakeholders
 Describe both positive and negative scenarios
 Serve as a basis for the user story acceptance testing
 Allow accurate planning and estimation
 There are several ways to write acceptance criteria for a user story. The two most common formats are:
 Scenario-oriented (e.g., Given/When/Then format used in BDD)
 Rule-oriented (e.g., bullet point verification list, or tabulated form of input-output mapping)
 Most acceptance criteria can be documented in one of these two formats. However, the team may use another, custom
format, as long as the acceptance criteria are well-defined and unambiguous.
Acceptance Criteria
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 ATDD is a test-first approach. Test cases are created prior to implementing the user story. The test cases are created by
team members with different perspectives, e.g., customers, developers, and testers.
 Test cases may be executed manually or automated. The first step is a specification workshop where the user story and
(if not yet defined) its acceptance criteria are analyzed, discussed, and written by the team members. Incompleteness,
ambiguities, or defects in the user story are resolved during this process.
 The next step is to create the test cases. This can be done by the team as a whole or by the tester individually. The test
cases are based on the acceptance criteria and can be seen as examples of how the software works. This will help the
team implement the user story correctly.
 Since examples and tests are the same, these terms are often used interchangeably.
 During the test design the test techniques may be applied.
Acceptance Test-driven Development (ATDD)
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
 Typically, the first test cases are positive, confirming the correct behavior without exceptions or error conditions, and
comprising the sequence of activities executed if everything goes as expected.
 After the positive test cases are done, the team should perform negative testing. Finally, the team should cover non-
functional quality characteristics as well (e.g., performance efficiency, usability). Test cases should be expressed in a
way that is understandable for the stakeholders.
 Typically, test cases contain sentences in natural language involving the necessary preconditions (if any), the inputs,
and the postconditions. The test cases must cover all the characteristics of the user story and should not go beyond the
story. However, the acceptance criteria may detail some of the issues described in the user story.
 In addition, no two test cases should describe the same characteristics of the user story. When captured in a format
supported by a test automation framework, the developers can automate the test cases by writing the supporting code
as they implement the feature described by a user story.
 The acceptance tests then become executable requirements.
Acceptance Test-driven Development (ATDD)
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
1. Which of the following is a characteristic of experience-based test techniques?
Answer Set
A. Test cases are created based on detailed design information
B. Items tested within the interface code section are used to measure coverage
C. The techniques heavily rely on the tester’s knowledge of the software and the business domain
D. The test cases are used to identify deviations from the requirements
Sample Questions

Recommended for you

Test case techniques
Test case techniquesTest case techniques
Test case techniques

This is the presentation describing different techniques used to write test cases for software testing. You can have overview with detailed example for test case techniques. After reading this, You'll able to assume which technique can be more useful to you software testing.

software testingtestingsoftware
Chapter 6 - Test Tools Considerations V4.0
Chapter 6 - Test Tools Considerations V4.0Chapter 6 - Test Tools Considerations V4.0
Chapter 6 - Test Tools Considerations V4.0

Tool Support for Testing as Chapter 6 of ISTQB Foundation 2018. Topics covered are Tool Benefits, Test Tool Classification, Benefits of Test Automation and Risk of Test Automation

istqbistqb examinationistqb sample questions
Chapter 5 - Managing Test Activities V4.0
Chapter 5 - Managing Test Activities V4.0Chapter 5 - Managing Test Activities V4.0
Chapter 5 - Managing Test Activities V4.0

Test Management as Chapter 5 of ISTQB Foundation. Topics covered are Test Organization, Test Planning and Estimation, Test Monitoring and Control, Test Execution Schedule, Test Strategy, Risk Management, Defect Management

istqbistqb examinationistqb sample questions
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
2. Your test suite achieved 100% statement coverage. What is the consequence of this fact?
Answer Set
A. Each instruction in the code that contains a defect has been executed at least once
B. Any test suite containing more test cases than your test suite will also achieve 100% statement coverage
C. Each path in the code has been executed at least once
D. Every combination of input values has been tested at least once
Sample Questions
TM
Β© 2023. All Rights Reserved
Test Analysis & Design
3. Which of the following BEST describes the way acceptance criteria can be documented?
Answer Set
A. Performing retrospectives to determine the actual needs of the stakeholders regarding a given user story
B. Using the given/when/then format to describe an example test condition related to a given user story
C. Using verbal communication to reduce the risk of misunderstanding the acceptance criteria by others
D. Documenting risks related to a given user story in a test plan to facilitate the risk-based testing of a given user story
Sample Questions

More Related Content

What's hot

Chapter 3 - Test Automation
Chapter 3 - Test AutomationChapter 3 - Test Automation
Chapter 3 - Test Automation
Neeraj Kumar Singh
 
Chapter 4 - Test Design Techniques
Chapter 4 - Test Design TechniquesChapter 4 - Test Design Techniques
Chapter 4 - Test Design Techniques
Neeraj Kumar Singh
 
Iseb, ISTQB Static Testing
Iseb, ISTQB Static TestingIseb, ISTQB Static Testing
Iseb, ISTQB Static Testing
onsoftwaretest
 
Chapter 1 - Testing Process
Chapter 1 - Testing ProcessChapter 1 - Testing Process
Chapter 1 - Testing Process
Neeraj Kumar Singh
 
Chapter 4 - Testing Quality Characteristics
Chapter 4 - Testing Quality CharacteristicsChapter 4 - Testing Quality Characteristics
Chapter 4 - Testing Quality Characteristics
Neeraj Kumar Singh
 
Chapter 2 - Preparing for Test Automation
Chapter 2 - Preparing for Test AutomationChapter 2 - Preparing for Test Automation
Chapter 2 - Preparing for Test Automation
Neeraj Kumar Singh
 
Chapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationChapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and Automation
Neeraj Kumar Singh
 
Chapter 1 - Requirement Engineering
Chapter 1 - Requirement EngineeringChapter 1 - Requirement Engineering
Chapter 1 - Requirement Engineering
Neeraj Kumar Singh
 
Chapter 6 - Tool Support for Testing
Chapter 6 - Tool Support for TestingChapter 6 - Tool Support for Testing
Chapter 6 - Tool Support for Testing
Neeraj Kumar Singh
 
Chapter 1 - Testing Process
Chapter 1 - Testing ProcessChapter 1 - Testing Process
Chapter 1 - Testing Process
Neeraj Kumar Singh
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1
Yogindernath Gupta
 
Chapter 8 - Continuous Improvement
Chapter 8 - Continuous ImprovementChapter 8 - Continuous Improvement
Chapter 8 - Continuous Improvement
Neeraj Kumar Singh
 
Chapter 2 - Test Management
Chapter 2 - Test ManagementChapter 2 - Test Management
Chapter 2 - Test Management
Neeraj Kumar Singh
 
ISTQB Metodolojisi ile Test Planlama ve Tahminleme
ISTQB Metodolojisi ile Test Planlama ve TahminlemeISTQB Metodolojisi ile Test Planlama ve Tahminleme
ISTQB Metodolojisi ile Test Planlama ve Tahminleme
PEM Proje Eğitim Merkezi
 
Chapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationChapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and Automation
Neeraj Kumar Singh
 
Chapter 3 - Reviews
Chapter 3 - ReviewsChapter 3 - Reviews
Chapter 3 - Reviews
Neeraj Kumar Singh
 
Chapter 5 - Test Management
Chapter 5 - Test ManagementChapter 5 - Test Management
Chapter 5 - Test Management
Neeraj Kumar Singh
 
Istqb question-paper-dump-1
Istqb question-paper-dump-1Istqb question-paper-dump-1
Istqb question-paper-dump-1
TestingGeeks
 
ISTQB, ISEB Lecture Notes- 4
ISTQB, ISEB Lecture Notes- 4ISTQB, ISEB Lecture Notes- 4
ISTQB, ISEB Lecture Notes- 4
onsoftwaretest
 
Chapter 3 - Test Techniques
Chapter 3 - Test TechniquesChapter 3 - Test Techniques
Chapter 3 - Test Techniques
Neeraj Kumar Singh
 

What's hot (20)

Chapter 3 - Test Automation
Chapter 3 - Test AutomationChapter 3 - Test Automation
Chapter 3 - Test Automation
 
Chapter 4 - Test Design Techniques
Chapter 4 - Test Design TechniquesChapter 4 - Test Design Techniques
Chapter 4 - Test Design Techniques
 
Iseb, ISTQB Static Testing
Iseb, ISTQB Static TestingIseb, ISTQB Static Testing
Iseb, ISTQB Static Testing
 
Chapter 1 - Testing Process
Chapter 1 - Testing ProcessChapter 1 - Testing Process
Chapter 1 - Testing Process
 
Chapter 4 - Testing Quality Characteristics
Chapter 4 - Testing Quality CharacteristicsChapter 4 - Testing Quality Characteristics
Chapter 4 - Testing Quality Characteristics
 
Chapter 2 - Preparing for Test Automation
Chapter 2 - Preparing for Test AutomationChapter 2 - Preparing for Test Automation
Chapter 2 - Preparing for Test Automation
 
Chapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationChapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and Automation
 
Chapter 1 - Requirement Engineering
Chapter 1 - Requirement EngineeringChapter 1 - Requirement Engineering
Chapter 1 - Requirement Engineering
 
Chapter 6 - Tool Support for Testing
Chapter 6 - Tool Support for TestingChapter 6 - Tool Support for Testing
Chapter 6 - Tool Support for Testing
 
Chapter 1 - Testing Process
Chapter 1 - Testing ProcessChapter 1 - Testing Process
Chapter 1 - Testing Process
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1
 
Chapter 8 - Continuous Improvement
Chapter 8 - Continuous ImprovementChapter 8 - Continuous Improvement
Chapter 8 - Continuous Improvement
 
Chapter 2 - Test Management
Chapter 2 - Test ManagementChapter 2 - Test Management
Chapter 2 - Test Management
 
ISTQB Metodolojisi ile Test Planlama ve Tahminleme
ISTQB Metodolojisi ile Test Planlama ve TahminlemeISTQB Metodolojisi ile Test Planlama ve Tahminleme
ISTQB Metodolojisi ile Test Planlama ve Tahminleme
 
Chapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationChapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and Automation
 
Chapter 3 - Reviews
Chapter 3 - ReviewsChapter 3 - Reviews
Chapter 3 - Reviews
 
Chapter 5 - Test Management
Chapter 5 - Test ManagementChapter 5 - Test Management
Chapter 5 - Test Management
 
Istqb question-paper-dump-1
Istqb question-paper-dump-1Istqb question-paper-dump-1
Istqb question-paper-dump-1
 
ISTQB, ISEB Lecture Notes- 4
ISTQB, ISEB Lecture Notes- 4ISTQB, ISEB Lecture Notes- 4
ISTQB, ISEB Lecture Notes- 4
 
Chapter 3 - Test Techniques
Chapter 3 - Test TechniquesChapter 3 - Test Techniques
Chapter 3 - Test Techniques
 

Similar to Chapter 4 - Test Analysis & Design Techniques V4.0

Testcase design techniques final
Testcase design techniques finalTestcase design techniques final
Testcase design techniques final
shraavank
 
Test case development
Test case developmentTest case development
Test case development
Hrushikesh Wakhle
 
A Test Analysis Method for Black Box Testing Using AUT and Fault Knowledge.
A Test Analysis Method for Black Box Testing Using AUT and Fault Knowledge.A Test Analysis Method for Black Box Testing Using AUT and Fault Knowledge.
A Test Analysis Method for Black Box Testing Using AUT and Fault Knowledge.
Tsuyoshi Yumoto
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
Mustafa Sherazi
 
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
Khuong Nguyen
 
Orthogonal array approach a case study
Orthogonal array approach   a case studyOrthogonal array approach   a case study
Orthogonal array approach a case study
Karthikeyan Rajendran
 
Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...
Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...
Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...
Muhammad Jazman
 
A study on the efficiency of a test analysis method utilizing test-categories...
A study on the efficiency of a test analysis method utilizing test-categories...A study on the efficiency of a test analysis method utilizing test-categories...
A study on the efficiency of a test analysis method utilizing test-categories...
Tsuyoshi Yumoto
 
Dynamic Testing
Dynamic TestingDynamic Testing
Dynamic Testing
Jimi Patel
 
Testing lab manual Testing lab manual sqa
Testing lab manual Testing lab manual sqaTesting lab manual Testing lab manual sqa
Testing lab manual Testing lab manual sqa
MuhammadAdnan845624
 
Software Testing strategies, their types and Levels
Software Testing strategies, their types and LevelsSoftware Testing strategies, their types and Levels
Software Testing strategies, their types and Levels
ranapoonam1
 
CTFL Module 04
CTFL Module 04CTFL Module 04
CTFL Module 04
Davis Thomas
 
Implementing Blackbox Testing
Implementing Blackbox TestingImplementing Blackbox Testing
Implementing Blackbox Testing
Edureka!
 
Cause-Effect Graphing: Rigorous Test Case Design
Cause-Effect Graphing: Rigorous Test Case DesignCause-Effect Graphing: Rigorous Test Case Design
Cause-Effect Graphing: Rigorous Test Case Design
TechWell
 
Unit2 for st
Unit2 for stUnit2 for st
Unit2 for st
Poonkodi Jayakumar
 
Session 08 - Test Case Design and Technique
Session 08 - Test Case Design and TechniqueSession 08 - Test Case Design and Technique
Session 08 - Test Case Design and Technique
PoojaLQA
 
Unit testing
Unit testingUnit testing
Combinatorial testing ppt
Combinatorial testing pptCombinatorial testing ppt
Combinatorial testing ppt
Kedar Kumar
 
Testing
TestingTesting
Testing
nazeer pasha
 
Test case techniques
Test case techniquesTest case techniques
Test case techniques
Pina Parmar
 

Similar to Chapter 4 - Test Analysis & Design Techniques V4.0 (20)

Testcase design techniques final
Testcase design techniques finalTestcase design techniques final
Testcase design techniques final
 
Test case development
Test case developmentTest case development
Test case development
 
A Test Analysis Method for Black Box Testing Using AUT and Fault Knowledge.
A Test Analysis Method for Black Box Testing Using AUT and Fault Knowledge.A Test Analysis Method for Black Box Testing Using AUT and Fault Knowledge.
A Test Analysis Method for Black Box Testing Using AUT and Fault Knowledge.
 
Black Box Testing
Black Box TestingBlack Box Testing
Black Box Testing
 
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
 
Orthogonal array approach a case study
Orthogonal array approach   a case studyOrthogonal array approach   a case study
Orthogonal array approach a case study
 
Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...
Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...
Graham et.al, 2008, Foundations of Software Testing ISTQB Certification. Chap...
 
A study on the efficiency of a test analysis method utilizing test-categories...
A study on the efficiency of a test analysis method utilizing test-categories...A study on the efficiency of a test analysis method utilizing test-categories...
A study on the efficiency of a test analysis method utilizing test-categories...
 
Dynamic Testing
Dynamic TestingDynamic Testing
Dynamic Testing
 
Testing lab manual Testing lab manual sqa
Testing lab manual Testing lab manual sqaTesting lab manual Testing lab manual sqa
Testing lab manual Testing lab manual sqa
 
Software Testing strategies, their types and Levels
Software Testing strategies, their types and LevelsSoftware Testing strategies, their types and Levels
Software Testing strategies, their types and Levels
 
CTFL Module 04
CTFL Module 04CTFL Module 04
CTFL Module 04
 
Implementing Blackbox Testing
Implementing Blackbox TestingImplementing Blackbox Testing
Implementing Blackbox Testing
 
Cause-Effect Graphing: Rigorous Test Case Design
Cause-Effect Graphing: Rigorous Test Case DesignCause-Effect Graphing: Rigorous Test Case Design
Cause-Effect Graphing: Rigorous Test Case Design
 
Unit2 for st
Unit2 for stUnit2 for st
Unit2 for st
 
Session 08 - Test Case Design and Technique
Session 08 - Test Case Design and TechniqueSession 08 - Test Case Design and Technique
Session 08 - Test Case Design and Technique
 
Unit testing
Unit testingUnit testing
Unit testing
 
Combinatorial testing ppt
Combinatorial testing pptCombinatorial testing ppt
Combinatorial testing ppt
 
Testing
TestingTesting
Testing
 
Test case techniques
Test case techniquesTest case techniques
Test case techniques
 

More from Neeraj Kumar Singh

Chapter 6 - Test Tools Considerations V4.0
Chapter 6 - Test Tools Considerations V4.0Chapter 6 - Test Tools Considerations V4.0
Chapter 6 - Test Tools Considerations V4.0
Neeraj Kumar Singh
 
Chapter 5 - Managing Test Activities V4.0
Chapter 5 - Managing Test Activities V4.0Chapter 5 - Managing Test Activities V4.0
Chapter 5 - Managing Test Activities V4.0
Neeraj Kumar Singh
 
Chapter 3 - Static Testing (Review) V4.0
Chapter 3 - Static Testing (Review) V4.0Chapter 3 - Static Testing (Review) V4.0
Chapter 3 - Static Testing (Review) V4.0
Neeraj Kumar Singh
 
Chapter 5 - Automating the Test Execution
Chapter 5 - Automating the Test ExecutionChapter 5 - Automating the Test Execution
Chapter 5 - Automating the Test Execution
Neeraj Kumar Singh
 
Chapter 4 - Mobile Application Platforms, Tools and Environment
Chapter 4 - Mobile Application Platforms, Tools and EnvironmentChapter 4 - Mobile Application Platforms, Tools and Environment
Chapter 4 - Mobile Application Platforms, Tools and Environment
Neeraj Kumar Singh
 
Chapter 3 - Common Test Types and Test Process for Mobile Applications
Chapter 3 - Common Test Types and Test Process for Mobile ApplicationsChapter 3 - Common Test Types and Test Process for Mobile Applications
Chapter 3 - Common Test Types and Test Process for Mobile Applications
Neeraj Kumar Singh
 
Chapter 2 - Mobile Application Test Types
Chapter 2 - Mobile Application Test TypesChapter 2 - Mobile Application Test Types
Chapter 2 - Mobile Application Test Types
Neeraj Kumar Singh
 
Chapter 1 - Mobile World - Business and Technology Drivers
Chapter 1 - Mobile World - Business and Technology DriversChapter 1 - Mobile World - Business and Technology Drivers
Chapter 1 - Mobile World - Business and Technology Drivers
Neeraj Kumar Singh
 
ISTQB Performance Tester Sample Questions
ISTQB Performance Tester Sample QuestionsISTQB Performance Tester Sample Questions
ISTQB Performance Tester Sample Questions
Neeraj Kumar Singh
 
ISTQB Performance Tester Sample Questions' Answers
ISTQB Performance Tester Sample Questions' AnswersISTQB Performance Tester Sample Questions' Answers
ISTQB Performance Tester Sample Questions' Answers
Neeraj Kumar Singh
 
ISTQB Performance Tester Certification Syllabus and Study Material
ISTQB Performance Tester Certification Syllabus and Study MaterialISTQB Performance Tester Certification Syllabus and Study Material
ISTQB Performance Tester Certification Syllabus and Study Material
Neeraj Kumar Singh
 
Chapter 5 - Tools
Chapter 5 - ToolsChapter 5 - Tools
Chapter 5 - Tools
Neeraj Kumar Singh
 
Chapter 4 - Performance Testing Tasks
Chapter 4 - Performance Testing TasksChapter 4 - Performance Testing Tasks
Chapter 4 - Performance Testing Tasks
Neeraj Kumar Singh
 
Chapter 3 - Performance Testing in the Software Lifecycle
Chapter 3 - Performance Testing in the Software LifecycleChapter 3 - Performance Testing in the Software Lifecycle
Chapter 3 - Performance Testing in the Software Lifecycle
Neeraj Kumar Singh
 
Chapter 1 - Basic Concepts
Chapter 1 - Basic ConceptsChapter 1 - Basic Concepts
Chapter 1 - Basic Concepts
Neeraj Kumar Singh
 
Chapter 2 - Performance Measurement Fundamentals
Chapter 2 - Performance Measurement FundamentalsChapter 2 - Performance Measurement Fundamentals
Chapter 2 - Performance Measurement Fundamentals
Neeraj Kumar Singh
 
Chapter 7 - People Skills and Team Composition
Chapter 7 - People Skills and Team CompositionChapter 7 - People Skills and Team Composition
Chapter 7 - People Skills and Team Composition
Neeraj Kumar Singh
 
Chapter 5 - Improving the Testing Process
Chapter 5 -  Improving the Testing ProcessChapter 5 -  Improving the Testing Process
Chapter 5 - Improving the Testing Process
Neeraj Kumar Singh
 
Chapter 4 - Defect Management
Chapter 4 - Defect ManagementChapter 4 - Defect Management
Chapter 4 - Defect Management
Neeraj Kumar Singh
 
Chapter 2 - Test Management
Chapter 2 - Test ManagementChapter 2 - Test Management
Chapter 2 - Test Management
Neeraj Kumar Singh
 

More from Neeraj Kumar Singh (20)

Chapter 6 - Test Tools Considerations V4.0
Chapter 6 - Test Tools Considerations V4.0Chapter 6 - Test Tools Considerations V4.0
Chapter 6 - Test Tools Considerations V4.0
 
Chapter 5 - Managing Test Activities V4.0
Chapter 5 - Managing Test Activities V4.0Chapter 5 - Managing Test Activities V4.0
Chapter 5 - Managing Test Activities V4.0
 
Chapter 3 - Static Testing (Review) V4.0
Chapter 3 - Static Testing (Review) V4.0Chapter 3 - Static Testing (Review) V4.0
Chapter 3 - Static Testing (Review) V4.0
 
Chapter 5 - Automating the Test Execution
Chapter 5 - Automating the Test ExecutionChapter 5 - Automating the Test Execution
Chapter 5 - Automating the Test Execution
 
Chapter 4 - Mobile Application Platforms, Tools and Environment
Chapter 4 - Mobile Application Platforms, Tools and EnvironmentChapter 4 - Mobile Application Platforms, Tools and Environment
Chapter 4 - Mobile Application Platforms, Tools and Environment
 
Chapter 3 - Common Test Types and Test Process for Mobile Applications
Chapter 3 - Common Test Types and Test Process for Mobile ApplicationsChapter 3 - Common Test Types and Test Process for Mobile Applications
Chapter 3 - Common Test Types and Test Process for Mobile Applications
 
Chapter 2 - Mobile Application Test Types
Chapter 2 - Mobile Application Test TypesChapter 2 - Mobile Application Test Types
Chapter 2 - Mobile Application Test Types
 
Chapter 1 - Mobile World - Business and Technology Drivers
Chapter 1 - Mobile World - Business and Technology DriversChapter 1 - Mobile World - Business and Technology Drivers
Chapter 1 - Mobile World - Business and Technology Drivers
 
ISTQB Performance Tester Sample Questions
ISTQB Performance Tester Sample QuestionsISTQB Performance Tester Sample Questions
ISTQB Performance Tester Sample Questions
 
ISTQB Performance Tester Sample Questions' Answers
ISTQB Performance Tester Sample Questions' AnswersISTQB Performance Tester Sample Questions' Answers
ISTQB Performance Tester Sample Questions' Answers
 
ISTQB Performance Tester Certification Syllabus and Study Material
ISTQB Performance Tester Certification Syllabus and Study MaterialISTQB Performance Tester Certification Syllabus and Study Material
ISTQB Performance Tester Certification Syllabus and Study Material
 
Chapter 5 - Tools
Chapter 5 - ToolsChapter 5 - Tools
Chapter 5 - Tools
 
Chapter 4 - Performance Testing Tasks
Chapter 4 - Performance Testing TasksChapter 4 - Performance Testing Tasks
Chapter 4 - Performance Testing Tasks
 
Chapter 3 - Performance Testing in the Software Lifecycle
Chapter 3 - Performance Testing in the Software LifecycleChapter 3 - Performance Testing in the Software Lifecycle
Chapter 3 - Performance Testing in the Software Lifecycle
 
Chapter 1 - Basic Concepts
Chapter 1 - Basic ConceptsChapter 1 - Basic Concepts
Chapter 1 - Basic Concepts
 
Chapter 2 - Performance Measurement Fundamentals
Chapter 2 - Performance Measurement FundamentalsChapter 2 - Performance Measurement Fundamentals
Chapter 2 - Performance Measurement Fundamentals
 
Chapter 7 - People Skills and Team Composition
Chapter 7 - People Skills and Team CompositionChapter 7 - People Skills and Team Composition
Chapter 7 - People Skills and Team Composition
 
Chapter 5 - Improving the Testing Process
Chapter 5 -  Improving the Testing ProcessChapter 5 -  Improving the Testing Process
Chapter 5 - Improving the Testing Process
 
Chapter 4 - Defect Management
Chapter 4 - Defect ManagementChapter 4 - Defect Management
Chapter 4 - Defect Management
 
Chapter 2 - Test Management
Chapter 2 - Test ManagementChapter 2 - Test Management
Chapter 2 - Test Management
 

Recently uploaded

Performance Budgets for the Real World by Tammy Everts
Performance Budgets for the Real World by Tammy EvertsPerformance Budgets for the Real World by Tammy Everts
Performance Budgets for the Real World by Tammy Everts
ScyllaDB
 
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
Kief Morris
 
Running a Go App in Kubernetes: CPU Impacts
Running a Go App in Kubernetes: CPU ImpactsRunning a Go App in Kubernetes: CPU Impacts
Running a Go App in Kubernetes: CPU Impacts
ScyllaDB
 
How RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptxHow RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptx
SynapseIndia
 
HTTP Adaptive Streaming – Quo Vadis (2024)
HTTP Adaptive Streaming – Quo Vadis (2024)HTTP Adaptive Streaming – Quo Vadis (2024)
HTTP Adaptive Streaming – Quo Vadis (2024)
Alpen-Adria-UniversitΓ€t
 
Recent Advancements in the NIST-JARVIS Infrastructure
Recent Advancements in the NIST-JARVIS InfrastructureRecent Advancements in the NIST-JARVIS Infrastructure
Recent Advancements in the NIST-JARVIS Infrastructure
KAMAL CHOUDHARY
 
AC Atlassian Coimbatore Session Slides( 22/06/2024)
AC Atlassian Coimbatore Session Slides( 22/06/2024)AC Atlassian Coimbatore Session Slides( 22/06/2024)
AC Atlassian Coimbatore Session Slides( 22/06/2024)
apoorva2579
 
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
 
@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time
@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time
@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time
amitchopra0215
 
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
 
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
 
K2G - Insurtech Innovation EMEA Award 2024
K2G - Insurtech Innovation EMEA Award 2024K2G - Insurtech Innovation EMEA Award 2024
K2G - Insurtech Innovation EMEA Award 2024
The Digital Insurer
 
@Call @Girls Thiruvananthapuram πŸš’ XXXXXXXXXX πŸš’ Priya Sharma Beautiful And Cu...
@Call @Girls Thiruvananthapuram  πŸš’ XXXXXXXXXX πŸš’ Priya Sharma Beautiful And Cu...@Call @Girls Thiruvananthapuram  πŸš’ XXXXXXXXXX πŸš’ Priya Sharma Beautiful And Cu...
@Call @Girls Thiruvananthapuram πŸš’ XXXXXXXXXX πŸš’ Priya Sharma Beautiful And Cu...
kantakumariji156
 
GDG Cloud Southlake #34: Neatsun Ziv: Automating Appsec
GDG Cloud Southlake #34: Neatsun Ziv: Automating AppsecGDG Cloud Southlake #34: Neatsun Ziv: Automating Appsec
GDG Cloud Southlake #34: Neatsun Ziv: Automating Appsec
James Anderson
 
20240704 QFM023 Engineering Leadership Reading List June 2024
20240704 QFM023 Engineering Leadership Reading List June 202420240704 QFM023 Engineering Leadership Reading List June 2024
20240704 QFM023 Engineering Leadership Reading List June 2024
Matthew Sinclair
 
MYIR Product Brochure - A Global Provider of Embedded SOMs & Solutions
MYIR Product Brochure - A Global Provider of Embedded SOMs & SolutionsMYIR Product Brochure - A Global Provider of Embedded SOMs & Solutions
MYIR Product Brochure - A Global Provider of Embedded SOMs & Solutions
Linda Zhang
 
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
 
Research Directions for Cross Reality Interfaces
Research Directions for Cross Reality InterfacesResearch Directions for Cross Reality Interfaces
Research Directions for Cross Reality Interfaces
Mark Billinghurst
 
20240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 202420240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 2024
Matthew Sinclair
 
Observability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetryObservability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetry
Eric D. Schabell
 

Recently uploaded (20)

Performance Budgets for the Real World by Tammy Everts
Performance Budgets for the Real World by Tammy EvertsPerformance Budgets for the Real World by Tammy Everts
Performance Budgets for the Real World by Tammy Everts
 
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
 
Running a Go App in Kubernetes: CPU Impacts
Running a Go App in Kubernetes: CPU ImpactsRunning a Go App in Kubernetes: CPU Impacts
Running a Go App in Kubernetes: CPU Impacts
 
How RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptxHow RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptx
 
HTTP Adaptive Streaming – Quo Vadis (2024)
HTTP Adaptive Streaming – Quo Vadis (2024)HTTP Adaptive Streaming – Quo Vadis (2024)
HTTP Adaptive Streaming – Quo Vadis (2024)
 
Recent Advancements in the NIST-JARVIS Infrastructure
Recent Advancements in the NIST-JARVIS InfrastructureRecent Advancements in the NIST-JARVIS Infrastructure
Recent Advancements in the NIST-JARVIS Infrastructure
 
AC Atlassian Coimbatore Session Slides( 22/06/2024)
AC Atlassian Coimbatore Session Slides( 22/06/2024)AC Atlassian Coimbatore Session Slides( 22/06/2024)
AC Atlassian Coimbatore Session Slides( 22/06/2024)
 
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
 
@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time
@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time
@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time
 
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
 
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
 
K2G - Insurtech Innovation EMEA Award 2024
K2G - Insurtech Innovation EMEA Award 2024K2G - Insurtech Innovation EMEA Award 2024
K2G - Insurtech Innovation EMEA Award 2024
 
@Call @Girls Thiruvananthapuram πŸš’ XXXXXXXXXX πŸš’ Priya Sharma Beautiful And Cu...
@Call @Girls Thiruvananthapuram  πŸš’ XXXXXXXXXX πŸš’ Priya Sharma Beautiful And Cu...@Call @Girls Thiruvananthapuram  πŸš’ XXXXXXXXXX πŸš’ Priya Sharma Beautiful And Cu...
@Call @Girls Thiruvananthapuram πŸš’ XXXXXXXXXX πŸš’ Priya Sharma Beautiful And Cu...
 
GDG Cloud Southlake #34: Neatsun Ziv: Automating Appsec
GDG Cloud Southlake #34: Neatsun Ziv: Automating AppsecGDG Cloud Southlake #34: Neatsun Ziv: Automating Appsec
GDG Cloud Southlake #34: Neatsun Ziv: Automating Appsec
 
20240704 QFM023 Engineering Leadership Reading List June 2024
20240704 QFM023 Engineering Leadership Reading List June 202420240704 QFM023 Engineering Leadership Reading List June 2024
20240704 QFM023 Engineering Leadership Reading List June 2024
 
MYIR Product Brochure - A Global Provider of Embedded SOMs & Solutions
MYIR Product Brochure - A Global Provider of Embedded SOMs & SolutionsMYIR Product Brochure - A Global Provider of Embedded SOMs & Solutions
MYIR Product Brochure - A Global Provider of Embedded SOMs & Solutions
 
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...
 
Research Directions for Cross Reality Interfaces
Research Directions for Cross Reality InterfacesResearch Directions for Cross Reality Interfaces
Research Directions for Cross Reality Interfaces
 
20240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 202420240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 2024
 
Observability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetryObservability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetry
 

Chapter 4 - Test Analysis & Design Techniques V4.0

  • 1. Test Analysis & Design 1 Fundamentals 2 Testing in Lifecycle 4 Analysis & Design 3 Static testing 5 Test Management 6 Test Tools ISTQB Foundation Chapter - 4
  • 2. TM Β© 2023. All Rights Reserved Test Analysis & Design Content 4.1 Test Techniques Overview 4.2 Black-box Test Techniques 4.3 White-box Test Techniques 4.4 Experience-based Test Techniques 4.5. Collaboration-based Test Approaches
  • 3. TM Β© 2023. All Rights Reserved Test Analysis & Design Test Techniques at a context  Test techniques support the tester in test analysis (what to test) and in test design (how to test).  Test techniques help to develop a relatively small, but sufficient, set of test cases in a systematic way.  Test techniques also help the tester to define test conditions, identify coverage items, and identify test data during the test analysis and design. Test Techniques Overview
  • 4. TM Β© 2023. All Rights Reserved Test Analysis & Design  Black-box test techniques (also known as specification-based techniques) are based on an analysis of the specified behavior of the test object without reference to its internal structure.  Therefore, the test cases are independent of how the software is implemented.  Consequently, if the implementation changes, but the required behavior stays the same, then the test cases are still useful.  Techniques under this category  Equivalence Partition  Boundary Value Analysis  State Transition Testing  Decision Table Testing Test Techniques Overview
  • 5. TM Β© 2023. All Rights Reserved Test Analysis & Design  White-box test techniques (also known as structure-based techniques) are based on an analysis of the test object’s internal structure and processing.  As the test cases are dependent on how the software is designed, they can only be created after the design or implementation of the test object.  Techniques under this category  Statement Testing and Coverage  Branch Testing and Coverage Test Techniques Overview
  • 6. TM Β© 2023. All Rights Reserved Test Analysis & Design  Experience-based test techniques effectively use the knowledge and experience of testers for the design and implementation of test cases.  The effectiveness of these techniques depends heavily on the tester’s skills.  Experience-based test techniques can detect defects that may be missed using the black-box and white-box test techniques.  Hence, experience-based test techniques are complementary to the black-box and white-box test techniques.  Techniques under this category  Error Guessing  Exploratory Testing  Checklist Based Testing Test Techniques Overview
  • 7. TM Β© 2023. All Rights Reserved Test Analysis & Design Content 4.1 Test Techniques Overview 4.2 Black-box Test Techniques 4.3 White-box Test Techniques 4.4 Experience-based Test Techniques 4.5. Collaboration-based Test Approaches
  • 8. TM Β© 2023. All Rights Reserved Test Analysis & Design  It divides inputs into ranges(partition or class) where all the elements of a particular range are expected to behave same.  As per EP we take just 1 test case from each range. Equivalence Partition
  • 9. TM Β© 2023. All Rights Reserved Test Analysis & Design  An integer field shall contain values between and including 1 to 15. By applying Equivalence Partition what is the minimum number of test cases required for maximum coverage? A. 2 B. 3 C. 1 D. 4 Equivalence Partition Invalid Valid Invalid < 1 1 - 15 16 ≀
  • 10. TM Β© 2023. All Rights Reserved Test Analysis & Design  An integer field shall contain values between and including 1 to 15. By applying EP which of the following is a valid collection of equivalence classes for the given scenario. A. Less than 1, 1 through 15, more than 15 B. Negative numbers, 1 through 15, above 15 C. Less than 1, 1 through 14, more than 15 D. Less than 0, 1 through 14, 15 and more 3 Equivalence Partition Invalid Valid Invalid < 1 1 - 15 16 ≀
  • 11. TM Β© 2023. All Rights Reserved Test Analysis & Design  In a system designed to work out the tax to be paid: An employee has Β£4000 of salary tax free. The next Β£1500 is taxed at 10% The next Β£28000 is taxed at 22% Any further amount is taxed at 40% Which of these groups of numbers would fall into the same equivalence class? A. Β£4800; Β£14000; Β£28000 B. Β£5200; Β£5500; Β£28000 C. Β£28001; Β£32000; Β£35000 D. Β£5800; Β£28000; Β£32000 Equivalence Partition Valid 5501 - 33500 Valid 33501≀ Valid 4001 - 5500 Valid 1 - 4000
  • 12. TM Β© 2023. All Rights Reserved Test Analysis & Design  You are testing a simplified apartment search form which has only two search criteria:  floor (with three possible options: ground floor; first floor; second or higher floor)  garden type (with three possible options: no garden; small garden; large garden) Only apartments on the ground floor have gardens. The form has a built-in validation mechanism that will not allow you to use the search criteria which violate this rule. Each test has two input values: floor and garden type. You want to apply equivalence partitioning (EP) to cover each floor and each garden type in your tests. What is the minimal number of test cases to achieve 100% EP coverage? A. 3 B. 4 C. 5 D. 6 Equivalence Partition Floor Garden Type Test 1 Ground Floor Small Test 2 Ground Floor Large Test 3 First Floor No Garden Test 4 Second or Higher Floor No Garden
  • 13. TM Β© 2023. All Rights Reserved Test Analysis & Design  You are testing a flight booking application of Arline ABC. Below are the constraints in order to book a flight ticket  Only staff of ABC Airline can book a flight  A flight can be booked only on a weekday (Monday to Friday)  A flight can be booked only between 9am to 5pm Each test contains inputs from all 3 constraints to reduce the number of test cases. What is the minimal number of test cases to achieve 100% EP coverage? A. 3 B. 4 C. 5 D. 6 Equivalence Partition User Type Day Time Test 1 Staff Weekday (ANY) 11am Test 2 Staff Weekday (ANY) 7pm Test 3 Staff Weekend (ANY) 1pm Test 4 Non-Staff Any Day of the week Any Time of the day
  • 14. TM Β© 2023. All Rights Reserved Test Analysis & Design Content 4.1 Test Techniques Overview 4.2 Black-box Test Techniques 4.3 White-box Test Techniques 4.4 Experience-based Test Techniques 4.5. Collaboration-based Test Approaches
  • 15. TM Β© 2023. All Rights Reserved Test Analysis & Design  BVA tests on the boundaries the defect can lie near the boundaries as well.  The values in valid range are called as valid boundary values whereas the values from invalid range are called invalid boundary values.  Boundary values for 2-Point analysis are calculated as LB, LB-1, RB, RB+1 where LB and RB are the LEFT and RIGHT boundaries given in the scenario.  Boundary values for 3-Point analysis are calculated as LB, LB+1, LB-1, & RB, RB-1, RB+1 where LB and RB are the LEFT and RIGHT boundaries given in the scenario. Boundary Value Analysis Invalid Valid Invalid LB RB LB-1 RB+1 Invalid Valid Invalid LB RB LB-1 RB+1 LB+1 RB-1
  • 16. TM Β© 2023. All Rights Reserved Test Analysis & Design  A text field in an application accepts inputs as the age of the user. Here, the values allowed to be accepted by the field is between 18 to 30 years, inclusive of both the values. By applying 3-Point Boundary value analysis what is the minimum number of test cases required for maximum coverage. A. 2 B. 6 C. 1 D. 4 Boundary Value Analysis Invalid Valid Invalid ≀17 18 - 30 31οΏ½οΏ½
  • 17. TM Β© 2023. All Rights Reserved Test Analysis & Design  Minimum quantity to place the order is 5. To get additional 10% off, you should buy 100 or more quantity. Based on Boundary value analysis which of the given option consist of valid collection of boundary values using 2 Point Analysis. A. 3, 4, 99, 100 B. 4, 5, 100, 101 C. 4. 5. 99, 100 D. 3, 4, 99, 100 Boundary Value Analysis No Order Order Without Discount ≀4 5 - 99 100≀ Order Without 10% Discount
  • 18. TM Β© 2023. All Rights Reserved Test Analysis & Design  A text field in an application accepts inputs as the age of the user. Here, the values allowed to be accepted by the field is between 18 to 30 years, inclusive of both the values. By applying EP and 2 Point BVA which of the given option consist of valid boundary values and valid equivalence value. A. 17, 18, 20 B. 18, 30, 25 C. 18, 30, 31 D. 19, 20, 31 Boundary Value Analysis Invalid Valid Invalid ≀17 18 - 30 31≀ 2P BVA EP
  • 19. TM Β© 2023. All Rights Reserved Test Analysis & Design Content 4.1 Test Techniques Overview 4.2 Black-box Test Techniques 4.3 White-box Test Techniques 4.4 Experience-based Test Techniques 4.5. Collaboration-based Test Approaches
  • 20. TM Β© 2023. All Rights Reserved Test Analysis & Design  Decision Table captures system requirements that contain logical conditions.  The specification are analyzed, and conditions and actions of the system are identified in a tabular form.  The input conditions and actions are most often stated in a way that they must be true or false.  The number of combination will be 2N  Where N = Number of Conditions Decision Table Testing Test Case 1 Test Case 2 Test Case 3 Test Case 4 Conditions Condition 1 True True False False Condition 2 True False True False Actions Action X X X X
  • 21. TM Β© 2023. All Rights Reserved Test Analysis & Design  What is the expected result for each of the following test cases?  User X - Citibank card member, holding a Silver room  User Y - Non Citibank-member, holding a Platinum room A. X – Don’t offer any upgrade, Y – Don’t offer any upgrade. B. X – Don’t offer any upgrade, Y – Offer upgrade to Gold. C. X – Offer upgrade to Silver, Y – Offer upgrade to Silver. D. X – Offer upgrade to Gold, Y – Don’t offer any upgrade. Decision Table Testing
  • 22. TM Β© 2023. All Rights Reserved Test Analysis & Design  Given the following decision table: Which of the following test cases and expected results is VALID? A. 23 year old in insurance class A Premium is 90 and excess is 2,500. B. 51 year old in insurance class C Premium is 100 and excess is 500. C. 31 year old in insurance class B Premium is 70 and excess is 2,500. D. 43 year old in insurance class C Premium is 100 and excess is 1,000. Decision Table Testing
  • 23. TM Β© 2023. All Rights Reserved Test Analysis & Design Content 4.1 Test Techniques Overview 4.2 Black-box Test Techniques 4.3 White-box Test Techniques 4.4 Experience-based Test Techniques 4.5. Collaboration-based Test Approaches
  • 24. TM Β© 2023. All Rights Reserved Test Analysis & Design  State transition testing exhibits the various states of scenario/system and only possible transition between them.  The representation is called as State Transition Diagram(STD).  A STD shows all Valid Transitions Only.  A STD consist of pair of transition between 2 states.  If the pair is missing between 2 states then the missing transition/s is/are called as Invalid Transitions. State Transition Testing S1 S2 S3 A D C B
  • 25. TM Β© 2023. All Rights Reserved Test Analysis & Design For Example -  State transition testing and State transition diagram of Water State Transition Testing ICE WATER VAPOUR A D C B Test Case ID TC01 TC02 TC03 TC04 Starting State ICE WATER WATER VAPOUR Transition A D B C Final State WATER ICE VAPOUR WATER
  • 26. TM Β© 2023. All Rights Reserved Test Analysis & Design  Based on the given state transition diagram of a switch. Which of the following test case is Invalid? A. OFF to ON B. ON to OFF C. FAULT to ON D. ON to FAULT State Transition Testing ON OFF FAULT S1 S2 S3
  • 27. TM Β© 2023. All Rights Reserved Test Analysis & Design  Given the following state transition diagram, Which of the test cases below will cover the following series of state transitions? S1 SO S1 S2 SO A. D, A, B, C. B. A, B, C, D. C. D, A, B. D. A, B, C. State Transition Testing
  • 28. TM Β© 2023. All Rights Reserved Test Analysis & Design Content 4.1 Test Techniques Overview 4.2 Black-box Test Techniques 4.3 White-box Test Techniques 4.4 Experience-based Test Techniques 4.5. Collaboration-based Test Approaches
  • 29. TM Β© 2023. All Rights Reserved Test Analysis & Design  Because of their popularity and simplicity, this section focuses on two code-related white-box test techniques:  Statement testing  Branch testing  There are more rigorous techniques that are used in some safety-critical, mission-critical, or high-integrity environments to achieve more thorough code coverage.  Statement Testing is the technique to derive the minimum number of tests to measure the statements in a fragment of code whereas Statement Coverage is a metric to measure the coverage achieved by these tests.  Branch Testing is the technique to derive the minimum number of tests to measure the branches in a fragment of code whereas Branch Coverage is a metric to measure the coverage achieved by these tests.  Decision Testing is stronger than Statement Testing.  100% Decision Coverage guarantees 100% Statement Coverage but not vice versa. Statement Testing
  • 30. TM Β© 2023. All Rights Reserved Test Analysis & Design Read A Read B If A>B then Print β€œA is Bigger” Else Print β€œB is Bigger” End If Statement Testing True False ? Start End Branch Statement A,B A>B A B End If
  • 31. TM Β© 2023. All Rights Reserved Test Analysis & Design Read A Read B If A>B then Print β€œA is Bigger” Else Print β€œB is Bigger” End If A Path is the executable path which reaches the end of the code starting from the start point. Min no. of paths required for covering all the nodes. Statement Testing True False ? Start End 2 1 A,B A>B A B End If
  • 32. TM Β© 2023. All Rights Reserved Test Analysis & Design Read A IF A > 0 THEN IF A = 21 THEN Print β€œKey” ENDIF ENDIF Statement Testing Print Yes A=21 Yes No End A>0 No Read T F T F
  • 33. TM Β© 2023. All Rights Reserved Test Analysis & Design Content 4.1 Test Techniques Overview 4.2 Black-box Test Techniques 4.3 White-box Test Techniques 4.4 Experience-based Test Techniques 4.5. Collaboration-based Test Approaches
  • 34. TM Β© 2023. All Rights Reserved Test Analysis & Design  Because of their popularity and simplicity, this section focuses on two code-related white-box test techniques:  Statement testing  Branch testing  There are more rigorous techniques that are used in some safety-critical, mission-critical, or high-integrity environments to achieve more thorough code coverage.  Statement Testing is the technique to derive the minimum number of tests to measure the statements in a fragment of code whereas Statement Coverage is a metric to measure the coverage achieved by these tests.  Branch Testing is the technique to derive the minimum number of tests to measure the branches in a fragment of code whereas Branch Coverage is a metric to measure the coverage achieved by these tests.  Branch Testing is stronger than Statement Testing.  100% Branch Coverage guarantees 100% Statement Coverage but not vice versa. Branch Testing
  • 35. TM Β© 2023. All Rights Reserved Test Analysis & Design Read A Read B If A>B then Print β€œA is Bigger” Else Print β€œB is Bigger” End If Branch Testing True False ? Start End Branch Statement A,B A>B A B End If
  • 36. TM Β© 2023. All Rights Reserved Test Analysis & Design Read A Read B If A>B then Print β€œA is Bigger” Else Print β€œB is Bigger” End If A Path is the executable path which reaches the end of the code starting from the start point. Min no. of paths required for covering all the nodes. Branch Testing True False ? Start End 2 1 A,B A>B A B End If
  • 37. TM Β© 2023. All Rights Reserved Test Analysis & Design Read A IF A > 0 THEN IF A = 21 THEN Print β€œKey” ENDIF ENDIF Branch Testing Print Yes A=21 Yes No End A>0 No Read T F T F
  • 38. TM Β© 2023. All Rights Reserved Test Analysis & Design For the given flowchart, following paths/test cases have been executed. What decision coverage is achieved? Test 1 – A,B,C Test 2 – A,B,D,F,H A. 50% B. 63% C. 75% D. 100% Branch Testing D B A C F E G H Branch Coverage= π‘π‘’π‘šπ‘π‘’π‘Ÿ π‘œπ‘“ π΅π‘Ÿπ‘Žπ‘›π‘β„Žπ‘’π‘  𝐸π‘₯𝑒𝑐𝑒𝑑𝑒𝑑 𝑏𝑦 π‘‘β„Žπ‘’ 𝑇𝑒𝑠𝑑 π‘‡π‘œπ‘‘π‘Žπ‘™ π‘π‘’π‘šπ‘π‘’π‘Ÿ π‘œπ‘“ π΅π‘Ÿπ‘Žπ‘›π‘β„Žπ‘’π‘  𝑖𝑛 π‘‘β„Žπ‘’ π‘π‘œπ‘‘π‘’ π‘₯ 100
  • 39. TM Β© 2023. All Rights Reserved Test Analysis & Design For the given flowchart, following paths/test cases have been executed. What Statement coverage is achieved? Test 1 – A,B,C Test 2 – A,B,D,F,H A. 50% B. 75% C. 90% D. 100% Branch Testing D B A C F E G H Statement Coverage= π‘π‘’π‘šπ‘π‘’π‘Ÿ π‘œπ‘“ π‘†π‘‘π‘Žπ‘‘π‘’π‘šπ‘’π‘›π‘‘π‘  𝐸π‘₯𝑒𝑐𝑒𝑑𝑒𝑑 𝑏𝑦 π‘‘β„Žπ‘’ 𝑇𝑒𝑠𝑑 π‘‡π‘œπ‘‘π‘Žπ‘™ π‘π‘’π‘šπ‘π‘’π‘Ÿ π‘œπ‘“ π‘†π‘‘π‘Žπ‘‘π‘’π‘šπ‘’π‘›π‘‘ 𝑖𝑛 π‘‘β„Žπ‘’ π‘π‘œπ‘‘π‘’ π‘₯ 100
  • 40. TM Β© 2023. All Rights Reserved Test Analysis & Design Content 4.1 Test Techniques Overview 4.2 Black-box Test Techniques 4.3 White-box Test Techniques 4.4 Experience-based Test Techniques 4.5. Collaboration-based Test Approaches
  • 41. TM Β© 2023. All Rights Reserved Test Analysis & Design  A fundamental strength that all white-box techniques share is that the entire software implementation is taken into account during testing, which facilitates defect detection even when the software specification is vague, outdated or incomplete.  A corresponding weakness is that if the software does not implement one or more requirements, white box testing may not detect the resulting defects of omission.  White-box techniques can be used in static testing (e.g., during dry runs of code). They are well suited to reviewing code that is not yet ready for execution, as well as pseudocode and other high level or top-down logic which can be modeled with a control flow graph.  Performing only black-box testing does not provide a measure of actual code coverage.  White-box coverage measures provide an objective measurement of coverage and provide the necessary information to allow additional tests to be generated to increase this coverage, and subsequently increase confidence in the code. The Value of White Box Testing
  • 42. TM Β© 2023. All Rights Reserved Test Analysis & Design Content 4.1 Test Techniques Overview 4.2 Black-box Test Techniques 4.3 White-box Test Techniques 4.4 Experience-based Test Techniques 4.5. Collaboration-based Test Approaches
  • 43. TM Β© 2023. All Rights Reserved Test Analysis & Design  Experience Based techniques uses tester’s skill, intuition and experience of similar application and technologies.  These techniques are useful in identifying special tests which are not easily captured by formal techniques.  These techniques are usually applied after applying formal techniques.  There are few scenarios where these are the only option to applied.  Specifications are poorly defined.  Time Pressure.  Testing team is not formally trained on testing fundamentals. Introduction to Experience Based Techniques
  • 44. TM Β© 2023. All Rights Reserved Test Analysis & Design  This techniques requires knowledge of defects and experience of application.  Is to enumerate possible defects and design tests that attack these defects.  This systematic approach is called Fault Attack.  These defect and failure list can be built based on experience, typical defect and failure data.  Updating the result of execution and evaluating further need of tests and their execution.  Error guessing based on  How the application has worked in the past  What types of mistakes the developers tend to make  Failures that have occurred in other applications Error Guessing
  • 45. TM Β© 2023. All Rights Reserved Test Analysis & Design  In exploratory testing, tests are simultaneously designed, executed, and evaluated while the tester learns about the test object.  The testing is used to learn more about the test object, to explore it more deeply with focused tests, and to create tests for untested areas.  Exploratory testing is sometimes conducted using session-based testing to structure the testing. In a session-based approach, exploratory testing is conducted within a defined time-box. The tester uses a test charter containing test objectives to guide the testing.  The test session is usually followed by a debriefing that involves a discussion between the tester and stakeholders interested in the test results of the test session.  In this approach test objectives may be treated as high-level test conditions.  Coverage items are identified and exercised during the test session. The tester may use test session sheets to document the steps followed and the discoveries made. Exploratory testing is useful when there are few or inadequate specifications or there is significant time pressure on the testing.  Exploratory testing is also useful to complement other more formal test techniques. Exploratory testing will be more effective if the tester is experienced, has domain knowledge and has a high degree of essential skills, like analytical skills, curiosity and creativeness Exploratory Testing
  • 46. TM Β© 2023. All Rights Reserved Test Analysis & Design  In checklist-based testing, a tester designs, implements, and executes tests to cover test conditions from a checklist. Checklists can be built based on experience, knowledge about what is important for the user, or an understanding of why and how software fails.  Checklists should not contain items that can be checked automatically, items better suited as entry/exit criteria, or items that are too general.  Checklist items are often phrased in the form of a question. It should be possible to check each item separately and directly. These items may refer to requirements, graphical interface properties, quality characteristics or other forms of test conditions.  Checklists can be created to support various test types, including functional and non-functional testing.  Some checklist entries may gradually become less effective over time because the developers will learn to avoid making the same errors. New entries may also need to be added to reflect newly found high severity defects. Therefore, checklists should be regularly updated based on defect analysis.  However, care should be taken to avoid letting the checklist become too long.  In the absence of detailed test cases, checklist-based testing can provide guidelines and some degree of consistency for the testing. If the checklists are high-level, some variability in the actual testing is likely to occur, resulting in potentially greater coverage but less repeatability. Checklist Based Testing
  • 47. TM Β© 2023. All Rights Reserved Test Analysis & Design Content 4.1 Test Techniques Overview 4.2 Black-box Test Techniques 4.3 White-box Test Techniques 4.4 Experience-based Test Techniques 4.5. Collaboration-based Test Approaches
  • 48. TM Β© 2023. All Rights Reserved Test Analysis & Design  A user story represents a feature that will be valuable to either a user or purchaser of a system or software.  User stories have three critical aspects, called together the β€œ3 C’s”:  Card – the medium describing a user story (e.g., an index card, an entry in an electronic board)  Conversation – explains how the software will be used (can be documented or verbal)  Confirmation – the acceptance criteria  The most common format for a user story is β€œAs a [role], I want [goal to be accomplished], so that I can [resulting business value for the role]”, followed by the acceptance criteria.  Collaborative authorship of the user story can use techniques such as brainstorming and mind mapping. The collaboration allows the team to obtain a shared vision of what should be delivered, by taking into account three perspectives: business, development and testing.  Good user stories should be: Independent, Negotiable, Valuable, Estimable, Small and Testable (INVEST). If a stakeholder does not know how to test a user story, this may indicate that the user story is not clear enough, or that it does not reflect something valuable to them, or that the stakeholder just needs help in testing. Collaborative User Story Writing
  • 49. TM Β© 2023. All Rights Reserved Test Analysis & Design  Acceptance criteria for a user story are the conditions that an implementation of the user story must meet to be accepted by stakeholders. From this perspective, acceptance criteria may be viewed as the test conditions that should be exercised by the tests.  Acceptance criteria are usually a result of the Conversation. Acceptance criteria are used to:  Define the scope of the user story  Reach consensus among the stakeholders  Describe both positive and negative scenarios  Serve as a basis for the user story acceptance testing  Allow accurate planning and estimation  There are several ways to write acceptance criteria for a user story. The two most common formats are:  Scenario-oriented (e.g., Given/When/Then format used in BDD)  Rule-oriented (e.g., bullet point verification list, or tabulated form of input-output mapping)  Most acceptance criteria can be documented in one of these two formats. However, the team may use another, custom format, as long as the acceptance criteria are well-defined and unambiguous. Acceptance Criteria
  • 50. TM Β© 2023. All Rights Reserved Test Analysis & Design  ATDD is a test-first approach. Test cases are created prior to implementing the user story. The test cases are created by team members with different perspectives, e.g., customers, developers, and testers.  Test cases may be executed manually or automated. The first step is a specification workshop where the user story and (if not yet defined) its acceptance criteria are analyzed, discussed, and written by the team members. Incompleteness, ambiguities, or defects in the user story are resolved during this process.  The next step is to create the test cases. This can be done by the team as a whole or by the tester individually. The test cases are based on the acceptance criteria and can be seen as examples of how the software works. This will help the team implement the user story correctly.  Since examples and tests are the same, these terms are often used interchangeably.  During the test design the test techniques may be applied. Acceptance Test-driven Development (ATDD)
  • 51. TM Β© 2023. All Rights Reserved Test Analysis & Design  Typically, the first test cases are positive, confirming the correct behavior without exceptions or error conditions, and comprising the sequence of activities executed if everything goes as expected.  After the positive test cases are done, the team should perform negative testing. Finally, the team should cover non- functional quality characteristics as well (e.g., performance efficiency, usability). Test cases should be expressed in a way that is understandable for the stakeholders.  Typically, test cases contain sentences in natural language involving the necessary preconditions (if any), the inputs, and the postconditions. The test cases must cover all the characteristics of the user story and should not go beyond the story. However, the acceptance criteria may detail some of the issues described in the user story.  In addition, no two test cases should describe the same characteristics of the user story. When captured in a format supported by a test automation framework, the developers can automate the test cases by writing the supporting code as they implement the feature described by a user story.  The acceptance tests then become executable requirements. Acceptance Test-driven Development (ATDD)
  • 52. TM Β© 2023. All Rights Reserved Test Analysis & Design 1. Which of the following is a characteristic of experience-based test techniques? Answer Set A. Test cases are created based on detailed design information B. Items tested within the interface code section are used to measure coverage C. The techniques heavily rely on the tester’s knowledge of the software and the business domain D. The test cases are used to identify deviations from the requirements Sample Questions
  • 53. TM Β© 2023. All Rights Reserved Test Analysis & Design 2. Your test suite achieved 100% statement coverage. What is the consequence of this fact? Answer Set A. Each instruction in the code that contains a defect has been executed at least once B. Any test suite containing more test cases than your test suite will also achieve 100% statement coverage C. Each path in the code has been executed at least once D. Every combination of input values has been tested at least once Sample Questions
  • 54. TM Β© 2023. All Rights Reserved Test Analysis & Design 3. Which of the following BEST describes the way acceptance criteria can be documented? Answer Set A. Performing retrospectives to determine the actual needs of the stakeholders regarding a given user story B. Using the given/when/then format to describe an example test condition related to a given user story C. Using verbal communication to reduce the risk of misunderstanding the acceptance criteria by others D. Documenting risks related to a given user story in a test plan to facilitate the risk-based testing of a given user story Sample Questions