01.01.2015 Views

UML Weekend Crash Course™ - To Parent Directory

UML Weekend Crash Course™ - To Parent Directory

UML Weekend Crash Course™ - To Parent Directory

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Session 8—Identifying the Use Case Scenarios 91<br />

The result of completing the description of all the scenarios should be a reasonably complete<br />

test plan for each Use Case. Remember, though, that you have only modeled the system<br />

at the Use Case level. That means that the test plan you have so far is really only<br />

acceptance-level testing, not full system or integration testing. But the Use Case level test<br />

plan provides the framework for all the test plans for successive phases in the project.<br />

REVIEW<br />

Use Cases express what the users expect the system to provide.<br />

Use Case narratives explain in detail how the users expect to interact with the system<br />

when they invoke the Use Case.<br />

Scenarios break down the narrative explanation to provide a detailed examination<br />

of every possible outcome of the Use Case, why each outcome happens, and how the<br />

system is supposed to respond.<br />

The Activity diagram provides a visual evaluation of the Use Case narrative.<br />

Although it isn’t necessary to use an Activity diagram, it can be very helpful, especially<br />

for complex Use Cases.<br />

A scenario is a single logical path through a Use Case, expressing one possible outcome.<br />

Finding Use Case scenarios requires you to follow each unique series of activities<br />

and decisions from the beginning of the Use Case to a single end point.<br />

<strong>To</strong>gether, the scenarios should account for every possible way that a Use Case could<br />

execute.<br />

When the scenarios have been identified, they may be used to develop a comprehensive<br />

acceptance-level test plan. They may also be used to test the results of subsequent<br />

analysis and design efforts.<br />

QUIZ YOURSELF<br />

1. What is a Use Case scenario (See “Describing Use Case Scenarios.”)<br />

2. How many scenarios are in a Use Case (See “Describing Use Case Scenarios.”)<br />

3. What two methods can you use to describe the logical flow of a Use Case (See<br />

“Describing Use Case Scenarios” and “How to find Use Case scenarios.”)<br />

4. If a scenario is a single logical path, how do you handle looping logic (See<br />

“Applying Use Case scenarios.”)<br />

5. How will the scenarios be used later in the project (See “Applying Use Case<br />

scenarios.”)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!