agile-requirements-framework

An Agile Way of Writing Use Cases

This article provides guidance on writing use cases in general and more specifically so they work as the framework to support the way-of-working in the main article about my proposed requirements framework.

Use Case Organization and Format

The following figure shows an annotated example of a use case formatted as described above.

Use Case Formatting

Example Use Case

The following is a larger but still simplified example of some use cases for a product to design configuration files. The idea is that a configuration is made up of many parts, each with a unique structure that the user needs to populate.


Access Configuration Designer

Base Flow - Access Designer
  1. User accesses Configuration Designer by browsing to [designer.com]>(http://designer.com) and enters valid credentials.
  2. User Opens or Creates a Configuration.
  3. User Views or Edits Configuration.
  4. User closes the Configuration.
  5. User logs-out of the Designer
Alternatives
1a - Setup Credentials
  1. User starts the Designer for the first time and is prompted to setup >their credentials.
  2. Continue at step 2
1b - Invalid Credentials
  1. User enters invalid credentials
  2. System notifies them of the error and re-prompts up to the allowed >number of times before lock-out.
  3. Continue at step 1
Detailed Requirement Statements

This section lists the requirements statement / rule for each BDD scenario associated with the use case….

View and Edit Configuration

Base Flow - View and Edit Configuration
  1. User does any of the following by navigating to the appropriate part of >the configuration.
Data
Configuration Tree

The Tree provides a view of the parts of the Configuration, navigation to >those parts, and operations to create or delete parts where appropriate. >The following is the structure of and the operations available on the >items in the Protocol Tree:

Detailed Requirement Statements

BDD scenario associated with the use case….

For details on how the detailed requirements are presented, see Organizing and Managing BDD Scenarios As Your Detailed Requirements

View and Edit Part-A

Base Flow - View and Edit Part-A
  1. User views or edits the Part-A fields
Detailed Requirement Statements

BDD scenario associated with the use case…