ISTQB - Chapter 4 Flashcards
What is the purpose of a test technique?
To help in identifying test conditions, test cases, and test data.
What is the basis for black-box test techniques?
Black-box test techniques are based on an analysis of the appropriate test basis (e.g., formal requirements documents, specifications, use cases, user stories, or business processes).
What is the basis for white-box test techniques?
White-box test techniques are based on an analysis of the architecture, detailed design, internal structure, or the code of the test object.
“Test cases may be used to detect gaps between the requirements and the implementation of the requirements, as well as deviations from the requirements.”
What test technique is this describing?
Black-box testing
What is the basis for experience-based test techniques?
The knowledge and experience of testers, developers, users and other stakeholders.
What kind of test technique is equivalence partitioning?
Black-box test technique
What are valid values in equivalence partitioning?
Values that should be accepted by the component or system. An equivalence
partition containing valid values is called a “valid equivalence partition.”
What are invalid values in equivalence partitioning?
Values that should be rejected by the component or system. An equivalence partition containing invalid values is called an “invalid equivalence partition.”
How many equivalence partitions can a single value belong to?
Each value must belong to one and only one equivalence partition.
Is it okay to combine invalid equivalence partitions when testing?
No, 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.
How would you achieve 100% coverage using equivalence partitioning?
Test cases must cover all identified partitions (including invalid partitions) by using a minimum of one value from each partition.
What kind of test technique is boundary value analysis?
Black-box test technique
What kind of equivalence partition can boundary value analysis be applied to?
BVA can only be used when the partition is ordered, consisting of numeric or sequential data.
What are the boundary values of a partition?
The minimum and maximum values (or first and last values) of a partition are its boundary values.
How is coverage measured for boundary value analysis?
Boundary coverage for a partition is measured as the percentage of boundary values tested (number of boundary values tested divided by the total number of identified boundary test values)
What kind of test technique is decision table testing?
Black-box test technique