When would you use a cause-effect graph before writing a decision table or test cases?
Answer
Use a cause-effect graph when several input conditions, constraints and logical relationships combine to produce outcomes that are difficult to reason about from prose. Represent causes and effects, connect them with Boolean relationships, and add constraints for combinations that are required or impossible. Review the model with stakeholders, then convert meaningful combinations into a decision table and test cases. The graph can expose missing, contradictory or redundant rules, but it does not make every combination equally valuable; prioritize by risk and add state, sequence and non-functional coverage separately.
Strong answer includes
- connects cause-effect models to interacting business logic
- uses constraints and Boolean relationships before deriving a decision table
- treats the model as a reviewable coverage aid rather than an exhaustive generator
Practical example
For a loan-approval feature where eligibility depends on income, credit score, existing debt and residency status combined with several exclusion rules, a tester draws a cause-effect graph to map how these four causes interact through AND/OR/NOT relationships. Reviewing the graph with the business analyst reveals a rule contradiction — high income was supposed to override a low credit score, but the written requirements never stated that — and the team fixes the requirement before deriving the decision table.