SlideShare a Scribd company logo
White Box Test Techniques
1 TTA’s Task in
Risk Based Testing
2 White Box Test
Techniques
3 Analytical
Techniques
Software Testing - ISTQB Advance
Technical Test Analyst Exam Preparation
Chapter 2
Neeraj Kumar Singh
4 Dynamic Analysis 5 Reviews
6 Test Tools &
Automation
White Box Test Techniques
Contents
2.1 Introduction
2.2 Statement Testing
2.3 Decision Testing
2.4 Modified Condition/Decision Coverage
(MC/DC) Testing
2.5 Multiple Condition Testing
2.6 Basis Path Testing
2.7 API Testing
2.8 Selecting a White-box Test Technique
Neeraj Kumar Singh
White Box Test Techniques
Introduction
Each specific technique enables test cases to be derived systematically and focuses on a particular aspect of the
structure to be considered. The techniques provide coverage criteria which have to be measured and associated
with an objective defined by each project or organization.
Achieving full coverage does not mean that the entire set of tests is complete, but rather that the technique being
used no longer suggests any useful tests for the structure under consideration.
The following techniques are considered in this syllabus:
 Statement testing
 Decision testing
 Modified Condition/Decision Coverage (MC/DC) testing
 Multiple Condition testing
 Basis Path testing
 API testing
