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

213 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
  • 4
  • 18
  • 26
35
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…
hal
  • 396
  • 1
  • 3
  • 9
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…
19
votes
1 answer

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…
Dont trust me
  • 199
  • 1
  • 1
  • 3
13
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…
Niklas Rosencrantz
  • 8,008
  • 17
  • 56
  • 95
11
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,817
  • 7
  • 31
  • 46
10
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…
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
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…
Blackclaws
  • 181
  • 1
  • 5
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…
Bryan Harrington
  • 2,502
  • 1
  • 19
  • 22
6
votes
3 answers

Use case diagram (UML): Should database storage be an sub use case (in this diagram)?

Application background A short description of what the application should do I'm developing an application which analyses DNA sequences. The user will load a certain file containing a DNA sequence. Then the user can click on a button to search for…
CodeEqualsLife
  • 63
  • 1
  • 1
  • 5
6
votes
2 answers

When is a Use Case layer needed?

In his blog post The Clean Architecture Uncle Bob suggests a 4-layer architecture. I understand the separation between business rules, interfaces and infrastructure, but I wonder if/when it's necessary to have separate layers for domain objects and…
Meta-Knight
  • 163
  • 1
  • 6
5
votes
1 answer

Use Cases in Clean Architecture, in Requirements Specifications from Software Engineering and Use Case Diagrams in UML

Well, I've been studying software architecture a lot, Clean Architecture in specific and I came across some multi meanings terms and "Use Case" is one of them. I'd read in some places that we don't have a defined connection with use cases from CA…
5
votes
3 answers

Non Functional Requirements and Use Case Diagrams

My software provides two functional requirements, and I represent them as Do A and Do B in the figure 1 below. At the same time, my software has a non-functional requirement to provide the interface in multiple languages. To the best of my…
User 19826
  • 213
  • 1
  • 6
1
2 3
14 15