For example, suppose ‘Borrwoing a book‘ a use case:
I can figure out two description for it:
Description one:
- Precondition: The member to access this use-case should be already logged in.
- OR EVEN Precondition: The book id should be specified.
- Enter the book id
- ….
Description two:
- Include the
Login
use-case - OR Include the
Search the book by title
use-case - Enter the book id
- ….
However here, it seems the first approach is better, but is there any general rule for it?
Could they be two way for writing a use-case?
Use cases should already identify the type of user (a logged-in user is a type of user, as is an administrator or some other role like sales clerk).
As a logged in user, I need the ability to request a book by title.
2