Neeraj Kumar Singh
White Box Test Techniques
Statement Testing
Neeraj Kumar Singh
True
False?
Read A
Read B
If A>B then
Print “A is Bigger”
Else
Print “B is Bigger”
End If
Statement Testing or Coverage is a measure of the number of
executable statements in the source code exercised by tests.
Start
End
Branch
Nodes
A,B
A>B
A
B
End If
White Box Test Techniques
Statement Testing
True
False?
Read A
Read B
If A>B then
Print “A is Bigger”
Else
Print “B is Bigger”
End If
Start
End
A Path is the executable path which reaches the end of
the code starting from the start point.
2
1
A,B
A>B
A
B
End If
Example
Statement Testing
Neeraj Kumar Singh
T
IF sufficient water THEN
Boil water
Add tea
Show message “milk?”
IF milk = yes THEN
Show message “low fat?”
IF low fat = yes THEN
Add low fat milk
ELSE
Add normal milk
ENDIF
ENDIF
Show message “sugar?”
IF sugar = yes THEN
Add sugar
ENDIF
Stir
Wait 3 minutes
Show message “please take your tea”
ELSE
Show message “please fill up water”
ENDIF
Sufficient
Water
Boil
Water
Add
Tea
Milk?
Milk=Yes
Low
Fat?
Low Fat
= Yes
Low fat
Milk
Normal
Milk
End If
Sugar?
Sugar
=Yes
End If
Add
Sugar?
End If
Please fill
up water
Stir, wait
Please take your tea.
End If
F
F
T
T
F
F
T
White Box Test Techniques
1 TTA’s Task in
Risk Based Testing
2 White Box Test
Techniques
3 Analytical
Techniques
Software Testing - ISTQB Advance
Technical Test Analyst Exam Preparation
Chapter 2
Neeraj Kumar Singh
4 Dynamic Analysis 5 Reviews
6 Test Tools &
Automation
White Box Test Techniques
Contents
2.1 Introduction
2.2 Statement Testing
2.3 Decision Testing
2.4 Modified Condition/Decision Coverage
(MC/DC) Testing
2.5 Multiple Condition Testing
2.6 Basis Path Testing
2.7 API Testing
2.8 Selecting a White-box Test Technique
Neeraj Kumar Singh
White Box Test Techniques
Decision Testing
Neeraj Kumar Singh
True
False?
Read A
Read B
If A>B then
Print “A is Bigger”
Else
Print “B is Bigger”
End If
Decision Testing or Coverage is a measure of the number of executable
decisions in the source code exercised by tests.
Start
End
Branch/
Decisions
Nodes/
Statements
A,B
A>B
A
B
End If
White Box Test Techniques
Decision Testing
True
False?
Read A
Read B
If A>B then
Print “A is Bigger”
Else
Print “B is Bigger”
End If
Start
End
A Path is the executable path which reaches the end of
the code starting from the start point.
2
1
A,B
A>B
A
B
End If
Example
Decision Testing
Neeraj Kumar Singh
TStatement P
IF A THEN
IF B THEN
Statement Q
ELSE
Statement R
ENDIF
ELSE
Statement S
IF C THEN
Statement T
ELSE
Statement U
ENDIF
ENDIF
Statement V
How many test cases would you design to achieve 100%
decision coverage?
A
STMT P
END IF
F
F F
B
STMT Q
T
STMT R
STMT S
C
T
STMT T
STMT U
END IF
END IF
STMT V
Min TC for 100% DC = 4
#TIP – No of If +1
White Box Test Techniques
1 TTA’s Task in
Risk Based Testing
2 White Box Test
Techniques
3 Analytical
Techniques
Software Testing - ISTQB Advance
Technical Test Analyst Exam Preparation
Chapter 2
Neeraj Kumar Singh
4 Dynamic Analysis 5 Reviews
6 Test Tools &
Automation
White Box Test Techniques
Contents
2.1 Introduction
2.2 Statement Testing
2.3 Decision Testing
2.4 Modified Condition/Decision Coverage
(MC/DC) Testing
2.5 Multiple Condition Testing
2.6 Basis Path Testing
2.7 API Testing
2.8 Selecting a White-box Test Technique
Neeraj Kumar Singh
White Box Test Techniques
Modified Condition/Decision Coverage(MC/DC)
Compared to Decision testing, which considers the entire decision as a whole and evaluates the TRUE and FALSE
outcomes in separate test cases, MC/DC testing considers how a decision is made when it includes multiple
conditions
Each decision predicate is made up of one or more simple atomic conditions, each of which evaluates to a discrete
Boolean value. These are logically combined to determine the final outcome of the decision. This technique checks
that each of the atomic conditions independently and correctly affects the outcome of the overall decision.
This technique provides a stronger level of coverage than statement and decision coverage when there are
decisions containing multiple conditions.
Assuming N unique, independent atomic conditions, MC/DC can usually be achieved with N+1 unique test cases.
MC/DC requires pairs of test cases that show a single atomic condition can independently affect the result of a
decision.
Neeraj Kumar Singh
White Box Test Techniques
Modified Condition/Decision Coverage(MC/DC)
Tests A B C Outcome
1 T T T T
2 T T F T
3 T F T T
4 T F F F
5 F T T F
6 F T F F
7 F F T F
8 F F F F
Neeraj Kumar Singh
(A && (B | C))
(A AND (B OR C))
Min TC for 100% MC/DC Coverage is N+1
Where N is no of conditions
White Box Test Techniques
Modified Condition/Decision Coverage(MC/DC)
Tests A B C Outcome
1 T T T T
2 T T F T
3 T F T T
4 T F F F
5 F T T F
6 F T F F
7 F F T F
8 F F F F
Neeraj Kumar Singh
(A && (B | C))
(A AND (B OR C))
White Box Test Techniques
Modified Condition/Decision Coverage(MC/DC)
Tests A B C Outcome
1 T T T T
2 T T F T
3 T F T T
4 T F F F
5 F T T F
6 F T F F
7 F F T F
8 F F F F
Neeraj Kumar Singh
(A && (B | C))
(A AND (B OR C))
White Box Test Techniques
Modified Condition/Decision Coverage(MC/DC)
Tests A B C Outcome
1 T T T T
2 T T F T
3 T F T T
4 T F F F
5 F T T F
6 F T F F
7 F F T F
8 F F F F
Neeraj Kumar Singh
(A && (B | C))
(A AND (B OR C))
White Box Test Techniques
Modified Condition/Decision Coverage(MC/DC)
Tests A B C Outcome
1 T T T T
2 T T F T
3 T F T T
4 T F F F
5 F T T F
6 F T F F
7 F F T F
8 F F F F
Neeraj Kumar Singh
(A && (B | C))
(A AND (B OR C))
A = {1,5} {2,6} {3,7}
B = {2,4}
C = {3,4}
White Box Test Techniques
Modified Condition/Decision Coverage(MC/DC)
Tests A B C Outcome
1 T T T T
2 T T F T
3 T F T T
4 T F F F
5 F T T F
6 F T F F
7 F F T F
8 F F F F
Neeraj Kumar Singh
(A && (B | C))
(A AND (B OR C))
Min TC for 100% MC/DC Coverage is N+1
Where N is no of conditions
A = {1,5} {2,6} {3,7}
B = {2,4}
C = {3,4}
TC = {2,3,4,6}
White Box Test Techniques
1 TTA’s Task in
Risk Based Testing
2 White Box Test
Techniques
3 Analytical
Techniques
Software Testing - ISTQB Advance
Technical Test Analyst Exam Preparation
Chapter 2
Neeraj Kumar Singh
4 Dynamic Analysis 5 Reviews
6 Test Tools &
Automation
White Box Test Techniques
Contents
2.1 Introduction
2.2 Statement Testing
2.3 Decision Testing
2.4 Modified Condition/Decision Coverage
(MC/DC) Testing
2.5 Multiple Condition Testing
2.6 Basis Path Testing
2.7 API Testing
2.8 Selecting a White-box Test Technique
Neeraj Kumar Singh
White Box Test Techniques
Multiple Condition Testing
In rare instances, it might be required to test all possible combinations of atomic conditions that a decision may
contain. This exhaustive level of testing is called multiple condition testing.
The number of required tests is dependent on the number of atomic conditions in the decision statement and can
be determined by calculating 2N where N is the number of uncoupled atomic conditions.
Coverage is measured as the number of unique condition combinations executed by the tests divided by the total
number of condition combinations in the test object, normally expressed as a percentage.
The number of test cases can be derived directly from a truth table containing all of the atomic conditions, this
level of coverage can easily be determined. However, the sheer number of test cases required makes MC/DC
coverage more feasible for most situations.
Neeraj Kumar Singh
White Box Test Techniques
Multiple Condition Testing
Tests A B C Outcome
1 T T T T
2 T T F T
3 T F T T
4 T F F F
5 F T T F
6 F T F F
7 F F T F
8 F F F F
Neeraj Kumar Singh
(A && (B | C))
(A AND (B OR C))
Min TC for 100% MCT Coverage is 2N
Where N is no of conditions
White Box Test Techniques
1 TTA’s Task in
Risk Based Testing
2 White Box Test
Techniques
3 Analytical
Techniques
Software Testing - ISTQB Advance
Technical Test Analyst Exam Preparation
Chapter 2
Neeraj Kumar Singh
4 Dynamic Analysis 5 Reviews
6 Test Tools &
Automation
White Box Test Techniques
Contents
2.1 Introduction
2.2 Statement Testing
2.3 Decision Testing
2.4 Modified Condition/Decision Coverage
(MC/DC) Testing
2.5 Multiple Condition Testing
2.6 Basis Path Testing
2.7 API Testing
2.8 Selecting a White-box Test Technique
Neeraj Kumar Singh
White Box Test Techniques
Basis Path Testing
Path testing in general consists of identifying paths through the code and then creating tests to cover them.
Conceptually, it would be useful to test every unique path through the system. In any non-trivial system, however,
the number of test cases could become excessively large due to the nature of looping structures.
The technique is applied by the following steps:
1. Create a control flow graph for a given specification item (e.g., code or functional design specification). Note
that this may also be the first step in performing control flow analysis.
2. Select a baseline path through the code (not an exception path). This baseline path should be the most
important path to test – risk could be used to make this judgment.
3. Generate the second path by changing the outcome of the first decision on the path, while keeping the
maximum number of decision outcomes the same as the baseline path.
4. Generate the third path by again starting with the baseline path and changing the outcome of the second
decision on the path. When multiway decisions are encountered (e.g., a case statement), each outcome of the
decision should be exercised before moving on to the next decision.
5. Generate further paths by changing each of the outcomes on the baseline path. When new decisions are
encountered, the most important outcome should be followed first.
6. Once all the decision outcomes on the baseline path have been covered, apply the same approach to
subsequent paths until all the decision outcomes in the specification item have been exercised.
Neeraj Kumar Singh
White Box Test Techniques
Basis Path Testing
Tests Paper Pen Pencil Outcome
1 T T T T
2 T T F T
3 T F T T
4 T F F F
5 F T T F
6 F T F F
7 F F T F
8 F F F F
Neeraj Kumar Singh
(A && (B | C)) = Write
(Paper AND (Pen OR Pencil))
Neeraj Kumar Singh
White Box Test Techniques
Basis Path Testing
TStatement P
IF A THEN
IF B THEN
Statement Q
ELSE
Statement R
ENDIF
ELSE
Statement S
IF C THEN
Statement T
ELSE
Statement U
ENDIF
ENDIF
Statement V
A
STMT P
END IF
F
F F
B
STMT Q
T
STMT R
STMT S
C
T
STMT T
STMT U
END IF
END IF
STMT V
White Box Test Techniques
1 TTA’s Task in
Risk Based Testing
2 White Box Test
Techniques
3 Analytical
Techniques
Software Testing - ISTQB Advance
Technical Test Analyst Exam Preparation
Chapter 2
Neeraj Kumar Singh
4 Dynamic Analysis 5 Reviews
6 Test Tools &
Automation
White Box Test Techniques
Contents
2.1 Introduction
2.2 Statement Testing
2.3 Decision Testing
2.4 Modified Condition/Decision Coverage
(MC/DC) Testing
2.5 Multiple Condition Testing
2.6 Basis Path Testing
2.7 API Testing
2.8 Selecting a White-box Test Technique
Neeraj Kumar Singh
White Box Test Techniques
API Testing
An Application Programming Interface (API) is code which enables communication between different processes,
programs and/or systems. APIs are often utilized in a client/server relationship where one process supplies some
kind of functionality to other processes.
API Testing is a type of testing rather than a technique. In certain respects, API testing is quite similar to testing a
graphical user interface (GUI). The focus is on the evaluation of input values and returned data.
Negative testing is often crucial when dealing with APIs. Programmers who use APIs to access services external to
their own code may try to use API interfaces in ways for which they were not intended. That means that robust
error handling is essential to avoid incorrect operation.
Combinatorial testing of many different interfaces may be required because APIs are often used in conjunction
with other APIs, and because a single interface may contain several parameters, where values of these may be
combined in many ways.
APIs frequently are loosely coupled, resulting in the very real possibility of lost transactions or timing glitches. This
necessitates thorough testing of the recovery and retry mechanisms. An organization that provides an API interface
must ensure that all services have a very high availability; this often requires strict reliability testing by the API
publisher as well as infrastructure support.
Neeraj Kumar Singh
White Box Test Techniques
API Testing
Applicability
API testing is becoming more important for testing systems of systems as the individual systems become distributed or
use remote processing as a way of off-loading some work to other processors. Examples include:
 Operating systems calls
 Service-oriented architectures (SOA)
 Remote procedure calls (RPC)
 Web services
