-
Notifications
You must be signed in to change notification settings - Fork 0
Generating Test Cases
Mike edited this page Dec 1, 2023
·
1 revision
Given these rules
R1: if aReal in [-1.25..1.75] and aString = 'red' and aDate in [2022/04/24..2022/04/30] and aBool = F then result is 'A'
R2: if aInteger in [-10..10] and aString = 'green' and aTime > 2022/04/24 12:45:00 then result is 'B'
R3: if aReal > 500.00 and aString = 'red' or = 'green' and aBool = T then result is 'C'
- Determine if there are any ambiguities in the rules.
- If there are then under what specific conditions do the ambiguities occur?
- Are there any missing rules?
- If so, how many? List them all.
- What values of the inputs to the decision will not produce any results?
- How many test cases are needed to prove the rules produce the expected results? List them all.
- Now imagine doing that with 100 rules!!!!
2023 Gnorion Corporation
Enterprise Knowledge Model