Black-Box, White-Box, and Experience Based Testing L5
Black-Box, White-Box, and Experience Based Testing L5
1
24/06/2021
2
24/06/2021
3
24/06/2021
4
24/06/2021
• There are various test case design techniques applied for black-box
testing:
1.Boundary Value Analysis
2.Equivalence partitioning
3.State Transition Testing
4.Decision Table Testing
5.Use Case Testing
1.Equivalence partitioning
•Equivalence partitioning divides data into partitions (also known as equivalence classes) in such a
way that all the members of a given partition are expected to be processed in the same way. There
are equivalence partitions for both valid and invalid values.
Valid values are values that should be accepted by the component or system. An equivalence
partition containing valid values is called a "valid equivalence partition."
Invalid values are values that should be rejected by the component or system. An equivalence
partition containing invalid values is called an "invalid equivalence partition."
Partitions can be identified for any data element related to the test object, including inputs,
outputs, internal values, time-related values (e.g., before or after an event) and for interface
parameters (e.g., integrated components being tested during integration testing).
10
5
24/06/2021
1.Equivalence partitioning
Any partition may be divided into sub partitions if required.
Each value must belong to one and only one equivalence partition.
When invalid equivalence partitions are used in test cases, they should be tested individually,
i.e., not combined with other invalid equivalence partitions, to ensure that failures are not
masked.
Failures can be masked when several failures occur at the same time but only one is visible,
causing the other failures to be undetected.
To achieve 100% coverage with this technique, test cases must cover all identified partitions
(including invalid partitions) by using a minimum of one value from each partition.
Coverage is measured as the number of equivalence partitions tested by at least one value,
divided by the total number of identified equivalence partitions, normally expressed as a
percentage.
11
1.Equivalence partitioning
12
6
24/06/2021
13
14
7
24/06/2021
15
16
8
24/06/2021
17
18
9
24/06/2021
19
20
10
24/06/2021
21
22
11
24/06/2021
23
24
12
24/06/2021
25
26
13
24/06/2021
27
28
14
24/06/2021
29
30
15
24/06/2021
31
32
16
24/06/2021
33
34
17
24/06/2021
35
1. Error Guessing
2. Exploratory Testing
3. Checklist Based Testing
36
18
24/06/2021
37
38
19
24/06/2021
An extension or
Describe the Define how users Two testers work Interruptions do
3. Create a time reduction of 45
starting point of will utilize the together for at not occur during
box. minutes is
testing. system. least 90 minutes. the 90 minutes.
acceptable.
39
40
20
24/06/2021
41
42
21
24/06/2021
Next Week
Test Cases
43
22