Use Case Specification Guideline – Best Tips & Guidance for 2024

business analysis techniques - <a href=use case specification" width="800" height="600" />

This article provides use case specification guidance gained from working on many projects across a number of different organisations and industry. It will help those seeking to understand how to write use case specification and understand what is described in use case specification. So what is a use case specification? A use case specification captures the requirements, typically of a system, in the form of a use case that contains the descriptive requirements steps in a logical sequence so that document specification can be understood by users to obtain sign-off of their requirements and for testers and developers to understand what is needed by the system to test and build the system functionality detailed in the system use use case. Use cases and use case specifications were popular in the unified modelling language (UML) and is still used in some corporate environments. Having a good working knowledge of use cases and how they structured provides a very good basis for understanding and transitioning to using user stories in agile ways or working. As a use case can be split into another user stories. The article answers a number of the questions that business analyst ask who are new to use cases and seeking detailed guidance. The article will also help business analyst on how to write use case specification and understand sections of a use case specification template. The article also provides use case specification examples section extracts and use case textual description examples so that you can review and a get a good feel of what to specify in an use case specification document. The article also provides guidance on writing and formatting use case business rules examples in business analysis. Some readers may be interested in a recommended use case training course .

Table of Contents

Use Case Specification Guidelines

Level of Detail

Initially, during the early inception, actors and use cases will be identified, associated, named, given a brief description and an intuitive view of the size/complexity of the use case will be determined. The reasons for doing this are to:

Opens in a new tab.

During the Inception Phase, the use cases will be further described to an outline level of detail, this is important in order to:

By the end of the inception phase, all of the use cases should have been described to an outline level of detail. The “outline” level use-case specification should include the following sections (see later sections in this document for descriptions of the various use-case specification sections):

Opens in a new tab.

In addition to the above, if any of the other details (business rules, special requirements, issues) have been captured whilst capturing the “outline” level of detail, these should be included within the “outline” use-case specification.

Note: It is recognised that in a large proportion of use cases, the alternative flows usually contain a great deal of the complexity involved within the use case. Therefore, when an alternative flow is considered to be significant (i.e. it contains some complexity or may involve many steps) it should be described in more detail to ensure that the complexity of the flow is understood as is therefore not under or over estimated.

Ideally, this description should take the form of the outline steps involved, however, a paragraph describing the functionality of the alternative flow will suffice if this is not possible.

Once the “outline” use case has been agreed, the use case will then be elaborated to the full specification, the full specification should include all sections completed. By the end of the elaboration phase, approximately 80% of the use cases should have been described to a fully detailed level.

BAE - use case training course

The following sections describe the contents of the various sections of the standard use case specification.

Use Case Diagram

This use case specification section should be populated with the relevant use-case diagram(s). To avoid inclusion of large use case diagrams, a separate use case diagram should be produced for the use case being described, this diagram should detail the use case and any interacting actors and associated use cases. This is referred to as the “use case perspective” use case diagram.

Brief Description

The brief description of the use case specification section should be populated with the brief description of the use case documented. This description should give an overview of the purpose and scope of the use case and clearly define the end goals of the use case. A single paragraph will usually suffice for this description, however, for more complex use cases, a number of paragraphs may be required.

Note: A single sentence that does not give much more information than the use case name is not acceptable.

Supporting Diagrams

To aid in the understanding of the use case, it may be appropriate to include supporting diagrams into the use case specification, the most common would be:

The inclusion of these diagrams is optional and should only be done when it aids to the understanding of the use case.

Pre-Conditions

This use case specification section should describe the pre-conditions relevant to the use case. A pre-condition of a use case is the state that the system must be in prior to the use case being initiated in order to ensure that the actor will achieve their goal. The pre-conditions may reference other use cases that must have been successfully executed or may be a textual description of an event that is not represented by a particular use case.

Note: Each pre-condition will have a separate sub-section within the use case specification.

Post Conditions

This use case specification section should describe the post-conditions relevant to the use case. A post-condition of a use case defines the state the system must be in immediately after a use case has finished. The post-conditions may be a textual description of an event or description of information being passed to another use case e.g. The business will now have been transferred and the user manually produces a letter of confirmation to the IFA which may include the Unearned Commission Liability report.

Note: Each post-condition will have a separate sub-section within the use case specification.

Flow of Events

Basic Flow

The flow of events in the use case specification section provides the main bulk of the use case specification and describes what the actor does and what the system does in response. It is phrased in the form of a dialog between the actor and the system. The use case describes what happens inside the system, but not how or why.

The glossary should also be used to maintain the definitions of all business terms used in flow descriptions, this ensures that each term has one agreed definition across all use cases and also helps simplify the use case descriptions.

Do not describe specific design items such as user interface screens or controls into the description. Instead, describe these in the Use case storyboard.

Trigger

This use case starts when the actor does something to trigger it – an actor always initiates use cases. The trigger should be documented as the first step within the use case flow of events e.g. 1. This use case starts when the user….

Steps

Each step should be described using standard use case vocabulary (requests, sends, asks, where) and sentence style e.g.

For what the actor does

‘The User requests the to …’

For what the system does in response

‘The System sends message to and …’.

For business rule checks

Within the flow of events, the name of the actor will not be referenced as this is clearly displayed on the use-case diagram, instead ‘The User’ will be referenced. However, if it is not appropriate for the use case flow of events to reference ‘The User’ (i.e. when the Actor is Time or an external system), ‘The Actor’ should be used.

Each step within the flow of events should be numbered sequentially.

Sub-Headings

To aid understanding and navigation within use cases it can often be useful to include headings within the flow of events describing the action of a group of steps. These headings are not required across all use cases, but are most useful within large, complex use case flows involving many steps.

Example

Process Unearned Liability