Click here to edit the diagram, you can read here how to edit images
One more use case: When the user is not moving send notification and ask if the ride is over
Another one: view statistics
|
SSA1 |
Name |
Start a ride
|
Goal |
As a hitchhiker I want to be able to tell the system that the next ride have been started so that the system calculates my statistics correctly.
|
Roles |
Hitchhiker
|
Preconditions and Input |
- Hitchhiker has one active trip
- App is in the state 'Waiting for a ride'
|
Description |
- Hitchhiker executes 'Start ride' function
- System changes the state to 'During the ride' and starts showing the number of kilometers since the start of the ride and statistics of the whole trip:
- number of rides = number of cars
- duration of the trip
- kilometers since the beginning of the trip
- average speed for the whole trip
see the mockup
|
Exceptions |
|
Alternative descriptions |
|
Business rules |
|
Quality Requirements |
|
Business data |
|
Postconditions and output |
The system is in the 'Ride' state
|
|
SSA2 |
Name |
Finish a ride
|
Goal |
As a hitchiker i want to be able to tell the system that the ride is over so that the system calculates my statistics correctly.
|
Roles |
Hitchhiker
|
Preconditions and Input |
The system is in the state 'Ride'
|
Description |
- Hitchhiker executes 'Finish ride' function
- System changes the state to 'Waiting for the ride' and starts showing how much time the hitchhiker is waiting for the next ride and statistics of the whole trip:
- number of rides = number of cars
- duration of the trip
- kilometers since the beginning of the trip
- average speed for the whole trip
see the mockup
|
Exceptions |
|
Alternative descriptions |
|
Business rules |
|
Quality Requirements |
|
Business data |
|
Postconditions and output |
|
|
SSA3 |
Name |
|
Goal |
|
Roles |
|
Preconditions and Input |
|
Description |
|
Exceptions |
|
Alternative descriptions |
|
Business rules |
|
Quality Requirements |
|
Business data |
|
Postconditions and output |
|
|
SSA1 |
Name |
|
Goal |
|
Roles |
|
Preconditions and Input |
|
Description |
|
Exceptions |
|
Alternative descriptions |
|
Business rules |
|
Quality Requirements |
|
Business data |
|
Postconditions and output |
|
|
SSA1 |
Name |
|
Goal |
|
Roles |
|
Preconditions and Input |
|
Description |
|
Exceptions |
|
Alternative descriptions |
|
Business rules |
|
Quality Requirements |
|
Business data |
|
Postconditions and output |
|