4.2 Black box test techniques Flashcards
How does Equivalence Partitioning divide data?
Equivalence Partitioning divides data into partitions (equivalence partitions) where all elements are expected to be processed in the same way by the test object.
What does Boundary Value Analysis (BVA) test?
BVA tests values at the boundaries between partitions, as boundary conditions are more likely to uncover defects.
When is Decision Table Testing particularly effective?
Decision Table Testing is particularly effective when a system’s behavior depends on combinations of inputs or conditions.
What does State Transition Testing focus on?
State Transition Testing focuses on testing transitions between different states of a system triggered by events.
What is the definition of a valid partition in Equivalence Partitioning (EP)?
A valid partition in EP contains values that should be processed according to the test object’s specification or requirements.
How is coverage measured in Equivalence Partitioning (EP)?
Coverage in EP is measured as the number of equivalence partitions exercised by at least one test case, divided by the total number of identified partitions, and expressed as a percentage.
What does Boundary Value Analysis (BVA) focus on?
BVA focuses on exercising the boundaries of equivalence partitions, as errors are more likely to occur at these boundary values.
What is the difference between 2-value BVA and 3-value BVA?
In 2-value BVA, each boundary value and its closest neighbor from the adjacent partition are covered. In 3-value BVA, each boundary value and both its neighbors are covered, making it more comprehensive
What is the primary purpose of decision tables in software testing?
Decision tables are used for testing the implementation of system requirements that specify how different combinations of conditions result in different outcomes.
How are the rows and columns structured in a decision table?
Each row in a decision table represents a unique combination of conditions, and each column corresponds to a decision rule defining the conditions and associated actions.
What do the notations “T,” “F,” “-“, and “N/A” indicate in decision tables?
“T” (true) indicates a satisfied condition, “F” (false) indicates an unsatisfied condition, “-“ denotes a condition irrelevant to the action outcome, and “N/A” denotes an infeasible condition for a specific rule.
How is coverage quantified in decision table testing?
Coverage in decision table testing is measured as the percentage of exercised columns, which represent feasible combinations of conditions, out of the total number of such columns.
What advantage does decision table testing offer in software testing?
Decision table testing systematically identifies all combinations of conditions, helping to uncover overlooked scenarios and detect gaps or contradictions in requirements.
How does a State Transition Diagram model the behavior of a system?
A State Transition Diagram models the behavior of a system by depicting its possible states and valid state transitions triggered by events, which may have associated guard conditions and actions.
What model is equivalent to a State Transition Diagram?
A State Table is the equivalent model to a State Transition Diagram, where rows represent states, columns represent events (with optional guard conditions), and table entries specify transitions and resulting actions.