4.2.1 Equivalence Partitioning Flashcards
Equivalence Partitioning (EP) divides data into “ “ (equivalence partitions) based on the expectation that a… of a g… are to be “ “ in the same way by the t…
partitions
all the elements
given partition
processed
test object.
Technique theory is that if a … that tests one value from an … detects a defect … should be detected by … that test any …
from the …
So, one test for … is “ “.
test case
equivalence partition
this defect
test cases
other value
same partition.
each partition
sufficient.
Equivalence partitions can be identified for any data element related to the test object including:
- in…
- ou…
- conf…
- inter…
- time-r…
- interf…
- inputs
- outputs
- configuration items
- internal values
- related values
- interface parameters
The partitions may be:
- “c…“ or “ “
- “o…“ or “ “
- “f…“ or “ “
The partitions must not “ “ and must be n…
- continuous
discrete - ordered
unordered - finite
infinite
overlap
non-empty sets.
For simple test items, EP can be easy, but in practice understanding how the t… will treat d… is often “ “.
Partitioning should be …
test object
different values
complicated
done with care.
A partitioning containing valid values is called …
A partitioning containing invalid values is called …
valid partitioning.
an invalid partitioning.
Valid values may be interpreted as those that should be “ “ by the … or as those for which the “ “ defined their “ “.
processed
test object
specification
processing
Invalid values may be interpreted as those that should be i… by the … or as those for which … is defined in the t…
ignored or rejected
test object
no processing
test object specification.
In EP, the coverage items are the e…
equivalence partitions.
To achieve 100% coverage with this test technique, test cases must exercise a… by covering each “ “ at least “ “.
all identified partitions (including invalid partitions)
partition
once
Coverage is measured as the number of partitions exercised by at least one test case “ “ by the … of … and is expressed as a “ “.
divided
total number
identified partitions
percentage
Many test items include m… (test items with more than one input parameter) which means that a … will cover “ “ from different sets of “ “.
multiple sets of partitions
test case
partitions
partitions
The simplest coverage criterion is the case of multiple sets of partitions called …
Each Choice coverage.
Each Choice coverage requires test cases to exercise each partition from each set o… at l…
Each Choice coverage doesn’t take into account c…
of partitions
least once.
combinations of partitions.