For the fourth assignment in software testing, we had to create a decision table testing. A decision table is a black-box test technique that visually presents combinations of inputs and outputs, where inputs are conditions or cases, and outputs are actions or effects. A full decision table contains all combinations of conditions and actions. Additionally, it shows the causes and effects. Therefore, this technique is also called a cause-effect table. A well-created decision table can help to sort out the right response of the system, depending on the input data, as it should include all conditions. It simplifies designing the logic and thus improves the development and testing of our product.
The decision table works on input conditions and actions. We create a Table in which the top rows are input conditions, and in the same vein, the bottom rows are resulting actions. Similarly, the columns correspond to unique combinations of these conditions.
Advantages of Decision Table Testing
The system behavior is different for different input, both equivalent partitioning, and boundary value analysis won’t help, but decision table can be used.
It can be easily interpreted and is used for development and business as well.
Help to make effective combinations and better coverage for testing.
Any complex business conditions can be easily turned into decision tables.
In a case we are going for 100% coverage typically when the input combinations are low, this technique can ensure the coverage.
Disadvantages of Decision Table Testing
The number of inputs increases the table will become more complex.
Resources:
https://www.guru99.com/decision-table-testing.html
From the blog CS@Worcester – Tech, Guaranteed by mshkurti and used with permission of the author. All other rights reserved by the author.