Software containerization results in the division of a software program into several containers which communicate
with each other using mechanisms such as those listed above. API testing should also target these interfaces.
Limitations/Difficulties
Testing an API directly usually requires a Technical Test Analyst to use specialized tools. Because there is typically no
direct graphical interface associated with an API, tools may be required to setup the initial environment, marshal the
data, invoke the API, and determine the result.
Neeraj Kumar Singh
White Box Test Techniques
1 TTA’s Task in
Risk Based Testing
2 White Box Test
Techniques
3 Analytical
Techniques
Software Testing - ISTQB Advance
Technical Test Analyst Exam Preparation
Chapter 2
Neeraj Kumar Singh
4 Dynamic Analysis 5 Reviews
6 Test Tools &
Automation
White Box Test Techniques
Contents
2.1 Introduction
2.2 Statement Testing
2.3 Decision Testing
2.4 Modified Condition/Decision Coverage
(MC/DC) Testing
2.5 Multiple Condition Testing
2.6 Basis Path Testing
2.7 API Testing
2.8 Selecting a White-box Test Technique
Neeraj Kumar Singh
White Box Test Techniques
Selecting a White-box Test Technique
The context of the system under test will have an impact on its product risk and criticality levels ( see below).
These factors influence the required coverage metric (and hence the white-box test technique to use) and the
depth of coverage to be achieved. In general, the more critical the system and the higher the product risk level,
the more rigorous the coverage requirements and the higher the need for time and resources to achieve the
desired coverage.
Sometimes the required coverage metric may be derived from applicable standards that apply to the software
system. For example, if the software were to be used in an airborne environment, it may be required to conform
to standard DO-178C (in Europe, ED-12C.)
This standard contains the following five failure conditions:
A. Catastrophic: failure may cause lack of critical function needed to safely fly or land the plane
B. Hazardous: failure may have a large negative impact on safety or performance efficiency
C. Major: failure is significant, but less serious than A or B
D. Minor: failure is noticeable, but with less impact than C
E. No effect: failure has no impact on safety
Neeraj Kumar Singh
White Box Test Techniques
Selecting a White-box Test Technique
If the software system is categorized as level A, it must be tested to 100% MC/DC coverage. If it is level B, it must
be tested to 100% decision level coverage and MC/DC is optional. Level C requires 100% statement coverage at a
minimum.
Likewise, [IEC61508] is an international standard for the functional safety of programmable, electronic, safety-
related systems. This standard has been adapted in many different areas, including automotive, rail,
manufacturing, nuclear power plants, and machinery. Criticality is defined using a scale of Safety Integrity Levels
(SIL) where SIL1 is the least critical and SIL4 the most critical. The standard gives recommendations for test
coverage, as shown in the following table (note that the exact definitions for each SIL and for the meaning of
“recommended” and “highly recommended” is defined in the standard).
Neeraj Kumar Singh
White Box Test Techniques
1 TTA’s Task in
Risk Based Testing
2 White Box Test
Techniques
3 Analytical
Techniques
Software Testing - ISTQB Advance
Technical Test Analyst Exam Preparation
Chapter 2
Neeraj Kumar Singh
4 Dynamic Analysis 5 Reviews
6 Test Tools &
Automation
White Box Test Techniques
Sample Questions Pattern
Neeraj Kumar Singh
Source : www.istqb.org
Chapter 2 Questions
Distribution
K-Level Number of Questions per
LO(Group)
Summary
TTA-2.2 K3 1
There is a total of questions required
for chapter 2
K3 = 6
K4 = 2
TTA-2.3 K3 1
TTA-2.4 K3 1
TTA-2.5 K3 1
TTA-2.6 K3 1
TTA-2.7 K3 1
TTA-2.8 K4 2
White Box Test Techniques
Sample Questions
1. You are testing a photo-enforcement system for traffic control in an intersection. It has been determined that a photo
should be taken if the signal light is red (RED) or the car is speeding (SPEED) and if the front wheels of the car are over
the line marking the beginning of the intersection (WHEELS).
Consider these sets of test values:
Assume the logic in the code is as follows:
IF ((RED OR SPEED) AND WHEELS) THEN
TAKE THE PHOTO
ELSE
DO NOT TAKE THE PHOTO
Given this information, which sets of values provides the minimum tests to achieve 100% modified condition/decision
coverage?
Select ONE option.
Answer Set
a. 1, 3, and 8.
b. 2 and 8.
c. 3, 4, 5, and 7.
d. 1, 5, 7, and 8.
Neeraj Kumar Singh
1. RED + SPEED + WHEELS
2. RED + SPEED + not WHEELS
3. RED + not SPEED + WHEELS
4. RED + not SPEED + not WHEELS
5. not RED + SPEED + WHEELS
6. not RED + SPEED + not WHEELS
7. not RED + not SPEED + WHEELS
8. not RED + not SPEED + not WHEELS
White Box Test Techniques
Sample Questions
2. You are testing a photo-enforcement system for traffic control in an intersection. It has been determined that a photo
should be taken if the signal light is red (RED) or the car is speeding (SPEED) and if the front wheels of the car are over
the line marking the beginning of the intersection (WHEELS).
Consider these sets of test values:
Assume the logic in the code is as follows:
IF ((RED OR SPEED) AND WHEELS) THEN
TAKE THE PHOTO
ELSE
DO NOT TAKE THE PHOTO
Given this information, which sets of values provide the minimum tests to achieve 100% multiple condition coverage?
Select ONE option.
Answer Set
a. All the sets are needed.
b. 3, 4, 5, and 7.
c. 1, 3, and 8.
d. 1, 5, 7, and 8.
Neeraj Kumar Singh
1. RED + SPEED + WHEELS
2. RED + SPEED + not WHEELS
3. RED + not SPEED + WHEELS
4. RED + not SPEED + not WHEELS
5. not RED + SPEED + WHEELS
6. not RED + SPEED + not WHEELS
7. not RED + not SPEED + WHEELS
8. not RED + not SPEED + not WHEELS
White Box Test Techniques
Sample Questions
3. You are testing a photo-enforcement system for traffic control in an intersection. It has been determined that a photo
should be taken if the signal light is red (RED) or the car is speeding (SPEED) and if the front wheels of the car are over
the line marking the beginning of the intersection (WHEELS).
Consider these sets of test values:
Assume the logic in the code is as follows:
IF ((RED OR SPEED) AND WHEELS) THEN
TAKE THE PHOTO
ELSE
DO NOT TAKE THE PHOTO
Given this information, which sets of values provide the minimum tests to achieve full coverage of basis paths?
Select ONE option.
Answer Set
a. 3, 4, 5, 7
b. 2, 3
c. 1, 3, 8
d. 1
Neeraj Kumar Singh
1. RED + SPEED + WHEELS
2. RED + SPEED + not WHEELS
3. RED + not SPEED + WHEELS
4. RED + not SPEED + not WHEELS
5. not RED + SPEED + WHEELS
6. not RED + SPEED + not WHEELS
7. not RED + not SPEED + WHEELS
8. not RED + not SPEED + not WHEELS
White Box Test Techniques
Sample Questions
4. Which of the following types of defects are targeted by API testing?
Select TWO options.
Answer Set
a. Loss of transactions.
b. Non-conformance to coding standards.
c. Incorrect data handling.
d. Installation defects.
e. GUI faults.
Neeraj Kumar Singh
White Box Test Techniques
Sample Questions
5. You are advising the developers in an agile team on the appropriate test coverage to be achieved in the next
sprint. Three business-critical user stories are on the sprint backlog. Each user story requires that several
sequential actions are performed with some simple error handling routines. Which is the level of test coverage
you would expect to be achieved in the testing of the user stories??
Select ONE option.
Answer Set
a. Decision coverage + Modified Condition/Decision coverage.
b. Decision coverage + Statement coverage.
c. Modified Condition/Decision coverage.
d. Multiple Condition coverage.
Neeraj Kumar Singh

More Related Content

What's hot

Chapter 3 - Agile Testing Methods, Techniques and Tools
Chapter 3 - Agile Testing Methods, Techniques and ToolsChapter 3 - Agile Testing Methods, Techniques and Tools
Chapter 3 - Agile Testing Methods, Techniques and Tools
Neeraj Kumar Singh
 
