Based on the classification tree shown below, using the pairwise testing technique how many test cases are required to test all pairs?
A . 3
B . 8
C . 9
D . 12
Answer: B
Explanation:
Pairwise testing is a technique that tests all possible discrete combinations of each pair of input parameters. In this case, there are two main categories: Colour and Shape. Under Colour, there are three subcategories: Red, Blue, and Green. Under Shape, there are two subcategories: Triangle and Circle. There is an additional category under Triangle labeled Size of triangle, with two subcategories:
Small and Large. To test all pairs of these parameters, we need to use a tool or an algorithm that can generate the optimal test cases.
One such tool is Pairwise.org, which can produce the following test cases:
Table
These eight test cases cover all pairs of parameters, such as Red-Triangle, Red-Small, Blue-Circle, etc. Therefore, the answer is B. 8.
Reference = Pairwise Testing or All-Pairs Testing Tutorial with Tools and Examples, Pairwise Testing – What It Is, When & How to Perform?, All-pairs testing – Wikiwand, ISTQB Certified Tester Advanced Level Syllabus Technical Test Analyst (Section 3.2.3)
Latest CTAL-TA_Syll2019 Dumps Valid Version with 40 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund