To determine the minimum number of test cases needed to cover:
All unique paths (without repeating loops) in the BPMN process model.
All decision rules (combinations) in the DMN decision table.
Let’s break it down:
BPMN Paths:
If the purchase order is not approved → process ends → 1 path
If approved:
Goods received → “Check of delivery” → Acceptance YES → Payment → 1 path
Goods received → “Check of delivery” → Acceptance NO → Discussion → End → 1 path
= Total distinct BPMN paths: 3
DMN Table:
There are 4 rules based on two inputs (Quality check and Quantity check):
Acceptable + Amount ok → Passed
Substandard + Amount ok → Failed
Acceptable + Amount incorrect → Failed
Substandard + Amount incorrect → Failed
You must execute 4 combinations to cover all decision rules.
To cover both all BPMN flows and all DMN rules, you need a minimum of 4 test cases (each using a different rule from the DMN table and associated BPMN path). Paths may overlap, but all rules must be exercised.
Submit