In decision table testing, columns (test cases) can be merged or eliminated when they produce identical combinations of condition entries once "don't care" (-) values are accounted for, since they exercise the same combination of relevant conditions and produce the same result. In this table: column 4 duplicates column 3 (both are Login=Y, Power=Y, UpdateNeeded=N, UpdateAccepted=-, since UpdateAccepted is irrelevant when no update is needed); columns 6, 7, and 8 duplicate column 5 (all are Login=Y, Power=N, with UpdateNeeded and UpdateAccepted both irrelevant once power is not connected); and columns 10-16 duplicate column 9 (all are Login=N, with Power, UpdateNeeded, and UpdateAccepted all irrelevant once login fails). Therefore tests 4, 6, 7, 8, and 10-16 are redundant and can be eliminated, leaving only 5 distinct test cases (1, 2, 3, 5, and 9) needed to fully cover the decision logic.
Community Discussion