atdd-accelerator-template-multi-repo

System Behavior (Use Cases)

Use Case Diagram

Use Case Diagram

Primary Actors:

Use Cases:

Secondary Actors:

Use Case Narrative: Place Order

Use Case Name

Place Order

Primary Actor

Customer

Goal

The customer successfully places an order for a product.

Preconditions

Main Success Scenario

  1. The customer enters a product SKU.
  2. The customer enters the desired quantity.
  3. The customer submits the order.
  4. The system validates the desired quantity.
  5. The system validates that the product exists SAP.
  6. The system creates the order.
  7. The system provides an order confirmation to the customer.

Extensions (Alternative Flows)

Postconditions

Use Case Narrative: Cancel Order

In a Real Life Project, we would write Use Case Narratives for the other Use Cases too. In this Sandbox Project, I’ve omitted writing the other Use Cases.