Chapter 5 - Test Management
Chapter 5 - Test ManagementChapter 5 - Test Management
Chapter 5 - Test Management
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
 
Chapter 1 - Testing Process
Chapter 1 - Testing ProcessChapter 1 - Testing Process
Chapter 1 - Testing Process
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 2 - Fundamental Agile Testing Principle, Practices & Process
Chapter 2 - Fundamental Agile Testing Principle, Practices & ProcessChapter 2 - Fundamental Agile Testing Principle, Practices & Process
Chapter 2 - Fundamental Agile Testing Principle, Practices & Process
Neeraj Kumar Singh
 
Chapter 3 - Static Testing
Chapter 3 - Static TestingChapter 3 - Static Testing
Chapter 3 - Static Testing
Neeraj Kumar Singh
 
Chapter 1 - Basic Concepts
Chapter 1 - Basic ConceptsChapter 1 - Basic Concepts
Chapter 1 - Basic Concepts
Neeraj Kumar Singh
 
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | EdurekaSoftware Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Edureka!
 
Chapter 2 - Test Management
Chapter 2 - Test ManagementChapter 2 - Test Management
Chapter 2 - Test Management
Neeraj Kumar Singh
 
Chapter 1 - Testing Process
Chapter 1 - Testing ProcessChapter 1 - Testing Process
Chapter 1 - Testing Process
Neeraj Kumar Singh
 
Chapter 3 - Test Automation
Chapter 3 - Test AutomationChapter 3 - Test Automation
Chapter 3 - Test Automation
Neeraj Kumar Singh
 
Chapter 3 - Test Techniques
Chapter 3 - Test TechniquesChapter 3 - Test Techniques
Chapter 3 - Test Techniques
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
 
Istqb foundation level
Istqb foundation levelIstqb foundation level
Istqb foundation level
Le Trung Hieu
 
Chapter 2 - Performance Measurement Fundamentals
Chapter 2 - Performance Measurement FundamentalsChapter 2 - Performance Measurement Fundamentals
Chapter 2 - Performance Measurement Fundamentals
Neeraj Kumar Singh
 
Chapter 3 - Reviews
Chapter 3 - ReviewsChapter 3 - Reviews
Chapter 3 - Reviews
Neeraj Kumar Singh
 
Chapter 5 - Test Automation Reporting and Metrics
Chapter 5 - Test Automation Reporting and MetricsChapter 5 - Test Automation Reporting and Metrics
Chapter 5 - Test Automation Reporting and Metrics
Neeraj Kumar Singh
 
Manual testing ppt
Manual testing pptManual testing ppt
Manual testing ppt
Santosh Maranabasari
 
Chapter 8 - Continuous Improvement
Chapter 8 - Continuous ImprovementChapter 8 - Continuous Improvement
Chapter 8 - Continuous Improvement
Neeraj Kumar Singh
 

What's hot (20)

Chapter 3 - Agile Testing Methods, Techniques and Tools
Chapter 3 - Agile Testing Methods, Techniques and ToolsChapter 3 - Agile Testing Methods, Techniques and Tools
Chapter 3 - Agile Testing Methods, Techniques and Tools
 
Chapter 5 - Test Management
Chapter 5 - Test ManagementChapter 5 - Test Management
Chapter 5 - Test Management
 
Chapter 4 - Test Design Techniques
Chapter 4 - Test Design TechniquesChapter 4 - Test Design Techniques
Chapter 4 - Test Design Techniques
 
Chapter 1 - Testing Process
Chapter 1 - Testing ProcessChapter 1 - Testing Process
Chapter 1 - Testing Process
 
Chapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationChapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and Automation
 
Chapter 2 - Fundamental Agile Testing Principle, Practices & Process
Chapter 2 - Fundamental Agile Testing Principle, Practices & ProcessChapter 2 - Fundamental Agile Testing Principle, Practices & Process
Chapter 2 - Fundamental Agile Testing Principle, Practices & Process
 
Chapter 3 - Static Testing
Chapter 3 - Static TestingChapter 3 - Static Testing
Chapter 3 - Static Testing
 
Chapter 1 - Basic Concepts
Chapter 1 - Basic ConceptsChapter 1 - Basic Concepts
Chapter 1 - Basic Concepts
 
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | EdurekaSoftware Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
Software Testing Life Cycle (STLC) | Software Testing Tutorial | Edureka
 
Chapter 2 - Test Management
Chapter 2 - Test ManagementChapter 2 - Test Management
Chapter 2 - Test Management
 
Chapter 1 - Testing Process
Chapter 1 - Testing ProcessChapter 1 - Testing Process
Chapter 1 - Testing Process
 
Chapter 3 - Test Automation
Chapter 3 - Test AutomationChapter 3 - Test Automation
Chapter 3 - Test Automation
 
Chapter 3 - Test Techniques
Chapter 3 - Test TechniquesChapter 3 - Test Techniques
Chapter 3 - Test Techniques
 
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
 
Istqb foundation level
Istqb foundation levelIstqb foundation level
Istqb foundation level
 
Chapter 2 - Performance Measurement Fundamentals
Chapter 2 - Performance Measurement FundamentalsChapter 2 - Performance Measurement Fundamentals
Chapter 2 - Performance Measurement Fundamentals
 
Chapter 3 - Reviews
Chapter 3 - ReviewsChapter 3 - Reviews
Chapter 3 - Reviews
 
Chapter 5 - Test Automation Reporting and Metrics
Chapter 5 - Test Automation Reporting and MetricsChapter 5 - Test Automation Reporting and Metrics
Chapter 5 - Test Automation Reporting and Metrics
 
Manual testing ppt
Manual testing pptManual testing ppt
Manual testing ppt
 
Chapter 8 - Continuous Improvement
Chapter 8 - Continuous ImprovementChapter 8 - Continuous Improvement
Chapter 8 - Continuous Improvement
 

Similar to Chapter 2 - White Box Test Techniques

White-box Testing: When Quality Really Matters
White-box Testing: When Quality Really MattersWhite-box Testing: When Quality Really Matters
White-box Testing: When Quality Really Matters
TechWell
 
ISTQB Technical Test Analyst 2012 Training - Structure-Based Testing
ISTQB Technical Test Analyst 2012 Training - Structure-Based TestingISTQB Technical Test Analyst 2012 Training - Structure-Based Testing
ISTQB Technical Test Analyst 2012 Training - Structure-Based Testing
Amr Ali (ISTQB CTAL Full, CSM, ITIL Foundation)
 
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
 
Structural Testing: When Quality Really Matters
Structural Testing: When Quality Really MattersStructural Testing: When Quality Really Matters
Structural Testing: When Quality Really Matters
TechWell
 
TESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTTESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPT
suhasreddy1
 
Tlc 1223618496327769-9
Tlc 1223618496327769-9Tlc 1223618496327769-9
Tlc 1223618496327769-9
krunal yagnik
 
CTFL Module 04
CTFL Module 04CTFL Module 04
CTFL Module 04
Davis Thomas
 
Best Way to Prepare for the ISTQB Technical Test Analyst (CTAL-TTA) Certifica...
Best Way to Prepare for the ISTQB Technical Test Analyst (CTAL-TTA) Certifica...Best Way to Prepare for the ISTQB Technical Test Analyst (CTAL-TTA) Certifica...
Best Way to Prepare for the ISTQB Technical Test Analyst (CTAL-TTA) Certifica...
Meghna Arora
 
Testing Fundamentals
Testing FundamentalsTesting Fundamentals
Testing Fundamentals
Kiran Kumar
 
D03 15 Deliverable Roadmap
D03 15 Deliverable RoadmapD03 15 Deliverable Roadmap
D03 15 Deliverable Roadmap
Leanleaders.org
 
