There are some tips to know what is and what is not a use case?
Use case is used to identify and record the functional requirements of the system. Use Case Diagrams help communication between analysts and the system, describing the scenario with functionalities.
The Use Case diagram is represented by:
- actors;
- use cases;
- relationships between these elements.
These relationships can be:
- associations between actors and use cases;
- generalizations among actors;
- generalizations,
extends
and includes
among cases of use.
In the above example, the use case "3. Make Payment" would be part of the use case "2. Place Order"?
In your diagram, 3 is part of 2. That’s right include
. That’s what he’s for.
To understand better, in UFCG website has that explanation:
Include: A relationship include
of a use case A for a use case B indicates that B is essential for the behavior of A.
It can also be said that B is_part_of A.
Extend: A relationship extend
of a use case B for a use case A indicates that use case B can be added to
describe the behavior of A (not essential). The extension is
inserted at an extension point of the use case A. Extension point
in a use case is an indication that other use cases may
be added to it. When the use case is invoked, it
verify whether or not your extensions should be invoked. When
specifies B extends
A, the semantics is:
- Two use cases are defined: A and A Extended by B;
- B is a variation of A. Contains additional events for certain conditions;
- It has to be specified where B is inserted in A.
Usefulness of the use case
Although simple they are useful from communicating with the customer to generating test cases. This is because they do not require technical knowledge and the customer can understand the diagram effortlessly. In addition, new use cases generate new requirements and the merging of all scenarios are used to suggest the tests for each scenario.
References:
"In the example above, the use case "3. Make Payment" would be part of the use case "2. Place Order"?" Raphael, I believe so, since it would always be necessary to place an order before paying it off.
– Antonio Alexandre