4.2.3 Decision Table Testing Flashcards
Decision tables are used for testing the i… that specify how different c… result in d…
implementation of requirements
combinations of conditions
different outcomes.
Decision tables are an effective way of recording … such as …
complex logic
business rules.
When creating decision tables, the “ “ and the r… of the “ “ are “ “.
These form the …
conditions
resulting actions
system
defined
rows of the table.
Each column corresponds to a d… that defines a u… along with the a…
decision rule
unique combination of conditions,
associated actions.
In limited-entry decision tables, all the values of the “ “ and “ “ (except for i… are shown as B…
conditions
actions
irrelevant or infeasible ones)
Boolean values (true or false).
Alternatively, in extended-entry decision tables, some or all of the “ “ and “ “ may also take on m… (ra… , eq… , dis… )
conditions
actions
multiple values
(ranges of numbers,
equivalence partitions,
discrete values).
Notations for conditions:
- T … means the “ “ is “ “.
- F … means that the “ “ is …
- “-“ means that the “ “ of the “ “ is “ “ for the a…
- N/A means that the “ “ is “ “ for a g…
- T (true)
condition
satisfied - F (false)
condition
not satisfied. - “-“
value
condition
irrelevant
action outcome. - N/A
condition
infeasible
given rule.
For actions:
- X means that the “ “ should “ “.
- blank means that the “ “ should …
- other notation …
- action
occur - action
not occur. - may be used.
A full decision table has enough columns to cover every c…
combination of conditions.
The table can be simplified by deleting columns containing infeasible c…
combinations of conditions.
The table can also be minimized by merging columns in which some “ “ don’t affect the “ “ into a …
conditions
outcome,
single column.
In decision table testing, the coverage items are the columns containing feasible c…
Coverage is measured as the number of e… / by the total n… and expressed as a “ “.
combinations of conditions.
exercised columns
number of feasible columns
percentage.
The strength of decision tables testing is that it provides a s… to identify all the c… , some of which might be o…
systematic approach
combinations of conditions,
otherwise overlooked.
Decision table testing also helps to find any “ “ or “ “ in the “ “.
gaps
contradictions
requirements.
If there are many conditions, exercising all the decision rules may be time “ “, since the n… grows “ “ with the number of “ “.
In such a case, to reduce the number of “ “ that need to be exercised, a minimized … or a r… may be “ “.
consuming
number of rules
exponentially
conditions
rules
decision table
risk-based approach
used