D03 15 Deliverable Roadmap
D03 15 Deliverable RoadmapD03 15 Deliverable Roadmap
D03 15 Deliverable Roadmap
Leanleaders.org
 
2012 2013 idoe online-testing_site_readiness_training_deck_121112
2012 2013 idoe online-testing_site_readiness_training_deck_1211122012 2013 idoe online-testing_site_readiness_training_deck_121112
2012 2013 idoe online-testing_site_readiness_training_deck_121112
Rob Tidrow
 
20050314 specification based regression test selection with risk analysis
20050314 specification based regression test selection with risk analysis20050314 specification based regression test selection with risk analysis
20050314 specification based regression test selection with risk analysis
Will Shen
 
Softwar tetesting basic
Softwar tetesting basicSoftwar tetesting basic
Softwar tetesting basic
parekhjigarh
 
КАбЕРИНА АБЗЯбОВА - Certify with confidence: ISTQB Foundation 4.0. Common err...
КАбЕРИНА АБЗЯбОВА - Certify with confidence: ISTQB Foundation 4.0. Common err...КАбЕРИНА АБЗЯбОВА - Certify with confidence: ISTQB Foundation 4.0. Common err...
КАбЕРИНА АБЗЯбОВА - Certify with confidence: ISTQB Foundation 4.0. Common err...
QADay
 
Istqb Sample Questions
Istqb Sample QuestionsIstqb Sample Questions
Istqb Sample Questions
Rutwika Karankar
 
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
 
An Automated Tool for MC/DC Test Data Generation
An Automated Tool for MC/DC Test Data GenerationAn Automated Tool for MC/DC Test Data Generation
An Automated Tool for MC/DC Test Data Generation
Ariful Haque
 
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
 
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
 

Similar to Chapter 2 - White Box Test Techniques (20)

White-box Testing: When Quality Really Matters
White-box Testing: When Quality Really MattersWhite-box Testing: When Quality Really Matters
White-box Testing: When Quality Really Matters
 
ISTQB Technical Test Analyst 2012 Training - Structure-Based Testing
ISTQB Technical Test Analyst 2012 Training - Structure-Based TestingISTQB Technical Test Analyst 2012 Training - Structure-Based Testing
ISTQB Technical Test Analyst 2012 Training - Structure-Based 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
 
Structural Testing: When Quality Really Matters
Structural Testing: When Quality Really MattersStructural Testing: When Quality Really Matters
Structural Testing: When Quality Really Matters
 
TESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPTTESTING LIFE CYCLE PPT
TESTING LIFE CYCLE PPT
 
Tlc 1223618496327769-9
Tlc 1223618496327769-9Tlc 1223618496327769-9
Tlc 1223618496327769-9
 
CTFL Module 04
CTFL Module 04CTFL Module 04
CTFL Module 04
 
Best Way to Prepare for the ISTQB Technical Test Analyst (CTAL-TTA) Certifica...
Best Way to Prepare for the ISTQB Technical Test Analyst (CTAL-TTA) Certifica...Best Way to Prepare for the ISTQB Technical Test Analyst (CTAL-TTA) Certifica...
Best Way to Prepare for the ISTQB Technical Test Analyst (CTAL-TTA) Certifica...
 
Testing Fundamentals
Testing FundamentalsTesting Fundamentals
Testing Fundamentals
 
D03 15 Deliverable Roadmap
D03 15 Deliverable RoadmapD03 15 Deliverable Roadmap
D03 15 Deliverable Roadmap
 
D03 15 Deliverable Roadmap
D03 15 Deliverable RoadmapD03 15 Deliverable Roadmap
D03 15 Deliverable Roadmap
 
2012 2013 idoe online-testing_site_readiness_training_deck_121112
2012 2013 idoe online-testing_site_readiness_training_deck_1211122012 2013 idoe online-testing_site_readiness_training_deck_121112
2012 2013 idoe online-testing_site_readiness_training_deck_121112
 
20050314 specification based regression test selection with risk analysis
20050314 specification based regression test selection with risk analysis20050314 specification based regression test selection with risk analysis
20050314 specification based regression test selection with risk analysis
 
Softwar tetesting basic
Softwar tetesting basicSoftwar tetesting basic
Softwar tetesting basic
 
КАбЕРИНА АБЗЯбОВА - Certify with confidence: ISTQB Foundation 4.0. Common err...
КАбЕРИНА АБЗЯбОВА - Certify with confidence: ISTQB Foundation 4.0. Common err...КАбЕРИНА АБЗЯбОВА - Certify with confidence: ISTQB Foundation 4.0. Common err...
КАбЕРИНА АБЗЯбОВА - Certify with confidence: ISTQB Foundation 4.0. Common err...
 
Istqb Sample Questions
Istqb Sample QuestionsIstqb Sample Questions
Istqb Sample Questions
 
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...
 
An Automated Tool for MC/DC Test Data Generation
An Automated Tool for MC/DC Test Data GenerationAn Automated Tool for MC/DC Test Data Generation
An Automated Tool for MC/DC Test Data Generation
 
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.
 
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
 

More from 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 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 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 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 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
 
ISTQB Technical Test Analyst Answers to Sample Question Paper
ISTQB Technical Test Analyst Answers to Sample Question PaperISTQB Technical Test Analyst Answers to Sample Question Paper
ISTQB Technical Test Analyst Answers to Sample Question Paper
Neeraj Kumar Singh
 
ISTQB Technical Test Analyst Sample Question Paper
ISTQB Technical Test Analyst Sample Question PaperISTQB Technical Test Analyst Sample Question Paper
ISTQB Technical Test Analyst Sample Question Paper
Neeraj Kumar Singh
 
ISTQB Advance level syllabus 2019 Technical Test Analyst
ISTQB Advance level syllabus 2019 Technical Test AnalystISTQB Advance level syllabus 2019 Technical Test Analyst
ISTQB Advance level syllabus 2019 Technical Test Analyst
Neeraj Kumar Singh
 
ISTQB Agile Technical Tester Answers for Sample Question Paper
ISTQB Agile Technical Tester Answers for Sample Question PaperISTQB Agile Technical Tester Answers for Sample Question Paper
ISTQB Agile Technical Tester Answers for Sample Question Paper
Neeraj Kumar Singh
 
ISTQB Agile Technical Tester Sample Question Paper
ISTQB Agile Technical Tester Sample Question PaperISTQB Agile Technical Tester Sample Question Paper
ISTQB Agile Technical Tester Sample Question Paper
Neeraj Kumar Singh
 

More from Neeraj Kumar Singh (19)

Chapter 5 - Automating the Test Execution
Chapter 5 - Automating the Test ExecutionChapter 5 - Automating the Test Execution
Chapter 5 - Automating the Test Execution
 
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 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 6 - Test Tools and Automation
Chapter 6 - Test Tools and AutomationChapter 6 - Test Tools and Automation
Chapter 6 - Test Tools and Automation
 
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
 
ISTQB Technical Test Analyst Answers to Sample Question Paper
ISTQB Technical Test Analyst Answers to Sample Question PaperISTQB Technical Test Analyst Answers to Sample Question Paper
ISTQB Technical Test Analyst Answers to Sample Question Paper
 
ISTQB Technical Test Analyst Sample Question Paper
ISTQB Technical Test Analyst Sample Question PaperISTQB Technical Test Analyst Sample Question Paper
ISTQB Technical Test Analyst Sample Question Paper
 
ISTQB Advance level syllabus 2019 Technical Test Analyst
ISTQB Advance level syllabus 2019 Technical Test AnalystISTQB Advance level syllabus 2019 Technical Test Analyst
ISTQB Advance level syllabus 2019 Technical Test Analyst
 
ISTQB Agile Technical Tester Answers for Sample Question Paper
ISTQB Agile Technical Tester Answers for Sample Question PaperISTQB Agile Technical Tester Answers for Sample Question Paper
ISTQB Agile Technical Tester Answers for Sample Question Paper
 
