random chapter 4 Flashcards
A black-box test technique in which test cases are designed to exercise the combinations of conditions and the resulting actions shown in a decision table.
Decision table testing:
A black-box test technique in which test cases are designed based on boundary values.
boundary value analysis:
A black-box test technique in which test conditions are equivalence partitions exercised by one representative member of each partition
equivalence partitioning:
A black-box test technique in which test cases are designed to exercise elements of a state transition model.
State transition testing:
-Test techniques also help the tester to
define test conditions
identify coverage items
and identify test data during the test analysis and design
Equivalence partitions can be identified for any data element related to the test object, including
inputs, outputs, configuration items, internal values, time-related values, and interface parameters.
The partitions in equivalence partitions may be
continuous or discrete, ordered or unordered, finite or infinite. The partitions must not overlap and must be non-empty sets.
Coverage is measured as the number of partitions exercised by at least one test case, divided by the total number of identified partitions, and is expressed as a percentage.
Equivalence partitions
The simplest coverage criterion in the case of multiple sets of partitions is called :
-requires test cases to exercise each partition from each set of partitions at least once.
- does not take into account combinations of partitions.
Each Choice coverage
are an effective way of recording complex logic, such as business rules.
Decision tables
the conditions and the resulting actions of the system are defined. These form the rows of the table.
Decision tables
Each column corresponds to a decision rule that defines a unique combination of conditions, along with the associated actions.
Decision tables
The strength of this testing is that it provides a systematic approach to identify all the combinations of conditions, some of which might otherwise be overlooked.
Decision tables
Its rows represent states, and its columns represent events (together with guard conditions if they exist).
State transition testing:
the coverage items are executable statements.
statement testing
The aim is to design test cases that exercise statements in the code until an acceptable level of coverage is achieved.
statement testing
is a transfer of control between two nodes in the control flow graph, which shows the possible sequences in which source code statements are executed in the test object.
branch
-Each transfer of control can be either unconditional (i.e., straight-line code) or conditional (i.e., a decision outcome).
branch testing
-Branch coverage subsumes statement coverage.
This means that any set of test cases achieving 100% branch coverage also achieves 100% statement coverage (but not vice versa).
error guessing: In general, errors, defects and failures may be related to:
input (e.g., correct input not accepted, parameters wrong or missing),
output (e.g., wrong format, wrong result)
logic (e.g., missing cases, wrong operator),
computation (e.g., incorrect operand, wrong computation),
interfaces (e.g., parameter mismatch, incompatible types),
or data (e.g., incorrect initialization, wrong type).
are a methodical approach to the implementation of error guessing.
fault attack
-This technique requires the tester to create or acquire a list of possible errors, defects and failures, and to design tests that will identify defects associated with the errors, expose the defects, or cause the failures.
-These lists can be built based on experience, defect and failure data, or from common knowledge about why software fails.
fault attack
tests are simultaneously designed, executed, and evaluated while the tester learns about the test object.
Exploratory Testing