I want to create a use case diagram based on customer requirements (pnline food ordering system), which are for example
How can I put these requirements on use case diagram? Could you please explain on specific example?
for 1) could it be like that: display order details < inlcude > display time left to prepare order
There are a couple of ways how to model that. The first step is always to read and understand the requirements. So putting them in some sort of order is vital. There are dedicated tools to deal with that and they may or may not be helpful (I'm talking of DOORS and the like). A more simple way is to create a profile for requirements management in UML that contains requirements elements where you can reference the customer documents and already put them in a certain structure.
Now in the next step you synthesize these requirements to use cases. That is you pinpoint the added values and make them visible. Actors and UCs shall be clearly visible.
Once you have done that you relate UC and requirement elements with realize relations (or some other stereotyped dependency depending on the profile you use). This way you have a nice traceability that connects requirements and UC for the upcoming design steps.
A more simple approach would be to just attach constraints to an elaborated UC model containing requirement text. That could be done for simple (school) projects. Though it's unlikely you find that in the industry. Either you go to war (see above) or you have just a little chit-chat with some insults.
Regarding the synthesis of UCs I recommend to read Bittner/Spence about Use Case Modeling. The best read you can find.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With