Questions tagged [use-case]

In software and systems engineering, a use case is a list of steps, typically defining interactions between a role and a system. From Wikipedia: http://en.wikipedia.org/wiki/Use_case

In software and systems engineering, a use case is a list of steps, typically defining interactions between a role (known in Unified Modeling Language (UML) as an "actor") and a system, to achieve a goal. The actor can be a human or an external system.

In systems engineering, use cases are used at a higher level than within software engineering, often representing missions or stakeholder goals. The detailed requirements may then be captured in Systems Modeling Language (SysML) or as contractual statements.

As an important requirement technique, use cases have been widely used in modern software engineering over the last two decades. Use case driven development is a key characteristic of process models and frameworks like Unified Process (UP), Rational Unified Process (RUP), Oracle Unified Method (OUM), etc. With its iterative and evolutionary nature, use case is also a good fit for agile development.

From Wikipedia: use case

240 questions
37
votes
3 answers

When are RPC-ish approaches more appropriate than REST?

After watching this talk on REST, Reuse and Serendipity by Steve Vinoski, I wonder if there are business cases in greenfield projects for (XML-)RPC-ish setups, that REST could not solve in a better way. A few RPC-Problems he mentions: Focus on…
miku
  • 1,508
36
votes
4 answers

Clean Architecture - Too many Use Case Classes

I'm going into Clean Architecture and lift my Android level from MVC to MVP, introducing DI with Dagger 2, Reactivity with RxJava 2, and of course Java 8. In MVP clean architecture there is a layer between the entities (in datastores) and the…
25
votes
4 answers

What exactly is a business rule?

I'm trying to better organize my application architecture, so I've been doing some reading, but I keep running into references to "Business Logic" and "Business Rules". I've never really understood what these actually are. I generally just focus on…
22
votes
2 answers

How to manage and estimate unstructured requirements received from customers

A lot of the times during the bidding phase of a project I receive a software system's requirements from our potential customers in a very unstructured format from various sources [email, word documents, excel]. It is usually a bunch of "product…
20
votes
2 answers

Clean architecture - How do I deal with use case reuse?

Trying to apply Uncle Bob's clean architecture to an application I'm maintaining and I'm having difficulties with use cases and duplication/reuse. It's my understanding that usecases should be self contained and that duplication is to be expected…
15
votes
3 answers

Difference between scenario and use-case

Is a scenario a bigger picture with more details than a use-case or how much difference is there? I write a report where I prefer the word scenario but in my training we used the word use-case (in a course about OOP). I program in SMV which is not…
14
votes
3 answers

My use case diagram is a mess. What can I do?

I was asked to build a use case diagram for a case study of a charter boat company. I said that the system will implement a shift away from their use of manual forms into an online booking and payment system. There are also staff provisions for…
Ivan
  • 249
12
votes
7 answers

Which should be done first: use cases or user stories?

I've heard both about use cases (I'm talking about the description, not the diagram) and user stories being used to gather requirements and organize them better. I work alone, so I'm just trying to find the best way to organize requirements, to…
user1620696
  • 4,967
11
votes
2 answers

In Hexagonal Architecture, can a UseCase call another UseCase?

My layers are like: Controller (Http) -> Use Case -> Domain Services Imagine that I have a PurchaseController which is just getting the parameters from the Http Request and calling the PurchaseUseCase. This PurchaseUseCase is using some domain…
9
votes
3 answers

Clean Architecture: Use case spanning multiple UI elements

So I'm currently trying to write a project using Clean Architecture. Its a Unity Engine project which doesn't make the task any easier. The Issue I'm running into however is much more basic and has to do with the fact that all examples for Clean…
9
votes
3 answers

Should I create Use Cases or create Class Diagrams first?

So I'm designing an Education Management System and I'm wondering if I should be creating the Use Cases or the Class Diagrams first?
Jarred Sumner
  • 239
  • 2
  • 8
8
votes
6 answers

UML: Going from Use Case to Class Diagram

In simple steps how can one make the transition from a Use Case diagram to a Class diagram?
James P.
  • 1,223
8
votes
2 answers

Does it make sense to internationalize logs?

What are the valid use case for internationalizing logs? Especially, are there any uses that make sense for a web application. I'm working on converting the logging API used by a web application from log4j to slf4j, and noticed that the interface…
7
votes
1 answer

Is login a use-case for a user of a system?

I've been researching since my last project last semester and I haven't found a definitive answer for this question. Now I've got one more project to draw a Use-Case diagram and I'm still confused about it. In the end, can I create a Login Use-Case…
Taly
  • 81
7
votes
1 answer

Testing Data : Should I Create a bogus test case?

I've written an Integration program that produces files from a source set of data and converts it to a target data file. These files contain field/record information that must be validated by our clients using their validation methods. I plan to…
Nayrb
  • 2,514
  • 1
  • 19
  • 22
1
2 3
15 16