Exclusive Definition

Given options A, B, C... at most one option may be true or all must be false.  Exclusive is a bi-directional constraint.

Story 

Based on given balance within a user combined accounts(savings, checking and credit card), the user will be granted certain rewards. However, the balance of the credit card may not exceed 100,000.


Actors

Who are the actors for our story?

  • Balance: The object triggers the reward level
  • Product: The object attempting to receive the reward


Test Cases

What are the test cases necessary to define in order to cover all exit points?

  1. Balance < 100,000 - If balance is less than 10000, then no rewards.
  2. Balance >= 100,00 and < 100,000  - If balance is greater than or equal to 10000 and less than 100000, then no annual fees.
  3. Balance > 100,00 - If balance is greater than 100,000 then no annual fees and 2% increase in the interest rate.


Variables & States

What are the variables needed to check our test cases, and for each variable, what states are needed?

  • balance 
    • Large
    • Medium
    • Small
  • product
    • Checking
    • Savings
    • Credit Card


GenRocket Pairwise Configuration

Domain Definition


Pairwise Function


Pairwise Test Case Variables


Pairwise Variable - balance


Pairwise Variable - product


Pairwise Test Case Constraints


Constraint 

This one inclusive constraint covers all three test cases.


Pairwise Matrix


Pairwise Test Cases