ISTQB Agile Technical Tester Sample Question Paper
ISTQB Agile Technical Tester Sample Question PaperISTQB Agile Technical Tester Sample Question Paper
ISTQB Agile Technical Tester Sample Question Paper
 

Recently uploaded

Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
ScyllaDB
 
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Pitangent Analytics & Technology Solutions Pvt. Ltd
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
c5vrf27qcz
 
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
saastr
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
Tatiana Kojar
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
DianaGray10
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
Javier Junquera
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
Ivo Velitchkov
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
Neo4j
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
Miro Wengner
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Must Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during MigrationMust Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during Migration
Mydbops
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
Antonios Katsarakis
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
saastr
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
Fwdays
 
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance PanelsNorthern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 

Recently uploaded (20)

Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
 
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
Crafting Excellence: A Comprehensive Guide to iOS Mobile App Development Serv...
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
 
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Must Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during MigrationMust Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during Migration
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
 
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance PanelsNorthern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 

Chapter 2 - White Box Test Techniques

  • 1. White Box Test Techniques 1 TTA’s Task in Risk Based Testing 2 White Box Test Techniques 3 Analytical Techniques Software Testing - ISTQB Advance Technical Test Analyst Exam Preparation Chapter 2 Neeraj Kumar Singh 4 Dynamic Analysis 5 Reviews 6 Test Tools & Automation
  • 2. White Box Test Techniques Contents 2.1 Introduction 2.2 Statement Testing 2.3 Decision Testing 2.4 Modified Condition/Decision Coverage (MC/DC) Testing 2.5 Multiple Condition Testing 2.6 Basis Path Testing 2.7 API Testing 2.8 Selecting a White-box Test Technique Neeraj Kumar Singh
  • 3. White Box Test Techniques Introduction Each specific technique enables test cases to be derived systematically and focuses on a particular aspect of the structure to be considered. The techniques provide coverage criteria which have to be measured and associated with an objective defined by each project or organization. Achieving full coverage does not mean that the entire set of tests is complete, but rather that the technique being used no longer suggests any useful tests for the structure under consideration. The following techniques are considered in this syllabus:  Statement testing  Decision testing  Modified Condition/Decision Coverage (MC/DC) testing  Multiple Condition testing  Basis Path testing  API testing Neeraj Kumar Singh
  • 4. White Box Test Techniques Statement Testing Neeraj Kumar Singh True False? Read A Read B If A>B then Print “A is Bigger” Else Print “B is Bigger” End If Statement Testing or Coverage is a measure of the number of executable statements in the source code exercised by tests. Start End Branch Nodes A,B A>B A B End If
  • 5. White Box Test Techniques Statement Testing True False? Read A Read B If A>B then Print “A is Bigger” Else Print “B is Bigger” End If Start End A Path is the executable path which reaches the end of the code starting from the start point. 2 1 A,B A>B A B End If
  • 6. Example Statement Testing Neeraj Kumar Singh T IF sufficient water THEN Boil water Add tea Show message “milk?” IF milk = yes THEN Show message “low fat?” IF low fat = yes THEN Add low fat milk ELSE Add normal milk ENDIF ENDIF Show message “sugar?” IF sugar = yes THEN Add sugar ENDIF Stir Wait 3 minutes Show message “please take your tea” ELSE Show message “please fill up water” ENDIF Sufficient Water Boil Water Add Tea Milk? Milk=Yes Low Fat? Low Fat = Yes Low fat Milk Normal Milk End If Sugar? Sugar =Yes End If Add Sugar? End If Please fill up water Stir, wait Please take your tea. End If F F T T F F T
  • 7. White Box Test Techniques 1 TTA’s Task in Risk Based Testing 2 White Box Test Techniques 3 Analytical Techniques Software Testing - ISTQB Advance Technical Test Analyst Exam Preparation Chapter 2 Neeraj Kumar Singh 4 Dynamic Analysis 5 Reviews 6 Test Tools & Automation
  • 8. White Box Test Techniques Contents 2.1 Introduction 2.2 Statement Testing 2.3 Decision Testing 2.4 Modified Condition/Decision Coverage (MC/DC) Testing 2.5 Multiple Condition Testing 2.6 Basis Path Testing 2.7 API Testing 2.8 Selecting a White-box Test Technique Neeraj Kumar Singh
  • 9. White Box Test Techniques Decision Testing Neeraj Kumar Singh True False? Read A Read B If A>B then Print “A is Bigger” Else Print “B is Bigger” End If Decision Testing or Coverage is a measure of the number of executable decisions in the source code exercised by tests. Start End Branch/ Decisions Nodes/ Statements A,B A>B A B End If
  • 10. White Box Test Techniques Decision Testing True False? Read A Read B If A>B then Print “A is Bigger” Else Print “B is Bigger” End If Start End A Path is the executable path which reaches the end of the code starting from the start point. 2 1 A,B A>B A B End If
  • 11. Example Decision Testing Neeraj Kumar Singh TStatement P IF A THEN IF B THEN Statement Q ELSE Statement R ENDIF ELSE Statement S IF C THEN Statement T ELSE Statement U ENDIF ENDIF Statement V How many test cases would you design to achieve 100% decision coverage? A STMT P END IF F F F B STMT Q T STMT R STMT S C T STMT T STMT U END IF END IF STMT V Min TC for 100% DC = 4 #TIP – No of If +1
  • 12. White Box Test Techniques 1 TTA’s Task in Risk Based Testing 2 White Box Test Techniques 3 Analytical Techniques Software Testing - ISTQB Advance Technical Test Analyst Exam Preparation Chapter 2 Neeraj Kumar Singh 4 Dynamic Analysis 5 Reviews 6 Test Tools & Automation
  • 13. White Box Test Techniques Contents 2.1 Introduction 2.2 Statement Testing 2.3 Decision Testing 2.4 Modified Condition/Decision Coverage (MC/DC) Testing 2.5 Multiple Condition Testing 2.6 Basis Path Testing 2.7 API Testing 2.8 Selecting a White-box Test Technique Neeraj Kumar Singh
  • 14. White Box Test Techniques Modified Condition/Decision Coverage(MC/DC) Compared to Decision testing, which considers the entire decision as a whole and evaluates the TRUE and FALSE outcomes in separate test cases, MC/DC testing considers how a decision is made when it includes multiple conditions Each decision predicate is made up of one or more simple atomic conditions, each of which evaluates to a discrete Boolean value. These are logically combined to determine the final outcome of the decision. This technique checks that each of the atomic conditions independently and correctly affects the outcome of the overall decision. This technique provides a stronger level of coverage than statement and decision coverage when there are decisions containing multiple conditions. Assuming N unique, independent atomic conditions, MC/DC can usually be achieved with N+1 unique test cases. MC/DC requires pairs of test cases that show a single atomic condition can independently affect the result of a decision. Neeraj Kumar Singh
  • 15. White Box Test Techniques Modified Condition/Decision Coverage(MC/DC) Tests A B C Outcome 1 T T T T 2 T T F T 3 T F T T 4 T F F F 5 F T T F 6 F T F F 7 F F T F 8 F F F F Neeraj Kumar Singh (A && (B | C)) (A AND (B OR C)) Min TC for 100% MC/DC Coverage is N+1 Where N is no of conditions
  • 16. White Box Test Techniques Modified Condition/Decision Coverage(MC/DC) Tests A B C Outcome 1 T T T T 2 T T F T 3 T F T T 4 T F F F 5 F T T F 6 F T F F 7 F F T F 8 F F F F Neeraj Kumar Singh (A && (B | C)) (A AND (B OR C))
  • 17. White Box Test Techniques Modified Condition/Decision Coverage(MC/DC) Tests A B C Outcome 1 T T T T 2 T T F T 3 T F T T 4 T F F F 5 F T T F 6 F T F F 7 F F T F 8 F F F F Neeraj Kumar Singh (A && (B | C)) (A AND (B OR C))
  • 18. White Box Test Techniques Modified Condition/Decision Coverage(MC/DC) Tests A B C Outcome 1 T T T T 2 T T F T 3 T F T T 4 T F F F 5 F T T F 6 F T F F 7 F F T F 8 F F F F Neeraj Kumar Singh (A && (B | C)) (A AND (B OR C))
  • 19. White Box Test Techniques Modified Condition/Decision Coverage(MC/DC) Tests A B C Outcome 1 T T T T 2 T T F T 3 T F T T 4 T F F F 5 F T T F 6 F T F F 7 F F T F 8 F F F F Neeraj Kumar Singh (A && (B | C)) (A AND (B OR C)) A = {1,5} {2,6} {3,7} B = {2,4} C = {3,4}
  • 20. White Box Test Techniques Modified Condition/Decision Coverage(MC/DC) Tests A B C Outcome 1 T T T T 2 T T F T 3 T F T T 4 T F F F 5 F T T F 6 F T F F 7 F F T F 8 F F F F Neeraj Kumar Singh (A && (B | C)) (A AND (B OR C)) Min TC for 100% MC/DC Coverage is N+1 Where N is no of conditions A = {1,5} {2,6} {3,7} B = {2,4} C = {3,4} TC = {2,3,4,6}
  • 21. White Box Test Techniques 1 TTA’s Task in Risk Based Testing 2 White Box Test Techniques 3 Analytical Techniques Software Testing - ISTQB Advance Technical Test Analyst Exam Preparation Chapter 2 Neeraj Kumar Singh 4 Dynamic Analysis 5 Reviews 6 Test Tools & Automation
  • 22. White Box Test Techniques Contents 2.1 Introduction 2.2 Statement Testing 2.3 Decision Testing 2.4 Modified Condition/Decision Coverage (MC/DC) Testing 2.5 Multiple Condition Testing 2.6 Basis Path Testing 2.7 API Testing 2.8 Selecting a White-box Test Technique Neeraj Kumar Singh
  • 23. White Box Test Techniques Multiple Condition Testing In rare instances, it might be required to test all possible combinations of atomic conditions that a decision may contain. This exhaustive level of testing is called multiple condition testing. The number of required tests is dependent on the number of atomic conditions in the decision statement and can be determined by calculating 2N where N is the number of uncoupled atomic conditions. Coverage is measured as the number of unique condition combinations executed by the tests divided by the total number of condition combinations in the test object, normally expressed as a percentage. The number of test cases can be derived directly from a truth table containing all of the atomic conditions, this level of coverage can easily be determined. However, the sheer number of test cases required makes MC/DC coverage more feasible for most situations. Neeraj Kumar Singh
  • 24. White Box Test Techniques Multiple Condition Testing Tests A B C Outcome 1 T T T T 2 T T F T 3 T F T T 4 T F F F 5 F T T F 6 F T F F 7 F F T F 8 F F F F Neeraj Kumar Singh (A && (B | C)) (A AND (B OR C)) Min TC for 100% MCT Coverage is 2N Where N is no of conditions
  • 25. White Box Test Techniques 1 TTA’s Task in Risk Based Testing 2 White Box Test Techniques 3 Analytical Techniques Software Testing - ISTQB Advance Technical Test Analyst Exam Preparation Chapter 2 Neeraj Kumar Singh 4 Dynamic Analysis 5 Reviews 6 Test Tools & Automation
  • 26. White Box Test Techniques Contents 2.1 Introduction 2.2 Statement Testing 2.3 Decision Testing 2.4 Modified Condition/Decision Coverage (MC/DC) Testing 2.5 Multiple Condition Testing 2.6 Basis Path Testing 2.7 API Testing 2.8 Selecting a White-box Test Technique Neeraj Kumar Singh
  • 27. White Box Test Techniques Basis Path Testing Path testing in general consists of identifying paths through the code and then creating tests to cover them. Conceptually, it would be useful to test every unique path through the system. In any non-trivial system, however, the number of test cases could become excessively large due to the nature of looping structures. The technique is applied by the following steps: 1. Create a control flow graph for a given specification item (e.g., code or functional design specification). Note that this may also be the first step in performing control flow analysis. 2. Select a baseline path through the code (not an exception path). This baseline path should be the most important path to test – risk could be used to make this judgment. 3. Generate the second path by changing the outcome of the first decision on the path, while keeping the maximum number of decision outcomes the same as the baseline path. 4. Generate the third path by again starting with the baseline path and changing the outcome of the second decision on the path. When multiway decisions are encountered (e.g., a case statement), each outcome of the decision should be exercised before moving on to the next decision. 5. Generate further paths by changing each of the outcomes on the baseline path. When new decisions are encountered, the most important outcome should be followed first. 6. Once all the decision outcomes on the baseline path have been covered, apply the same approach to subsequent paths until all the decision outcomes in the specification item have been exercised. Neeraj Kumar Singh
  • 28. White Box Test Techniques Basis Path Testing Tests Paper Pen Pencil Outcome 1 T T T T 2 T T F T 3 T F T T 4 T F F F 5 F T T F 6 F T F F 7 F F T F 8 F F F F Neeraj Kumar Singh (A && (B | C)) = Write (Paper AND (Pen OR Pencil))
  • 29. Neeraj Kumar Singh White Box Test Techniques Basis Path Testing TStatement P IF A THEN IF B THEN Statement Q ELSE Statement R ENDIF ELSE Statement S IF C THEN Statement T ELSE Statement U ENDIF ENDIF Statement V A STMT P END IF F F F B STMT Q T STMT R STMT S C T STMT T STMT U END IF END IF STMT V
  • 30. White Box Test Techniques 1 TTA’s Task in Risk Based Testing 2 White Box Test Techniques 3 Analytical Techniques Software Testing - ISTQB Advance Technical Test Analyst Exam Preparation Chapter 2 Neeraj Kumar Singh 4 Dynamic Analysis 5 Reviews 6 Test Tools & Automation
  • 31. White Box Test Techniques Contents 2.1 Introduction 2.2 Statement Testing 2.3 Decision Testing 2.4 Modified Condition/Decision Coverage (MC/DC) Testing 2.5 Multiple Condition Testing 2.6 Basis Path Testing 2.7 API Testing 2.8 Selecting a White-box Test Technique Neeraj Kumar Singh
  • 32. White Box Test Techniques API Testing An Application Programming Interface (API) is code which enables communication between different processes, programs and/or systems. APIs are often utilized in a client/server relationship where one process supplies some kind of functionality to other processes. API Testing is a type of testing rather than a technique. In certain respects, API testing is quite similar to testing a graphical user interface (GUI). The focus is on the evaluation of input values and returned data. Negative testing is often crucial when dealing with APIs. Programmers who use APIs to access services external to their own code may try to use API interfaces in ways for which they were not intended. That means that robust error handling is essential to avoid incorrect operation. Combinatorial testing of many different interfaces may be required because APIs are often used in conjunction with other APIs, and because a single interface may contain several parameters, where values of these may be combined in many ways. APIs frequently are loosely coupled, resulting in the very real possibility of lost transactions or timing glitches. This necessitates thorough testing of the recovery and retry mechanisms. An organization that provides an API interface must ensure that all services have a very high availability; this often requires strict reliability testing by the API publisher as well as infrastructure support. Neeraj Kumar Singh
  • 33. White Box Test Techniques API Testing Applicability API testing is becoming more important for testing systems of systems as the individual systems become distributed or use remote processing as a way of off-loading some work to other processors. Examples include:  Operating systems calls  Service-oriented architectures (SOA)  Remote procedure calls (RPC)  Web services Software containerization results in the division of a software program into several containers which communicate with each other using mechanisms such as those listed above. API testing should also target these interfaces. Limitations/Difficulties Testing an API directly usually requires a Technical Test Analyst to use specialized tools. Because there is typically no direct graphical interface associated with an API, tools may be required to setup the initial environment, marshal the data, invoke the API, and determine the result. Neeraj Kumar Singh
  • 34. White Box Test Techniques 1 TTA’s Task in Risk Based Testing 2 White Box Test Techniques 3 Analytical Techniques Software Testing - ISTQB Advance Technical Test Analyst Exam Preparation Chapter 2 Neeraj Kumar Singh 4 Dynamic Analysis 5 Reviews 6 Test Tools & Automation
  • 35. White Box Test Techniques Contents 2.1 Introduction 2.2 Statement Testing 2.3 Decision Testing 2.4 Modified Condition/Decision Coverage (MC/DC) Testing 2.5 Multiple Condition Testing 2.6 Basis Path Testing 2.7 API Testing 2.8 Selecting a White-box Test Technique Neeraj Kumar Singh
  • 36. White Box Test Techniques Selecting a White-box Test Technique The context of the system under test will have an impact on its product risk and criticality levels ( see below). These factors influence the required coverage metric (and hence the white-box test technique to use) and the depth of coverage to be achieved. In general, the more critical the system and the higher the product risk level, the more rigorous the coverage requirements and the higher the need for time and resources to achieve the desired coverage. Sometimes the required coverage metric may be derived from applicable standards that apply to the software system. For example, if the software were to be used in an airborne environment, it may be required to conform to standard DO-178C (in Europe, ED-12C.) This standard contains the following five failure conditions: A. Catastrophic: failure may cause lack of critical function needed to safely fly or land the plane B. Hazardous: failure may have a large negative impact on safety or performance efficiency C. Major: failure is significant, but less serious than A or B D. Minor: failure is noticeable, but with less impact than C E. No effect: failure has no impact on safety Neeraj Kumar Singh
  • 37. White Box Test Techniques Selecting a White-box Test Technique If the software system is categorized as level A, it must be tested to 100% MC/DC coverage. If it is level B, it must be tested to 100% decision level coverage and MC/DC is optional. Level C requires 100% statement coverage at a minimum. Likewise, [IEC61508] is an international standard for the functional safety of programmable, electronic, safety- related systems. This standard has been adapted in many different areas, including automotive, rail, manufacturing, nuclear power plants, and machinery. Criticality is defined using a scale of Safety Integrity Levels (SIL) where SIL1 is the least critical and SIL4 the most critical. The standard gives recommendations for test coverage, as shown in the following table (note that the exact definitions for each SIL and for the meaning of “recommended” and “highly recommended” is defined in the standard). Neeraj Kumar Singh
  • 38. White Box Test Techniques 1 TTA’s Task in Risk Based Testing 2 White Box Test Techniques 3 Analytical Techniques Software Testing - ISTQB Advance Technical Test Analyst Exam Preparation Chapter 2 Neeraj Kumar Singh 4 Dynamic Analysis 5 Reviews 6 Test Tools & Automation
  • 39. White Box Test Techniques Sample Questions Pattern Neeraj Kumar Singh Source : www.istqb.org Chapter 2 Questions Distribution K-Level Number of Questions per LO(Group) Summary TTA-2.2 K3 1 There is a total of questions required for chapter 2 K3 = 6 K4 = 2 TTA-2.3 K3 1 TTA-2.4 K3 1 TTA-2.5 K3 1 TTA-2.6 K3 1 TTA-2.7 K3 1 TTA-2.8 K4 2
  • 40. White Box Test Techniques Sample Questions 1. You are testing a photo-enforcement system for traffic control in an intersection. It has been determined that a photo should be taken if the signal light is red (RED) or the car is speeding (SPEED) and if the front wheels of the car are over the line marking the beginning of the intersection (WHEELS). Consider these sets of test values: Assume the logic in the code is as follows: IF ((RED OR SPEED) AND WHEELS) THEN TAKE THE PHOTO ELSE DO NOT TAKE THE PHOTO Given this information, which sets of values provides the minimum tests to achieve 100% modified condition/decision coverage? Select ONE option. Answer Set a. 1, 3, and 8. b. 2 and 8. c. 3, 4, 5, and 7. d. 1, 5, 7, and 8. Neeraj Kumar Singh 1. RED + SPEED + WHEELS 2. RED + SPEED + not WHEELS 3. RED + not SPEED + WHEELS 4. RED + not SPEED + not WHEELS 5. not RED + SPEED + WHEELS 6. not RED + SPEED + not WHEELS 7. not RED + not SPEED + WHEELS 8. not RED + not SPEED + not WHEELS
  • 41. White Box Test Techniques Sample Questions 2. You are testing a photo-enforcement system for traffic control in an intersection. It has been determined that a photo should be taken if the signal light is red (RED) or the car is speeding (SPEED) and if the front wheels of the car are over the line marking the beginning of the intersection (WHEELS). Consider these sets of test values: Assume the logic in the code is as follows: IF ((RED OR SPEED) AND WHEELS) THEN TAKE THE PHOTO ELSE DO NOT TAKE THE PHOTO Given this information, which sets of values provide the minimum tests to achieve 100% multiple condition coverage? Select ONE option. Answer Set a. All the sets are needed. b. 3, 4, 5, and 7. c. 1, 3, and 8. d. 1, 5, 7, and 8. Neeraj Kumar Singh 1. RED + SPEED + WHEELS 2. RED + SPEED + not WHEELS 3. RED + not SPEED + WHEELS 4. RED + not SPEED + not WHEELS 5. not RED + SPEED + WHEELS 6. not RED + SPEED + not WHEELS 7. not RED + not SPEED + WHEELS 8. not RED + not SPEED + not WHEELS
  • 42. White Box Test Techniques Sample Questions 3. You are testing a photo-enforcement system for traffic control in an intersection. It has been determined that a photo should be taken if the signal light is red (RED) or the car is speeding (SPEED) and if the front wheels of the car are over the line marking the beginning of the intersection (WHEELS). Consider these sets of test values: Assume the logic in the code is as follows: IF ((RED OR SPEED) AND WHEELS) THEN TAKE THE PHOTO ELSE DO NOT TAKE THE PHOTO Given this information, which sets of values provide the minimum tests to achieve full coverage of basis paths? Select ONE option. Answer Set a. 3, 4, 5, 7 b. 2, 3 c. 1, 3, 8 d. 1 Neeraj Kumar Singh 1. RED + SPEED + WHEELS 2. RED + SPEED + not WHEELS 3. RED + not SPEED + WHEELS 4. RED + not SPEED + not WHEELS 5. not RED + SPEED + WHEELS 6. not RED + SPEED + not WHEELS 7. not RED + not SPEED + WHEELS 8. not RED + not SPEED + not WHEELS
  • 43. White Box Test Techniques Sample Questions 4. Which of the following types of defects are targeted by API testing? Select TWO options. Answer Set a. Loss of transactions. b. Non-conformance to coding standards. c. Incorrect data handling. d. Installation defects. e. GUI faults. Neeraj Kumar Singh
  • 44. White Box Test Techniques Sample Questions 5. You are advising the developers in an agile team on the appropriate test coverage to be achieved in the next sprint. Three business-critical user stories are on the sprint backlog. Each user story requires that several sequential actions are performed with some simple error handling routines. Which is the level of test coverage you would expect to be achieved in the testing of the user stories?? Select ONE option. Answer Set a. Decision coverage + Modified Condition/Decision coverage. b. Decision coverage + Statement coverage. c. Modified Condition/Decision coverage. d. Multiple Condition coverage. Neeraj Kumar Singh