Transcript
Page 1: © by cellconsult.com UC Brew Coffee The Use Case Idea

© by cellconsult.com

UC Brew CoffeeUC Brew Coffee

The Use Case Idea

Page 2: © by cellconsult.com UC Brew Coffee The Use Case Idea

© by cellconsult.com

UC Brew Coffee – UC UC Brew Coffee – UC DocumentDocument

Page 3: © by cellconsult.com UC Brew Coffee The Use Case Idea

© by cellconsult.com

UC Brew Coffee – Main flowUC Brew Coffee – Main flow

1

2

3

4

5

6

7

The CM fills water into the water tank

The CM opens the filter box and inserts a new filter

The CM fills in roast and ground coffee into the filter and closes the filter box

The CM checks the correct position of the coffeepot

The CM starts the coffee machine (percolator)

The coffee machine (percolator) brews a fresh and drinkable coffee

The UC ends

There is no fresh (drinkable) coffee available

A fresh and drinkable coffee is brewed

Page 4: © by cellconsult.com UC Brew Coffee The Use Case Idea

© by cellconsult.com

UC Brew Coffee – Alternate UC Brew Coffee – Alternate flowflow

1

2

3

4

5

6

7

A3

A6a

There is no fresh (drinkable) coffee available

A fresh and drinkable coffee is brewed

The CM fills water into the water tank

The CM opens the filter box and inserts a new filter

The CM fills in roast and ground coffee into the filter and closes the filter box ?

The CM checks the correct position of the coffeepot

The CM starts the coffee machine (percolator)

The coffee machine (percolator) brews a fresh and drinkable coffee

The UC ends

The roast and ground coffee has been filled in already into the new filter. The CM closes the filter box

A power breakdown occursThe CM waits until reactivation

Page 5: © by cellconsult.com UC Brew Coffee The Use Case Idea

© by cellconsult.com

UC Brew Coffee – UC Brew Coffee – Exceptional flowExceptional flow

1

2

3

4

5

A5a1

A5a

There is no fresh (drinkable) coffee availableThe CM fills water into the water tank

The CM opens the filter box and inserts a new filter

The CM fills in roast and ground coffee into the filter and closes the filter box

The CM checks the correct position of the coffeepot

The CM starts the coffee machine (percolator)

The coffee machine (percolator) does not respondThe CM reads the manual and tries to solve the problem

The CM cannot solve the problem The CM stops the procedure and contacts the support

Page 6: © by cellconsult.com UC Brew Coffee The Use Case Idea

© by cellconsult.com

There is no fresh (drinkable) coffee available

UC Brew Coffee at a GlanceUC Brew Coffee at a Glance

1

2

3

4

5

6

7

A5a1

A1

A2aA2b

A3

A5a

A6a

A4

A6a1A fresh and drinkable coffee is brewed

Page 7: © by cellconsult.com UC Brew Coffee The Use Case Idea

© by cellconsult.com

Actor

What is a Use Case?What is a Use Case?

What is the goal?

What things do we need?

How to brew a coffee?

Who makes the coffee?

Is everything ready to start?

Business Objects:

Coffee, Water, Cup …

Coffee Percolator

How do you want your coffee?

Main Flow Fill percolator with water Insert coffee filter Fill in ground coffee etc.

Preconditions

Percolator has power supply

Constraints

Quality, Quantity, Time…

Post conditions

A cup of fresh brewedblack coffee

I want coffee!

??Thank you!

Page 8: © by cellconsult.com UC Brew Coffee The Use Case Idea

© by cellconsult.com

Why Use Cases?Why Use Cases?

FORMALFORMAL

Verbal

Use CaseActor

Business Objects

Preconditions

Main Flow• Step 1• Step 2…

Post Conditions

Constraints

Page 9: © by cellconsult.com UC Brew Coffee The Use Case Idea

© by cellconsult.com

How to test a Use Case?How to test a Use Case?

Use CaseActor

Business Objects

Preconditions

Main Flow• Step 1• Step 2…

Post Conditions

Constraints

Test CaseActor

Business Objects

Preconditions

Main Flow• Step 1• Step 2…

Post Conditions

Constraints

Test Data


Recommended